Skip to content

UnknownChannelException in AMQConnection.MainLoop.run #189

@vikinghawk

Description

@vikinghawk

Encountered this error in my ExceptionHandler.handleUnexpectedConnectionDriverException method a couple times on version 3.6.3 with connection and topology recovery enabled.

Message: RabbitExceptionHandler: Caught unexpected connection driver exception for connection XXX
Throwable: com.rabbitmq.client.impl.UnknownChannelException: Unknown channel number 147
at com.rabbitmq.client.impl.ChannelManager.getChannel(ChannelManager.java:82)
at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:560)

Looks to me like there is possibility MainLoop is processing a frame with a channel number that doesn't exist in ChannelManager? Not sure how that is possible and I can't reliably reproduce... Could potentially handle this scenario in a better way though?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions