Replies: 3 comments 4 replies
-
You have not provided any evidence of a bug in RabbitMQ. We cannot suggest anything without full logs. If your consumer does not acknowledge a message in the configured time period, this is how the server forcefully closes its channel. The docs explain many details but the most important thing to understand is that the timeout is a guard rail, not a way to implement timeouts for your applications. |
Beta Was this translation helpful? Give feedback.
-
Taking a traffic capture is by far the best way to see what your consumers really do, in particular, when and how they acknowledge deliveries. The problem is on your consumers' side. |
Beta Was this translation helpful? Give feedback.
-
@simakji - as @michaelklishin said, your consumers are not acknowledging messages correctly. The simplest way for us to help you is to provide code that reliably reproduces what you observe. I should be able to clone a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Hello everyone,
during our testing we have been getting a few times per hour these errors from RMQ with load of 5000 messages/min:
As you can see from the error message, we decreased timeout to 15s to see the error more often. We also got pcap by tcpdump, where we see that all consumed messages was successfully acknowledged by Basic.Ack, also there are no issue on TCP level. After we got the ERROR, TCP connection was closed in standard way.
Setup:
Client side:
Server side:
Reproduction steps
Expected behavior
Do not receive timeout on already acknowledged messages.
Additional context
We would appreciate to fix this, since after the error we have to do a new connections which slows us down.
Beta Was this translation helpful? Give feedback.
All reactions