question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support auth/requirepass on sentinels

See original GitHub issue

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 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

3reactions
manucr619commented, Feb 28, 2019

is there any update on this thread?

Is there any alternate for this to use?

2reactions
ssouriscommented, Mar 16, 2019

Apparently, after Redis 5.0.1 they now support authentication at the Sentinel, Release notes. Are there any plans to fix this?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found