iron-io / issues

For Iron.io services issue tracking. Public facing issue tracking for behind the scenes issues.
5 stars 0 forks source link

Unable to use IronMQ in project, yet works in testing project #69

Open SecurityForUs opened 11 years ago

SecurityForUs commented 11 years ago
from celery import Celery
import iron_celery

BROKER_URL = 'ironmq://<proj id>:<token>@'

celery = Celery("srvup", include=['srvup.tasks'])

celery.conf.update(
        BROKER_URL=BROKER_URL,
)

Above is the code I use in my project (lots of it snipped as its not relevant. This gives the following traceback: https://gist.github.com/anonymous/238d1787173737f8b428

I also tried setting BROKER_URL to just "ironmq://" and put iron.json in ~, and get this along with the previous traceback: https://gist.github.com/anonymous/c143a70d22aaa7e36326

However, the same info works when used in a basic Celery project (i.e.: http://docs.celeryproject.org/en/latest/getting-started/first-steps-with-celery.html#application).