antirez / redis-rb-cluster

Redis Cluster Ruby client based on redis-rb
249 stars 106 forks source link

AttributeError: 'RedisCluster' object has no attribute 'connection' #15

Open AITutorials opened 3 years ago

AITutorials commented 3 years ago

AttributeError: 'RedisCluster' object has no attribute 'connection'

aaksarin commented 3 years ago

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")
    )