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

demandé il y a 3 mois357 vues
1 réponse
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
répondu il y a 3 mois
profile picture
EXPERT
vérifié il y a 3 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions