无法连接到代理错误,连接被对等方重置

问题描述 投票:0回答:1

当我把芹菜拖尾时,我得到:

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 startsudo rabbitmqctl start_app

我整天都在研究这个问题,似乎无法弄清楚。它从更新我的实例开始,在该实例中,我不得不将BROKER_URL更改为amqp://guest:**[NEW_INSTANCE_IP]:5672,此后一切正常。我对使用Rabbitmq,芹菜和主管非常陌生。任何帮助将不胜感激。谢谢。

python django rabbitmq celery django-celery
1个回答
0
投票
broker_url = 'amqp://guest:guest@localhost'
© www.soinside.com 2019 - 2024. All rights reserved.