redis.clients.jedis.exceptions.JedisConnectionException

Could not get a resource from the pool

Samebug tips3

Redis has some limitations of various bulk length, the length of args of the API command MSET can't be bigger than 1024*1024, set a limiter on how big your list is to avoid this.


rafaelrafael

You're experiencing issue #124 in spring session: https://goo.gl/CgfzZ2. You can use the workaround described here: https://goo.gl/pnn7Cc or check the bug page mentioned for disscussion about it!


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web98

  • via GitHub by DDynamic
    ,
  • Stack trace

    • redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.clients.util.Pool.getResource(Pool.java:42)[jedis-2.5.1.jar:na] at redis.clients.jedis.JedisPool.getResource(JedisPool.java:84)[jedis-2.5.1.jar:na] at org.hibernate.cache.redis.jedis.JedisClient.run(JedisClient.java:510)[hibernate-redis-1.6.1.jar:na] at org.hibernate.cache.redis.jedis.JedisClient.expire(JedisClient.java:342)[hibernate-redis-1.6.1.jar:na] at org.hibernate.cache.redis.AbstractRedisRegionFactory$1.run(AbstractRedisRegionFactory.java:177)[hibernate-redis-1.6.1.jar:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_60] Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set at redis.clients.jedis.Protocol.processError(Protocol.java:113)[jedis-2.5.1.jar:na] at redis.clients.jedis.Protocol.process(Protocol.java:131)[jedis-2.5.1.jar:na] at redis.clients.jedis.Protocol.read(Protocol.java:200)[jedis-2.5.1.jar:na] at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:285)[jedis-2.5.1.jar:na] at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:184)[jedis-2.5.1.jar:na] at redis.clients.jedis.BinaryJedis.auth(BinaryJedis.java:2193)[jedis-2.5.1.jar:na] at redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:67)[jedis-2.5.1.jar:na] at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:819)[commons-pool2-2.0.jar:2.0] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:429)[commons-pool2-2.0.jar:2.0] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:360)[commons-pool2-2.0.jar:2.0] at redis.clients.util.Pool.getResource(Pool.java:40)[jedis-2.5.1.jar:na] ... 5 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    aldrinlealaldrinleal
    3676 times, last one
    Unknown visitor
    Unknown visitorOnce,
    29 more bugmates