redis.clients.jedis.exceptions.JedisException: Can connect to sentinel, but 127.0.0.1:26379 seems to be not monitored...

Stack Overflow | gary | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Spring XD distributed mode Redis Sentinel

    Stack Overflow | 1 year ago | gary
    redis.clients.jedis.exceptions.JedisException: Can connect to sentinel, but 127.0.0.1:26379 seems to be not monitored...
  2. 0

    JedisSentinelPool unable to detect the Redis master

    GitHub | 11 months ago | gauthamgshet
    redis.clients.jedis.exceptions.JedisException: Can connect to sentinel, but MasterServerName:6381 seems to be not monitored...

    1 unregistered visitors

    Root Cause Analysis

    1. redis.clients.jedis.exceptions.JedisException

      Can connect to sentinel, but 127.0.0.1:26379 seems to be not monitored...

      at redis.clients.jedis.JedisSentinelPool.initSentinels()
    2. Jedis
      JedisSentinelPool.<init>
      1. redis.clients.jedis.JedisSentinelPool.initSentinels(JedisSentinelPool.java:150)[jedis-2.6.2.jar:na]
      2. redis.clients.jedis.JedisSentinelPool.<init>(JedisSentinelPool.java:69)[jedis-2.6.2.jar:na]
      3. redis.clients.jedis.JedisSentinelPool.<init>(JedisSentinelPool.java:47)[jedis-2.6.2.jar:na]
      3 frames
    3. Spring Data Redis
      JedisConnectionFactory.afterPropertiesSet
      1. org.springframework.data.redis.connection.jedis.JedisConnectionFactory.createRedisSentinelPool(JedisConnectionFactory.java:215)[spring-data-redis-1.5.0.RELEASE.jar:1.5.0.RELEASE]
      2. org.springframework.data.redis.connection.jedis.JedisConnectionFactory.createPool(JedisConnectionFactory.java:202)[spring-data-redis-1.5.0.RELEASE.jar:1.5.0.RELEASE]
      3. org.springframework.data.redis.connection.jedis.JedisConnectionFactory.afterPropertiesSet(JedisConnectionFactory.java:195)[spring-data-redis-1.5.0.RELEASE.jar:1.5.0.RELEASE]
      3 frames
    4. Spring Beans
      AbstractAutowireCapableBeanFactory.initializeBean
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1633)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
      2 frames