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>

Comment From: bsergean

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

Comment From: bsergean

-a

Comment From: kdprasad1973

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.

Comment From: itamarhaber

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.