-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Configuration for cluster using ACL #1054
Comments
Yes, it is. Would you inform us of the followings?
There might be a bug. |
Curious, that was the syntax that I attempted to use.
The connection works fine with the credentials using redis-cli, but redis-rb always seems to fail at the same point. Connecting to another cluster without ACL works fine though. |
Thank you for your sharing. I've tried to check the feature with this repository on local. It seems that several permissions are needed for client user of cluster mode.
|
It seems that |
Ah, |
Basically I'm trying to move over to using ACL for clusters, but for the life of me I can't get the configuration to work. For some reason adding a username to the cluster seems to break the connection.
What I'm trying to do is the ruby equivalent to this redis-cli line
redis-cli -c -h host_ip_here --user username --pass password
, but I'm unable to reproduce that logic withredis-rb
.I've tried
Redis.new(cluster: ["redis://username:password@redis_host:6379"])
,Redis.new(cluster ["redis://redis_host:6379"], username: username, password: password)
and all other possible combinations of passing user and password in URI or as separate parameters, but nothing manages to connect.Redis.new(uri: "redis://username:password@redis_host:6379")
works fine, but only connects to one node, which is not what I want to do.Is it currently possible to connect to a cluster using ACL with
redis-rb
? I can't find any documentation or any references elsewhere.The text was updated successfully, but these errors were encountered: