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
Support auth/requirepass on sentinels #1636
Comments
is there any update on this thread? Is there any alternate for this to use? |
@marianowadel we extracted the jar and passed the sentinel password through every method. Will it be ok? @xetorthio |
Apparently, after Redis 5.0.1 they now support authentication at the Sentinel, Release notes. |
Yeah this is quite a problem - the connection pool takes all the credentials it needs to might as well supply them to the jedis client used to fetch the master node information? The underlying implementation is also private so it's impossible to extend and tweak it. 😭 |
Resolved by #1943 |
Hello, and first of all, sorry if I am wrong posting here.
I cannot seem to connect to sentinels configured with
requirepass
, as explained here.I am talking about
requirepass
set for the sentinel in sentinel.conf, not for the redis server itself (which hasrequirepass
set already). My configuration is as follows:Whenever I try to connect, I get
redis.clients.jedis.exceptions.JedisDataException: NOAUTH Authentication required
.I tried debugging the connection, and saw that no password is used in the initSentinels method.
Am I doing something wrong? Is this setup supported? If not, will it ever be?
I am using the latest stable version 2.9.0.
Many thanks in advance.
The text was updated successfully, but these errors were encountered: