-
Notifications
You must be signed in to change notification settings - Fork 2.6k
asyncio RedisCluster is not working for Amazon Elasticache #2233
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
Looks like you're using SSL, which is currently broken in async cluster. I've already raised a PR. Fixed by: #2217 |
I faced the same problem on my on-premise Redis cluster with password auth:
Version: Python 3.9.11 |
Can you share the command you're using to create RedisCluster? Can you also try with the changes in #2217 & share the full traceback? |
Here's the commands. I tried them with changes in #2217
Traceback:
|
Thanks! I've updated the PR, should be fixed now. |
worked for me, Thank you! I'm looking forward to new release :) |
@utkarshgupta137 It would be better if there is support for rediss:// schema as well as ssl parameter. |
|
Thank you for the comment. |
Updated the PR with a fix. |
fixed in #2217 |
@dvora-h Hello |
This is included in version 4.4.0rc1 |
Version:
Redis-py
redis==4.3.3 (hiredis==2.0.0)
Redis 6.0.5 on Amazon Elasticache
Platform:
Python 3.9.11 on Debian GNU/Linux 11 (bullseye)
Description:
asyncio RedisCluster client is hanging when trying to be connected to Redis Cluster hosted on Amazon Elasticache. No exception raised, it's just freezing on
initialize()
forever. At the same time, using blocking RedisCluster for the same cluster with the same parameters is working fine. Single-node asyncio Redis client is also working when connecting directly to a cluster node.A small snippet of how to reproduce:
The text was updated successfully, but these errors were encountered: