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

redis.exceptions.ConnectionError: Connection closed by server. #100

Open
pnthai88 opened this issue Sep 30, 2021 · 0 comments
Open

redis.exceptions.ConnectionError: Connection closed by server. #100

pnthai88 opened this issue Sep 30, 2021 · 0 comments

Comments

@pnthai88
Copy link

pnthai88 commented Sep 30, 2021

Hello,

I'm using python with redis / StrictRedis. The original connection with the standalone mode is ok.
But when I try to connect Redis-cluster-proxy on port 7777, I got the error
redis.exceptions.ConnectionError: Connection closed by server.

The original working command on standalone mode:
master_pool = redis.ConnectionPool( host="127.0.0.1", port=7777, db=0 )
master_redis = StrictRedis(connection_pool=master_pool)

I tried with redis-cli with simple set/get command and it's working

Any idea?
Thanks.

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

1 participant