-
Notifications
You must be signed in to change notification settings - Fork 27
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
Sporadic RedisClient::ConnectionError: Broken pipe #69
Comments
I have the same error if I use It's intermittant, not every lock check throws the error. |
Now it's happening with redlock 2.04 as well. Downgrading redlock did not fix the issue for me... |
To stop the error, I downgraded to
|
Hey there, I did encounter the same issue using rails After investigation I stumbled upon this fix that was shipped recently in Redlock 2.0.6.
Best, EDIT: Ok it turns out it reduced the number of errors but we still have intermittent Broken Pipes, I believe it is related to the discussion in this issue: redis-rb/redis-client#119 EDIT 2: It's been a few hours now that I think I've fixed it by setting
|
I just noticed a similar error on Heroku running Rails 6.1, redis-rb 4 (due to ActionCable) on Redis 7 itself in a review app testing the upgrades, will try this but it has not been super smooth sailing to update so far 🥲 |
FWIW I have not run into this since doing the full upgrade in our app (although do have |
I have not been able to reproduce this, but I'm seeing this error daily when a job gets enqueued from a model callback:
Another similar error I see is
This does not happen if I downgrade to
0.2.5
and redlock1.x
. I'm using rails7.0.8
The text was updated successfully, but these errors were encountered: