I am making a celery-django connection, but receiving error "consumer: Cannot connect to amqp://guest:**@127.0.0.1:5672//:"

I am trying to make a django-celery connection and running a command "celery -A busynaut worker -l info" but i am receiving a following error enter image description here

this is my celery.py

# busynaut/celery.py

import os
from celery import Celery

os.environ.setdefault(
    'DJANGO_SETTINGS_MODULE', 
    'busynaut.settings'
)

app = Celery('busynaut')

app.config_from_object('django.conf:settings', namespace='CELERY')

app.autodiscover_tasks()

this is my init.py

# busynaut/__init__.py

from .celery import app as celery_app
__all__ = ('celery_app',)
Back to Top