Closed awarrier99 closed 1 year ago
Could you please add minimal example with values hidden in self.__host
/self.__port
etc.
So that connection code was for our cloud-hosted RabbitMQ instance, and unfortunately I can't share the exact values of some of those as they are sensitive for our application. However I was able to also get the same issue running a local RabbitMQ server, version 3.11.15. Here is the connection code for that, with the variable values filled in:
connection = await connect_robust(host='localhost',
port='5672',
login='guest',
password='guest',
reconnect_interval=10,
loop=<asyncio event loop>)
it looks like reconnect_interval
expects to get a str
, because it is parsed using parse_timeout
.
@brianmedigate thanks for figuring that out and @mosquito thanks for the quick fix! Tested with version 9.0.7 and everything is working again
We have a project that installs the
aio_pika
package and has been working fine through version 9.0.5. When version 9.0.6 was released, with no code changes on our end, we started receiving an error trying to make use of theconnect_robust
method:Here is the relevant connection code:
For now we have pinned to the previous version, but please let me know if there was a breaking change that might have affected this functionality. Thanks for your hard work, this package has been extremely useful for us!