This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
"unexpected command received" message on backend #192
Open
Description
These two exception messages showed up in the production API server logs a few hours ago, though nothing seems to be actually wrong with the backend:
Apr 25 09:21:29 api.dbhub.io api[364572]: 2023/04/25 09:21:29 Exception (503) Reason: "unexpected command received"
Apr 25 09:21:29 api.dbhub.io api[364572]: 2023/04/25 09:21:29 Exception (503) Reason: "unexpected command received"
That unexpected command received
isn't a string in our source code, but instead seems to be coming from the AMQP library.
Doing some searching online shows a few other instances of the message, and it seems to mean our AMQP queuing code isn't quite right:
I'll take a look at it properly after the current Stripe task, as the explanation given in that issue doesn't seem to line up with the RabbitMQ documentation. Probably just need to understand something better, at which point it'll make sense. 😉