我有我的芹菜配置芹菜嘗試連接到錯誤的經紀人
BROKER_URL = 'redis://127.0.0.1:6379'
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379'
然而,每當我運行celeryd,我得到這個錯誤
consumer: Cannot connect to amqp://[email protected]:5672//: [Errno 111] Connection refused. Trying again in 2.00 seconds...
爲什麼沒有連接到Redis的經紀人我設置它,這是順便運行?
看起來像芹菜c annot找到你的配置並使用默認值。你把你的'celeryconfig.py'文件放在哪裏?它必須在你的python路徑中([docs](http://docs.celeryproject.org/en/latest/configuration.html#configuration-and-defaults))。 – alecxe 2013-04-24 07:06:05