Unable to connect to AWS ElastiCache cluster #3018
Labels
status: feedback-reminder
We've sent a reminder that we need additional information before we can continue
status: waiting-for-feedback
We need additional information before we can continue
Bug Report
Current Behavior
I am using Spring cloudgateway and Spring data redis LettuceConnectionFactory
I have created a RedisMessageListenerContainer Bean like this below to listen to Key expiry events
My bean creation is failing because i am getting Connection related error with the AWS ElastiCache cluster using LettuceConnectionFactory.
Stacktrace below
Stack trace
additonal message
logger - io.lettuce.core.protocol.ConnectionWatchdog
Cannot reconnect to [test-cache-xxx-0001-002.test-cache-xxxx.cache.amazonaws.com/:6379]: Failed to resolve 'test-cache-xxx-0001-002.test-cache-xxxx.cache.amazonaws.com' [A(1)] and search domain query for configured domains failed as well: [ai-ml-core.svc.cluster.local, svc.cluster.local, cluster.local, ec2.internal]
And deleting the pod sometimes fixes the issue and the connection works just fine.
Environment
The text was updated successfully, but these errors were encountered: