Celery tries to connect to the wrong broker
import your celery and add your broker like that :
celery = Celery('task', broker='redis://127.0.0.1:6379')
celery.config_from_object(celeryconfig)
This code belongs in celery.py
If you followed First Steps with Celery tutorial, specifically:
app.config_from_object('django.conf:settings', namespace='CELERY')
then you need to prefix your settings with CELERY
, so change your BROKER_URL
to:
CELERY_BROKER_URL = 'redis://127.0.0.1:6379'