redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool

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

Samebug tips

,
Expert tip

Check if you don't have a VPN or something like this messing with your connection. Also, check Jenkins DNS configurations (try to start it with "--dns 8.8.8.8".

Solutions on the web

via GitHub by kys1230
, 1 year ago
Could not get a resource from the pool
via GitHub by youwoa
, 1 year ago
Could not get a resource from the pool
via GitHub by veludurai106
, 1 year ago
Could not get a resource from the pool
via douban.com by Unknown author, 2 years ago
Could not get a resource from the pool
via zhizhihu.com by Unknown author, 2 years ago
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at redis.clients.jedis.Connection.connect(Connection.java:144)
at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:71)
at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1783)
at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:819)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:429)
at redis.clients.util.Pool.getResource(Pool.java:40)
at com.wandoulabs.jodis.RoundRobinJedisPool.getResource(RoundRobinJedisPool.java:288)
at com.luckyeve.pwd.Main.main(Main.java:44)

Users with the same issue

2 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
130 more bugmates

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