Closed tarhann closed 5 years ago
This comes a bit late, but the error states that the defined exchange is unknown. Unfortunately this reply does not bubble up and rabbitpy quits with this (not helpful) AMQPNotFound Exception.
nod that is the exception as defined in the protocol and any correlation would be haphazard at best to figure out why RabbitMQ is returning that, given how the protocol works.
Going to close this, but the AMQP NotFoundException is straight out of the protocol and the response from RabbitMQ. I guess I could create a bunch of new exceptions inspecting the not found exception for what was not found, but that seems like a fair amount of extra code with little value.
Hey,
I got Python 3.5.2 here, on a ubuntu 16.04 and a rabbitpy of version 1.0.0. When executing exactly the code from the example in "Mandatory Publishing" http://rabbitpy.readthedocs.io/en/latest/examples/publisher_confirms.html I got that error:
I tried this example, because in the app I am building, publishing also doesn't work. As you can see, the broker is up and running, also the connection gets established nicely. But when it comes to find the proper exchange, a 404 is returned. I tried another URL without the trailing / for the vhost, resp. omitted the exchange, but neither worked out.
This is how I open a connection:
After that the channels/ connection are closed. I am sure, I am missing something and really could use a nudge in the right direction.
Thanks in advance :-)