redis.clients.jedis.exceptions.JedisException: Could not get a resource from the pool #4045
Unanswered
SivaTharun2024
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Firstly, please provide whole stacktrace. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Secondly, are you making sure if the Jedis object received from |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am seeing the below weird error, while using the jedis client to connect to the managed redis server instance, we have setup 10 different instances of the service, where we are using jedis client to connect to the redis instance.
The issue is that, over time we have been noticing that one or more service instances, is not able to connect to the redis server and we see the below error in the app logs.
Connect error to redis server:10.xxx.xxx.x;Exception:redis.clients.jedis.exceptions.JedisException: Could not get a resource from the pool
Only after restarting the effected app instance, the issue is getting resolved. i have checked the client info on the redis server, i have noticed that there are no issue on the available connections, nor there are any blocked clients.
Attaching the configuration code , on how we are setting up the jedis client for reference.
Beta Was this translation helpful? Give feedback.
All reactions