Hi,
It seems like multiple open AMQP 1.0 sessions also affect the possibility to close a connection with both rabbitmqadmin and rabbitmqctl.
If I try to close a connection when multiple sessions is open, I get either an error or the connection is not closed.
Observations:
When using rabbitmqadmin close connection name="the name of the connection" I get a not found message when multiple sessions is open. It works when only one AMQP 1.0 session is open.
When using rabbitmqctl close_connection with the pid listed from rabibtmqctl list_consumers, the command runs without any errors, but the connection is not closed. In the log I see "2022-09-07 07:21:16.368364+00:00 [warning] <0.24195.439> Asked to close connection <0.24074.439> (reason: <<"closing">>) but no running cluster node reported it as an active connection. Was it already closed?"
If I start 3 AMQP 1.0 sessions and then run rabbitmqctl close_all_connections "closing", one of the sessions is closed, but the other 2 is still up.
Does anyone know if there exist a workaround to close an AMQP 1.0 connection that has multiple open sessions?