You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.
The problem is that rc.pubsub() returns a PubSub object (from StrictRedis), which is not aware of the cluster node addresses. Thus on rc.subscribe() it tries to connect to a default Redis endpoint on localhost:6379, which fails with the following error:
redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.
The text was updated successfully, but these errors were encountered:
Subscribe consistently fails with ConnectionError. Example code snippet:
The problem is that
rc.pubsub()
returns aPubSub
object (fromStrictRedis
), which is not aware of the cluster node addresses. Thus onrc.subscribe()
it tries to connect to a default Redis endpoint onlocalhost:6379
, which fails with the following error:redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.
The text was updated successfully, but these errors were encountered: