Insufficient exchange.declare permissions during connection recovery trip up topology recovery
#736
hennevogel
started this conversation in
General
Replies: 2 comments 6 replies
-
|
Connection recovery is well covered with tests and you are the first person to report this. The code in question is very curiously structured, a method that is supposed to return an exchange runs |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
@hennevogel ahem, the very logs you have shared have a visible red flag: The |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are using Bunny 3.10 on Ruby 3.4 to publish to rabbitmq from a bunch of RoR instances. We rely on automatic recovery and observe the following:
Every time we run into a network error that triggers automatic recovery, the first recovery attempt is failing to create a channel and subsequently declare the exchange on it. Once we "just" restart our RoR threads and the connection is made fresh everything works.
It looks like somehow
Bunny::Session.recover_exchangeandBunny::Exchange.declare!behave differently somehow, but I can't for the life of me not figure out what's going on... Any idea?The setup is fairly easy. Just a PORO for publishing and a fairly limited amount of Bunny options...
Logs
Bunny Logs
RabbitMQ logs
Beta Was this translation helpful? Give feedback.
All reactions