Replies: 3 comments
-
Redis has a configuration |
Beta Was this translation helpful? Give feedback.
-
hi @rethab , were you able to solve this issue? i'm seeing the same thing. in my case the reconnect interval is 10 minutes because azure cache for redis is set up that way to drop idle connection after 10 minutes. any workaround or fix would help. thanks. |
Beta Was this translation helpful? Give feedback.
-
Folks, see #3441 and more specifically the solution in #2078 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
looking at the logs in our application, I see these messages:
Lettuce decides that the connection pointing to 15004 needs to be reconnected. But then it connects to 15002. One minute later, it decides to reconnect 15002 and connects to 15005.
This continues forever and I don't know what's happening. Note that in the meantime the application works fine, I only find these logs confusing :)
Please note that:
I read in anther issue that these constant reconnects could point to an infrastructure issue. Perhaps there is something, but that's another problem ;-).
My question is why does the port change? I am confident that there is no cluster topology change going on, so lettuce saying it reconnects to a different port seems odd to me.
Secondly, these messages appear in 1-minute intervals. As I said the periodic topology refresh is set to 60s, but if this was what is happening, why does it only reconnect one connection? We have five shards, so I would expect it to do the same for all five.
Beta Was this translation helpful? Give feedback.
All reactions