docker-rabbitmq-example icon indicating copy to clipboard operation
docker-rabbitmq-example copied to clipboard

Connection errors with internal publisher and consumer

Open Gjacquenot opened this issue 5 years ago • 2 comments

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

Gjacquenot avatar Jan 08 '20 14:01 Gjacquenot

I've got the same issue

ShaharGotshtat avatar Jan 10 '20 11:01 ShaharGotshtat

you can try https://github.com/bitnami/bitnami-docker-rabbitmq

jaysoni-india avatar Jul 23 '20 12:07 jaysoni-india