I am trying to connect with Redis using the following Jedis client code.
jedisPool = new JedisSentinelPool(redisProperties.getSentinel().getMaster(), redisProperties.getSentinel().getNodes(), poolConfig, 2000, 2000, redisProperties.getPassword(),0, null, 2000, 2000, redisProperties.getSentinel().getPassword(), null);
Hoever, I am getting the following connections
Exception Occured Exception Message --> NOAUTH Authentication required.
I also tried providing the password in auth(), as other replies to a similar question have recommended.
jedisPool.getResource().auth(redisProperties.getSentinel().getPassword());
I tried almost all of JedisSentinelPool
overloads but non of them seems working. I am using 4.4.3 version fo Jedis client. Upgrading or downgrading to a different version also did not help.