Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error connecting to Citus master #257

Open
aliyildizoz opened this issue Aug 11, 2021 · 1 comment
Open

Error connecting to Citus master #257

aliyildizoz opened this issue Aug 11, 2021 · 1 comment

Comments

@aliyildizoz
Copy link

image

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.

@anandsowm
Copy link

I faced same issue with latest 10.2 docker image on windows and also had a local postgresql13 running as a windows service, I stopped that service, and then was able to connect to the postgresql docker instance using psql from the command prompt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants