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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by anandsaha87
, 10 months ago
Could not return the resource to the pool at `redis.clients.util.Pool.returnBrokenResourceObject(Pool.java:103)`
java.lang.IllegalStateException: Invalidated object not currently part of this pool
at redis.clients.util.Pool.returnBrokenResourceObject(Pool.java:101)
at redis.clients.jedis.JedisPool.returnBrokenResource(JedisPool.java:112)
at redis.clients.jedis.JedisPool.returnBrokenResource(JedisPool.java:12)
at redis.clients.jedis.Jedis.close(Jedis.java:3355)
at redis.clients.jedis.JedisClusterCommand.releaseConnection(JedisClusterCommand.java:160)
at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:154)
at redis.clients.jedis.JedisClusterCommand.run(JedisClusterCommand.java:30)
at redis.clients.jedis.JedisCluster.pttl(JedisCluster.java:212)
at com.platform.utils.redis.RedisUtils.pttl(RedisUtils.java:161)

Users with the same issue

Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.