redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool at `redis.clients.util.Pool.returnBrokenResourceObject(Pool.java:103)`

GitHub | anandsaha87 | 3 weeks ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    GitHub comment 1466#278866564

    GitHub | 3 weeks ago | anandsaha87
    redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool at `redis.clients.util.Pool.returnBrokenResourceObject(Pool.java:103)`
  2. 0

    GitHub comment 882#159889297

    GitHub | 1 year ago | henry20100102
    redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  3. 0

    JedisCluster leaks connections

    GitHub | 1 year ago | serge-groshev
    redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Try replacing the Bind Ip in the redis.conf file from 127.0.0.1 to the actual machine IP.
    via GitHub by Pratap6
  6. 0

    JedisCluster bad performance & throw JedisClusterMaxRedirectionsException: Too many Cluster redirections?

    GitHub | 3 years ago | lipiji
    redis.clients.jedis.exceptions.JedisClusterMaxRedirectionsException: Too many Cluster redirections?

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Invalidated object not currently part of this pool

      at org.apache.commons.pool2.impl.GenericObjectPool.invalidateObject()
    2. Apache Commons Pool
      GenericObjectPool.invalidateObject
      1. org.apache.commons.pool2.impl.GenericObjectPool.invalidateObject(GenericObjectPool.java:640)
      1 frame
    3. Jedis
      JedisCluster.pttl
      1. redis.clients.util.Pool.returnBrokenResourceObject(Pool.java:101)
      2. redis.clients.jedis.JedisPool.returnBrokenResource(JedisPool.java:112)
      3. redis.clients.jedis.JedisPool.returnBrokenResource(JedisPool.java:12)
      4. redis.clients.jedis.Jedis.close(Jedis.java:3355)
      5. redis.clients.jedis.JedisClusterCommand.releaseConnection(JedisClusterCommand.java:160)
      6. redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:154)
      7. redis.clients.jedis.JedisClusterCommand.run(JedisClusterCommand.java:30)
      8. redis.clients.jedis.JedisCluster.pttl(JedisCluster.java:212)
      8 frames
    4. com.platform.utils
      RedisUtils.pttl
      1. com.platform.utils.redis.RedisUtils.pttl(RedisUtils.java:161)
      1 frame