-
Notifications
You must be signed in to change notification settings - Fork 303
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
Implement network failure detection #74
Comments
Carl, Your understanding is correct: this suggests a TCP connection failure which Bunny 0.9 does not detect yet. This is the next big thing I am going to work on. |
Using heartbeats should help. Can you be using load balancers/proxies by any chance? Those may be closing connections they consider idle. Bunny 0.9 should set |
do you want me to test with a LB or are you asking if i used one when i got this error? yes and no.. |
Some observations on a long-running Bunny/RabbitMQ connection in irb that you may be interested in -
|
Similar thing happens when a connection is forcefully closed:
|
I agree with that we probably should allow setting heartbeats to 0. I will look into that tomorrow. And we should make |
Done, |
If i let a bunny connection sitting idle in an irb session it will eventually start throwing this endlessly:
Server is RabbitMQ 3.0.0, so maybe something with the heartbeat/connection timeout?
The text was updated successfully, but these errors were encountered: