redis-rb-cluster
redis-rb-cluster copied to clipboard
AttributeError: 'RedisCluster' object has no attribute 'connection'
AttributeError: 'RedisCluster' object has no attribute 'connection'
I think this error from python redis-py-cluster package. Solved it by specifying password
rc = RedisCluster(
startup_nodes=env.json("REDIS_CLUSTER_NODES"),
decode_responses=True,
password=env("REDIS_CLUSTER_PASSWORD")
)