Bun Redis client drops connection after a few days (ERR_REDIS_CONNECTION_CLOSED) #22124
sacsbrainz
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After switching from
ioredisto Bun’s Redis client, everything works fine initially, but after about 5 days requests start failing. The error we see is:I tested the Redis instance itself and it’s fine. Restarting our backend fixes it, but I’m hoping we won’t need to keep doing that.
Here’s how we’re consuming Redis:
Could it be that Redis restarted/dropped the connection at some point, and the client doesn’t handle reconnection properly?
Beta Was this translation helpful? Give feedback.
All reactions