dmaze / docker-rabbitmq-example

A minimal Docker, RabbitMQ, Python example.
62 stars 35 forks source link

Connection errors with internal publisher and consumer #1

Open Gjacquenot opened 4 years ago

Gjacquenot commented 4 years ago

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

ShaharGotshtat commented 4 years ago

I've got the same issue

jaysoni-india commented 4 years ago

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