-
Notifications
You must be signed in to change notification settings - Fork 1.9k
"Invalid protocol" when trying to connect to Elasticache Redis in Node.js #2201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
this should fix it const pubClient = createClient({ url: 'redis://blablabla.mccjet.ng.0001.euc1.cache.amazonaws.com:6379' }); |
Thanks! Now I'm getting a |
Have you tried connecting using |
i tried with that too and got even whitelisted my IP in inbound rules of security group |
However I managed to connect to it from an AWS EC2 using EC2 Instance Connect. |
I guess this is how it behaves and I cannot access elasticache from a local machine without SSH. Anyway it works fine inside the cloud. |
solved my problem, thanks |
Hello
I'm trying to connect an ElastiCache Redis to an Express server deployed on ECS.
I get the Primary Endpoint from ElastiCache as
blablabla.mccjet.ng.0001.euc1.cache.amazonaws.com:6379
In my server I try to connect like this
But when I check the ECS logs I see
Any help on what I might be missing
Thanks
The text was updated successfully, but these errors were encountered: