Pika blocking_connection.py random timeout connecting to RabbitMQ

后端 未结 2 1762
长情又很酷
长情又很酷 2021-01-13 01:34

i have a rabbit mq running on machine

  • both client and rabbitMQ are running on the same network
  • rabbitMQ has many clients
  • i can ping client f
2条回答
  •  萌比男神i
    2021-01-13 02:25

    I had a similar issue. If everything looks fine, then you most likely have some sort of miss configuration, e.g. bad binding. If miss configured, then you'll get a timeout because the script can't reach where it thinks it needs to go, so the error can be miss leading in this case.

    For my problem, I specifically had issues with both my rabbitmq.config file and my bindings and had to use my python solution shown in: RabbitMQ creating queues and bindings from a command line over the command line example I showed. Once updated and configured properly, everything worked fine. Hopefully this gets you in the right direction.

提交回复
热议问题