docker-rabbitmq-example
docker-rabbitmq-example copied to clipboard
Connection errors with internal publisher and consumer
I have tried to use your well detailed example with docker-compose up
, however I have connection timeout errors, that stops this demo.
Error is here:
pika.exceptions.ConnectionWrongStateError: Illegal close(320, "Timeout while
setting up AMQP to 'rabbitmq'/(2, 1, 6, 'rabbitmq', ('172.18.0.3', 5672));
ssl=False") request on <SelectConnection CLOSED transport=None
params=<URLParameters host=rabbitmq port=5672 virtual_host=/ ssl=False>>
because it was called while connection state=CLOSED.
The whole log can be seen here thanks to travis-ci.
Any help appreciated...
BTW: When I declare publisher and consumer outside docker-compose (with localhost URL), it works
I've got the same issue
you can try https://github.com/bitnami/bitnami-docker-rabbitmq