redis icon indicating copy to clipboard operation
redis copied to clipboard

Connection stops responding

Open 6ixfalls opened this issue 2 years ago • 3 comments

For some reason, my Redis connections randomly stop responding, even though redis.isConnected and redis.isClosed return true and false, indicating that the connection is still open. When running any commands though, such as await pipeline.flush(), the promise doesn't resolve and the command isn't executed. Running CLIENT LIST on the Redis server when the connection begins to stop responding to any requests still shows the client connected, though, after a while, the client also is removed from the CLIENT LIST output. Is this an issue on my end?

6ixfalls avatar Jun 22 '22 05:06 6ixfalls

I also observed a similar issue with 0.30.0. @6ixfalls curious if you had any workarounds for this?

laktek avatar Aug 19 '23 05:08 laktek

I did not have any workarounds, the project I was using this on was scrapped so I haven't checked since this issue.

6ixfalls avatar Aug 19 '23 07:08 6ixfalls

Two connections doesn't work, the'll hang as soon as there's a broken pipe since it cannot re-connect.

tmikaeld avatar Aug 26 '23 06:08 tmikaeld