Note that there are some explanatory texts on larger screens.

plurals
  1. POCelerybeat with Mongo Connection Error
    primarykey
    data
    text
    <p>I'm trying to set up a celery task queue with celerybeat for periodic updates on a database. My celeryd service seems to working perfectly but celerybeat keeps giving me a <code>Connection error: [Errno 111]</code>:</p> <pre><code>[2012-09-10 09:40:18,954: INFO/MainProcess] Celerybeat: Starting... [2012-09-10 09:40:19,001: ERROR/MainProcess] Celerybeat: Connection error: [Errno 111] Connection refused. Trying again in 2.0 seconds... [2012-09-10 09:40:22,004: ERROR/MainProcess] Celerybeat: Connection error: [Errno 111] Connection refused. Trying again in 4.0 seconds... [2012-09-10 09:40:32,012: ERROR/MainProcess] Celerybeat: Connection error: [Errno 111] Connection refused. Trying again in 6.0 seconds... [2012-09-10 09:40:53,030: ERROR/MainProcess] Celerybeat: Connection error: [Errno 111] Connection refused. Trying again in 8.0 seconds... [2012-09-10 09:41:29,052: ERROR/MainProcess] Celerybeat: Connection error: [Errno 111] Connection refused. Trying again in 10.0 seconds... </code></pre> <p>Here's my celeryconfig file:</p> <pre><code>from celery.schedules import crontab import datetime BROKER_URL = 'mongodb://localhost:27017/tasks' CELERY_RESULT_BACKEND = 'mongodb' CELERY_MONGODB_BACKEND_SETTINGS = { "host": "127.0.0.1", "port": 27017, "database": "celery", "taskmeta_collection": "celery_taskmeta", } CELERYBEAT_SCHEDULE = { 'update-linked-calendars': { 'task': 'tasks.initiateUpdate', 'schedule': crontab(minute=0, hour='*/1') }, } CELERY_IMPORTS = ('tasks',) </code></pre> <p>I've been working on this for a long time and am still confused as to why I am getting this error. I don't have a user/password for my MongoDB (using it perfectly for my application). Any help would be greatly appreciated!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload