Skip to content

A server-initiated channel.close frame can be sent together with other operations in a single TCP segment #13387

Answered by lukebakken
anton-ryzhov asked this question in Other
Discussion options

You must be logged in to vote

@anton-ryzhov yep, it's the basic.publish that causes the connection to be closed. I hacked in the info in my local dev setup:

2025-02-21 12:32:27.151750-08:00 [error] <0.667.0> Channel error on connection <0.657.0> ([::1]:58172 -> [::1]:5672, vhost: '/', user: 'guest'), channel 1:
2025-02-21 12:32:27.151750-08:00 [error] <0.667.0> operation basic.publish caused a channel exception precondition_failed: invalid expiration '-1000': {value_negative,-1000}
2025-02-21 12:32:27.197039-08:00 [error] <0.657.0> Error on AMQP connection <0.657.0> ([::1]:58172 -> [::1]:5672, vhost: '/', user: 'guest', state: running), channel 1:
2025-02-21 12:32:27.197039-08:00 [error] <0.657.0>  operation basic.pub…

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@lukebakken
Comment options

@anton-ryzhov
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

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

@anton-ryzhov
Comment options

@lukebakken
Comment options

@anton-ryzhov
Comment options

@michaelklishin
Comment options

Comment options

You must be logged in to vote
2 replies
@anton-ryzhov
Comment options

@lukebakken
Comment options

Answer selected by michaelklishin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #13387 on February 21, 2025 00:14.