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 Cluster giving authentication error #7342

Open
kdprasad1973 opened this issue May 29, 2020 · 4 comments
Open

Redis Cluster giving authentication error #7342

kdprasad1973 opened this issue May 29, 2020 · 4 comments

Comments

@kdprasad1973
Copy link

I had set up Redis cluster with 3 master and 3 slaves and I kept same password to all. When i tried to store a value with password, it is redirecting to another server in the cluster and giving authentication error. Can any one help to resolve this issue.

x.x.x.11: 7301> AUTH
Ok
x.x.x.11: 7301> set y 25
redirecting to x.x.x.12: 7301 authentication error

x.x.x.12: 7301>
x.x.x.12: 7301>

@bsergean
Copy link
Contributor

bsergean commented Jun 3, 2020

Try to use redis-cli -c -a on the command line. This way the password will be used to connect to the redirected node.

@bsergean
Copy link
Contributor

bsergean commented Jun 3, 2020

-a

@kdprasad1973
Copy link
Author

Hey, Thank you for the guidance, My query is that when I try to connect redis through my application, I will give authentication password. But Redis redirecting to another node in the cluster and asking for authentication password for the redirected node. Can you guide on this please.

@itamarhaber
Copy link
Member

Hello @kdprasad1973

This sounds like an issue with the Redis client that your application is using. I think you should post your issue in that client's respective repository for assistance.

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

3 participants