Not Able to connect Redis serverless Endpoint in ec2 ubuntu in same VPC

0

I have created a redis serverless cache , Now i want to connect with the ec2 instance. Both are in a same VPC.

the connection is got Successfully connected , but when i send the ping to the Endpoint it's send me this error.

Error: Server closed the connection (5.01s)

Can Anyone Help me to resolve the Issue.You can see in the image

preguntada hace 3 meses360 visualizaciones
1 Respuesta
0

Hello,

It looks like you are connecting to the cache without using TLS. ElastiCache Serverless always has encryption in transit enabled and you must use TLS to connect. Please use the following redis-cli command:

redis-cli -h test-redis-fefpqv.serverless.aps1.cache.amazonaws.com --p 6379 --tls

For additional troubleshooting steps, please see: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/wwe-troubleshooting.html.

Thanks, Abhay

AWS
respondido hace 3 meses
profile picture
EXPERTO
revisado hace 3 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas