简体   繁体   English

消费者无法连接到 amqp || Celery

[英]Consumer cannot connect to amqp || Celery

In production server, I am getting the following error in celery console which never happened before.在生产服务器中,我在 celery 控制台中收到以下错误,这是以前从未发生过的。 I found the same issue in other posts, they are saying give valid url but the url i have given in settings.py is very much valid.我在其他帖子中发现了同样的问题,他们说给出有效的 url 但我在 settings.py 中给出的 url 非常有效。

Also Rabbitmq is active. Rabbitmq 也处于活动状态。

[2020-05-13 16:47:01,945: ERROR/MainProcess] consumer: Cannot connect to amqp://admin:**@site_name:5672//: timed out.
Trying again in 16.00 seconds...

Please suggest a workaround as i am stuck with it from very long time.请提出一个解决方法,因为我很长时间以来都坚持使用它。

I have also tried celery several times我也试过几次 celery

The issue is now resolved.该问题现已解决。

Turned out that the url name resolution site_name is not getting connected in the server.原来 url 名称解析site_name未在服务器中连接。 i changed it to localhost and its working fine now.我将其更改为 localhost 并且现在可以正常工作。

Thanks谢谢

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Flask + Celery + Redis:使用者:无法连接到amqp:// guest:**@127.0.0.1:5672 //:超时 - Flask + Celery + Redis: consumer: Cannot connect to amqp://guest:**@127.0.0.1:5672//: timed out Celery:消费者:无法连接到amqp:// guest:** @ 127.0.0.1:5672 //:[Errno 92]协议不可用 - Celery: consumer: Cannot connect to amqp://guest:**@127.0.0.1:5672//: [Errno 92] Protocol not available Celery + Flask + Docker,消费者:无法连接到 amqp://admin:**@rabbit:5672/myhost: 无法解析代理主机名 - Celery + Flask + Docker, consumer: Cannot connect to amqp://admin:**@rabbit:5672/myhost: failed to resolve broker hostname Django Celery - 无法连接到 amqp://guest@127.0.0.8000:5672// - Django Celery - Cannot connect to amqp://guest@127.0.0.8000:5672// 芹菜不起作用:无法连接到amqp:// guest:** @ 127.0.0.1:5672 // - Celery not work: Cannot connect to amqp://guest:**@127.0.0.1:5672// Docker 容器中的 Celery:错误/MainProcess 消费者:无法连接到 redis - Celery in Docker container: ERROR/MainProcess consumer: Cannot connect to redis 消费者:无法连接到 amqp://guest:**@127.0.0.1:5672//:[Errno 61] 连接被拒绝 - consumer: Cannot connect to amqp://guest:**@127.0.0.1:5672//: [Errno 61] Connection refused 消费者:无法连接到 amqp://dfmngfek:**@salamander.rmq.cloudamqp.com:5672/dfmngfek: [Errno 104] 对等方重置连接 - consumer: Cannot connect to amqp://dfmngfek:**@salamander.rmq.cloudamqp.com:5672/dfmngfek: [Errno 104] Connection reset by peer Celery 无法连接到 RabbitMQ 服务器 - Celery cannot connect to RabbitMQ server 芹菜错误'没有这样的运输:amqp' - Celery Error 'No such transport: amqp'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM