Support auth/requirepass on sentinels
See original GitHub issueHello, 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 has requirepass
set already). My configuration is as follows:
RedisSentinelConfiguration sentinelConfiguration = new RedisSentinelConfiguration();
sentinelConfiguration.setSentinels(this.redisNodes);
sentinelConfiguration.setMaster(this.masterName);
sentinelConfiguration.setPassword(RedisPassword.of(password));
JedisClientConfiguration clientConfiguration = JedisClientConfiguration.builder().connectTimeout(Duration.ofSeconds(this.timeout)).readTimeout(Duration.ofSeconds(this.timeout)).usePooling().build();
JedisConnectionFactory factory = new JedisConnectionFactory(sentinelConfiguration, clientConfiguration);
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.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Contact - SENTINELS
For merch related inquiries, please email: hello@fanjoy.co with your order # and name in the subject line. Fanjoy hours of customer service operation:...
Read more >Sentinels - Liquipedia VALORANT Wiki
Sentinels is an American esports organization based in Los Angeles which fields teams in Fortnite, Hearthstone, Apex Legends, Wild Rift, Halo and VALORANT....
Read more >League of Legends - Sentinels of Light 2021
The Sentinels are launching their final campaign against the Black Mist, and they're going to need all the help they can get—that includes...
Read more >Tarik criticizes Sentinels' management for lack of Valorant coach
Tarik thinks Sentinels players need more support from the organization. Tarik slams Sentinels for having no coach Screenshot by Koh Wanzi/ONE ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
is there any update on this thread?
Is there any alternate for this to use?
Apparently, after Redis 5.0.1 they now support authentication at the Sentinel, Release notes. Are there any plans to fix this?