-
-
Notifications
You must be signed in to change notification settings - Fork 597
TimeoutError AsyncRedisManager with redis+sentinel #1457
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
@bl4ckwind Are you 100% sure your the test that you claim works is equivalent to what is done inside the Socket.IO server? The code that you shared at the bottom of your message configures the Redis Sentinel and stops there, without creating or using a As far as I can see the connection arguments in your example are almost identical to the arguments that are sent by the Socket.IO server, so to me it looks like at least one of your Redis nodes (the one you have running on h2.net) is timing out. |
This works just fine This edit in the
But i missed an important detail. Only when i connect with my test client, the timeout occurs AFTER the client disconnect.
Client:
Server with printed message from
|
Describe the bug
When trying to use a AsyncRedisManager with a Redis Sentinel config a TimeoutError occurs
To Reproduce
uvicorn test:app --host 0.0.0.0 --port 5000 Fails after the 5 seconds with:
With added trace:
The redis sentinel connection in isolation works:
The text was updated successfully, but these errors were encountered: