Reconnecting to Redis instance indefinitely #1594
Unanswered
ahmetgeymen
asked this question in
Q&A
Replies: 2 comments
-
Auto-reconnect is intended to happen indefinitely if the remote peer drops the connection or the connection is disconnected otherwise without intentionally closing ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I try to deploy a spring boot service trying to connect GCP Memorystore redis instance through GKE cluster (VPC native). Despite using without any issue on my local machine with docker-compose, after deploying over GCP, I encountered with the following issue. I also logged with DEBUG level for io.lettuce.core. The whole log is added at the end.
At first, it tries to connect Redis and succeeds. After that the connection is closed due to inactivity but immediately it tries to reconnect again. This cause endless logs like
I tried to use both pooling or regular lettuce client config but couldn't overcome this situation. For anyone with any clue or guess I appreciate a lot.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions