create_sentinel cannot connect to any sentinel #691
Comments
I'm having the same issue here. Connecting with redis-cli works fine but not with aioredis. |
Did you configure sentinel to require a password for authentication? |
No. At the moment the database can be accessed without authentication. After 5 months, the problem is still there. |
I could fix this by disabling the password on the Sentinel itself. It seems that there's some issue when both the sentinel and Redis have a password. |
I just tried to play randomly with
It doesn't work, I still get the However, if I replace the
(note that If I try with numbers higher than 5, the chances to work are also higher. What is actually happening? This looks very strange! |
I've seen the same error on network connections with higher latency to the Redis server(s). For me, errors went away if I increased the The default |
Hello! As I said before, I'm not using any passwords and I still have this issue. |
Hey and sorry for the delay. Indeed, I installed aioredis from the master branch and for the first time I saw in my logs the success message. As someone posted in the original PR, there are a lot of breaking changes, but in my case I only had to change the sentinel initialization. Guess I'll wait for a release 😄 Thank you! |
I think this was more about v1.3.1, so I'll close this. Also the master branch version from 29 days ago (I believe) is from the redis-py port, so we gtg. |
Hello!
I have the following piece of code:
It perfectly works in a jupyter notebook, but it doesn't work inside a container.
If I do
redis-cli -h ti-redis-sentinel -p 26379
and then runsentinel get-master-addr-by-name redis
I do receive some entries.What could be the cause of the error?
The text was updated successfully, but these errors were encountered: