Consumer runs into an error: The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=406, text='PRECONDITION_FAILED - delivery acknowledgement on channel 2 timed out. Timeout value used: 3600000 ms #12864
-
Describe the bugI'm receved this error "Already closed: The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=406, text='PRECONDITION_FAILED - delivery acknowledgement on channel 2 timed out. Timeout value used: 3600000 ms" Reproduction steps
} Expected behaviorWhat should I do for resolved this error? Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It is a bug in your code - you are not acknowledging messages in some situations apparently. GH issues for RabbitMQ is not the right place for ask for help debugging your code. If you want help from the community, create a minimal, executable, self-contained application that exhibits this behaviour, put it on github and ask on stack overflow for example. Lastly, there is no such thing as "rabbit 7". The latest version is 4.0. |
Beta Was this translation helpful? Give feedback.
-
@EmanueleBaron you are looking at a Delivery acknowledgement timeout. The number of messages to process is unlikely to be relevant, although a high load on a consumer can be a contributing factor when the timeout is overridden to a low value (say, a minute). The default is 30 minutes so as @mkuratczyk has already explained, your application does not acknowledge deliveries for one reason or another. This is not a bug in RabbitMQ. |
Beta Was this translation helpful? Give feedback.
@EmanueleBaron you are looking at a Delivery acknowledgement timeout. The number of messages to process is unlikely to be relevant, although a high load on a consumer can be a contributing factor when the timeout is overridden to a low value (say, a minute).
The default is 30 minutes so as @mkuratczyk has already explained, your application does not acknowledge deliveries for one reason or another. This is not a bug in RabbitMQ.