Server Administration

ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@127.0.0.1:5672//: [Errno 111] Connection refused.Trying again in 32.00 seconds… (16/100)

While using redis as a broker ,celery and django for a background service this error came up.

This error was cause by the configuration variable in Django settings file.

CELERY_BROKER_URL="redis://"

As at celery 4.x.x this variable changed to

BROKER_URL="redis://

celery,django,redis issue

Leave a Reply

Your email address will not be published. Required fields are marked *