问题描述:直接通过redis-cli能连上哨兵,但是在Java应用中显示连接哨兵失败
redis.clients.jedis.exceptions.JedisConnectionException: All sentinels down, cannot determine where is redis-master master is running…
解决方法:由于sentinel设置密码,实际上是由于Java连接sentinel失败了,把sentinel的密码校验去掉解决
问题描述:直接通过redis-cli能连上哨兵,但是在Java应用中显示连接哨兵失败
redis.clients.jedis.exceptions.JedisConnectionException: All sentinels down, cannot determine where is redis-master master is running…
解决方法:由于sentinel设置密码,实际上是由于Java连接sentinel失败了,把sentinel的密码校验去掉解决