Skip to content
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

ClusterConnectionNotFound when portfowarding into AWS #378

Open
maujour opened this issue Jan 18, 2025 · 2 comments
Open

ClusterConnectionNotFound when portfowarding into AWS #378

maujour opened this issue Jan 18, 2025 · 2 comments
Labels
A-redis Area: Redis / deadpool-redis question Further information is requested

Comments

@maujour
Copy link

maujour commented Jan 18, 2025

I'm using SSM to portfoward to the cluster configuration endpoint and then setting localhost locally. redis-cli works fine with redis-cli -c -h localhost -p 6379 but with deadpool-redis I get No connections found for multi-node operation- ClusterConnectionNotFound

Any ideas?

@bikeshedder bikeshedder added A-redis Area: Redis / deadpool-redis question Further information is requested labels Jan 19, 2025
@bikeshedder
Copy link
Owner

Just an educated guess: localhost sometimes means the use of a unix domain socket such as /tmp/redis. Could you give 127.0.0.1 (IPv4) or ::1 (IPv6) as host a try?

Otherwise I don't see why redis-cli can connect to the redis database but deadpool-redis can't. 🤔

@maujour
Copy link
Author

maujour commented Jan 20, 2025

Well, it works when deployed in AWS, where it points directly to the cfg endpoint instead of localhost.
I tried a NodeJS package and got same behavior as deadpool-redis. What tricks me is the cli working with localhost and these libraries not.

I would be much appreciated if someone has any clue what I'm doing wrong. Thanks!

Some extra info:
I'm using a bastionhost with SSM.
My cluster is in compatible mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-redis Area: Redis / deadpool-redis question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants