AWS ElastiCache failover causes "Connection is closed" exception to bubble up to the application #3003
Unanswered
GFriedrich
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Hey @GFriedrich , could you check the comments in #2530 ? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I've recently tried the ElastiCache failover on AWS and was expecting to see that all reconnections are handled internally in Lettuce.
Unfortunately I found though, that a "Connection is closed" exception was bubbling up to the application layer.
Is there anything I'm doing wrong here? Or is this expected or even a bug?
Looking at the stacktrace it seems there is already a retry happening but this fails because the connection is closed. So I'm wondering if I'm missing any essential configuration or something.
Any help is very much appreciated.
I'm using Lettuce 6.3.2 and this is wrapped by Spring Data Redis 3.2.7
The application is configured via the following to use the enabled cluster setup in AWS:
And the client options are also configured with:
The exception I'm getting still looks like:
Beta Was this translation helpful? Give feedback.
All reactions