当我把芹菜拖尾时,我得到:
consumer: Cannot connect to amqp://guest:**@[NEW_INSTANCE_IP]:5672//: [Errno 104] Connection reset by peer.
Trying again in 32.00 seconds...
当我尾巴开花时,我得到:
[DEBUG 2020-01-13 22:31:39,900] events.py [:133] on_enable_events: Failed to enable events: '[Errno 104] Connection reset by peer'
我都尝试过sudo invoke-rc.d rabbitmq-server start
和sudo rabbitmqctl start_app
我整天都在研究这个问题,似乎无法弄清楚。它从更新我的实例开始,在该实例中,我不得不将BROKER_URL
更改为amqp://guest:**[NEW_INSTANCE_IP]:5672
,此后一切正常。我对使用Rabbitmq,芹菜和主管非常陌生。任何帮助将不胜感激。谢谢。
broker_url = 'amqp://guest:guest@localhost'