-
Notifications
You must be signed in to change notification settings - Fork 102
Sender and Receiver ampq:decode-error ... #187
Description
I have two components that use Amazon MQ as their common AMQP provider. Both components are in separate Linux CentOS EC2 instances (however, I was able to reproduce this issue once using Apache ActiveMQ and all components on a my local CentOS VM, i.e. no Amazon MQ).
One component is written in .NET Core using the amqpnetlite client library. The other component is written in Go using vcabbage/amqp (latest). The interaction between these components is done via AMQP queues. Each component listens to their own receiver queue for messages sent by the other component.
Both components work as expected, but after some seemingly random amount of time (for example 11 minutes in my latest test), the Go component will begin logging both receive and send errors. Once this has happened in the Go component, the Go component must be restarted. This error has not happened at all on the .net core component.
The errors I'm seeing look like this (for example on the sending side):
error sending message to:client-base-0, error: *Error{Condition: amqp:decode-error, Description: Could not decode AMQP frame: hex: 0000016a02000000005314d000000013000000045201522fa008000000000000000043005373d00000003e0000000ca12466303961313362612d333031662d343531612d383831642d6364636265393331616163394040a1076f6e652d77617940a100404040404043005375a0fc7b226f223a302c226d223a22636f6e74657874222c2274223a22636f6e74726f6c222c2270223a7b22706d223a2231222c227063223a2231222c227275223a2231222c227365727665725f76657273696f6e223a2239392e302e302e31353733303635303234227d2c227263223a22626173652d30222c22736964223a2272632d736572766572403137322e33312e33362e313736222c2269223a2266303961313362612d333031662d343531612d383831642d636463626539333161616339222c226f736964223a22222c22636964223a22222c227274223a226f6e652d776179222c22726b223a22222c226f77223a747275652c2276223a327d, Info: map[]}
The hex digits digits appear to be identical in every error.
This issue is causing an impediment to a very high priority project, so I would appreciate any assistance. I'm happy to post code etc. if that will help.