Skip to content

How to debug channel close on NACKS RECEIVED #1466

Answered by acogoluegnes
bennyboer asked this question in Q&A
Discussion options

You must be logged in to vote

The client code (application or Spring AMQP) uses Channel#waitForConfirmsOrDie(long), when the timeout is reached the library closes the channel and throws this exception. The timeout may be too short or there may be something up on the server side that makes publish confirms cannot be sent to the client.

You may increase the timeout if it is really low (e.g. less than 1 second, but that may depend on the context) or find any relevant information on the server.

The application could also retry publishing unconfirmed messages.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@michaelklishin
Comment options

@bennyboer
Comment options

@michaelklishin
Comment options

Answer selected by acogoluegnes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants