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
client unexpectedly closed TCP connection #58
Comments
Hi! This happened to me when there was a load balancer between the clients and the broker with idle timeout lower than heartbeat. Even if there is no LB, I guess this happens because of setting |
@jakubkulhan there is no load balancer and my heartbeat timeout is 60 seconds |
Do you use sync, or async client? For sync client you have to call |
I use async client and do as you told |
I don't see a reason why this happens. If it happens only after days of the consumer running, try checking if there are no memory leaks (cycles) that could cause long GC pauses. |
@jakubkulhan I see in rabbitmq logs that 0.5 second after connection is established . connection closed with |
@jakubkulhan Do you know why the connection is closed after less that a seconds? |
Duplicated in #59 |
@sm2017 did you manage to solve the problem with client unexpectedly closed TCP connection? |
@iskripka it's for years ago, I don't remember |
In rabbitmq logs I see too many
client unexpectedly closed TCP connection
The text was updated successfully, but these errors were encountered: