You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform: Windows 11 Description: redis.asyncio.connection.Connection(), the class provides a can_read method, which is used, for example, in Client.parse_response.
However, unlike Connection.read_response() there is no error handling present to turn any OSErrors into asyncio.ConnectionError.
And so, the OSError bubbles up and causes problems, where we expect only asyncio.ConnectionError to occur.
This plays havoc with retry-mechanisms and automatic reconnect.
The issue is evident when the connection to the redis server is interrupted during a blocking call to pubsub.run() where a get_message call is made with a positive timeout.