Skip to content
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

Redis ClusterClient doesn't work with non default user #595

Closed
gildaf opened this issue Apr 13, 2022 · 1 comment
Closed

Redis ClusterClient doesn't work with non default user #595

gildaf opened this issue Apr 13, 2022 · 1 comment

Comments

@gildaf
Copy link
Contributor

gildaf commented Apr 13, 2022

(release 0.21.5)
The cluster client will fail to execute commands if the user is not "default" .

Reproduce:
setup a redis cluster and add an acl file to all nodes (helper script).
now connect to one node and execute a command

let client = redis::cluster::ClusterClient::open(vec!["redis://gil:somepass@localhost:5001"]).unwrap();
let mut connection = client.get_connection().unwrap();
let res: RedisResult<()> = connection.set("x", "3");

The set command will fail with Password authentication failed Error.

@jaymell
Copy link
Contributor

jaymell commented May 14, 2022

Fixed by #596

@jaymell jaymell closed this as completed May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants