citusdata / citusdata/docker

Error connecting to Citus master

Open
#257 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
273
Forks
102
Avg merge
5d 20h
Merged PRs (30d)
2

Description

![image](https://user-images.githubusercontent.com/40477291/128994868-860e97e9-c593-4ec5-afaa-e0ff2eb444b7.png)

Hi, I am getting the following error when trying to connect to citus master with psql commands.

```
psql -h localhost -U postgres -p 5500
psql: error: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
```

But I am able to connect without error with the following command.

```
docker exec -it citus_master psql -U postgres
psql (13.2 (Debian 13.2-1.pgdg100+1))
Type "help" for help.

postgres=#
```
I need to connect to citus with psql commands as it needs to be connected via Node Js application.
Or is there another way to do this?
Thank you.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.