RedisLabs / redis-cluster-proxy

A proxy for Redis clusters.
GNU Affero General Public License v3.0
990 stars 129 forks source link

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

Open pnthai88 opened 2 years ago

pnthai88 commented 2 years ago

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.