{"id":925,"hash":"75e3f4ebdde67a87ca60449408877eb3f0ff62e9db0d545f6bceed8c1c7a40c5","pattern":"Celery with RabbitMQ: AttributeError: &#39;DisabledBackend&#39; object has no attribute &#39;_get_task_meta_for&#39;","full_message":"I'm running the First Steps with Celery Tutorial.\n\nWe define the following task:\n\nfrom celery import Celery\n\napp = Celery('tasks', broker='amqp://guest@localhost//')\n\n@app.task\ndef add(x, y):\n    return x + y\n\nThen call it:\n\n>>> from tasks import add\n>>> add.delay(4, 4)\n\nBut I get the following error:\n\nAttributeError: 'DisabledBackend' object has no attribute '_get_task_meta_for'\n\nI'm running both the celery worker and the rabbit-mq server. Rather strangely, celery worker reports the task as succeeding:\n\n[2014-04-22 19:12:03,608: INFO/MainProcess] Task test_celery.add[168c7d96-e41a-41c9-80f5-50b24dcaff73] succeeded in 0.000435483998444s: 19 \n\nWhy isn't this working?","ecosystem":"pypi","package_name":"celery","package_version":null,"solution":"Just keep reading tutorial. It will be explained in Keep Results chapter.\n\nTo start Celery you need to provide just broker parameter, which is required to send messages about tasks. If you want to retrieve information about state and results returned by finished tasks you need to set backend parameter. You can find full list with description in Configuration docs: CELERY_RESULT_BACKEND.","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/23215311/celery-with-rabbitmq-attributeerror-disabledbackend-object-has-no-attribute","votes":95,"created_at":"2026-04-19T04:52:02.695948+00:00","updated_at":"2026-04-19T04:52:02.695948+00:00"}