title: Celery AsyncResult is always PENDING
body: <p>I'm working on a demo and the code is simple:</p>
  
  <pre><code># The Config
  class Config:
      BROKER_URL = 'redis://127.0.0.1:6379/0'
      CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/0'
      CELERY_ACCEPT_CONTENT = ['application/json']
  
  # The Task
  @celery_app.task()
  def add(x, y):
      return x + y
  </code></pre>
  
  <p>To start the worker:</p>
  
  <pre><code>$ celery -A appl.task.celery_app worker --loglevel=info -broker=redis://localhost:6379/0
  
   -------------- celery@ALBERTATMP v3.1.13 (Cipater)
   ---- **** ----- 
   --- * ***  * -- Linux-3.2.0-4-amd64-x86_64-with-debian-7.6
   -- * - **** --- 
   - ** ---------- [config]
   - ** ---------- .&gt; app:         celery_test:0x293ffd0
   - ** ---------- .&gt; transport:   redis://localhost:6379/0
   - ** ---------- .&gt; results:     disabled
   - *** --- * --- .&gt; concurrency: 2 (prefork)
   -- ******* ---- 
   --- ***** ----- [queues]
   -------------- .&gt; celery           exchange=celery(direct) key=celery
  </code></pre>
  
  <p>To schedule task:</p>
  
  <pre><code>&gt;&gt;&gt; from appl.task import add
  &gt;&gt;&gt; r = add.delay(1, 2)
  &gt;&gt;&gt; r.id
  'c41d4e22-ccea-408f-b48f-52e3ddd6bd66'
  &gt;&gt;&gt; r.task_id
  'c41d4e22-ccea-408f-b48f-52e3ddd6bd66'
  &gt;&gt;&gt; r.status
  'PENDING'
  &gt;&gt;&gt; r.backend
  &lt;celery.backends.redis.RedisBackend object at 0x1f35b10&gt;
  </code></pre>
  
  <p>Then the worker will execute the task:</p>
  
  <pre><code>[2014-07-29 17:54:37,356: INFO/MainProcess] Received task: appl.task.add[beeef023-c582-42e1-baf7-9e19d9de32a0]
  [2014-07-29 17:54:37,358: INFO/MainProcess] Task appl.task.add[beeef023-c582-42e1-baf7-9e19d9de32a0] succeeded in 0.00108124599865s: 3 
  </code></pre>
  
  <p>But the result remains <code>PENDING</code>:</p>
  
  <pre><code>&gt;&gt;&gt; res = add.AsyncResult(r.id)
  &gt;&gt;&gt; res.status
  'PENDING'
  </code></pre>
  
  <p>I've tried the official <a href="http://docs.celeryproject.org/en/latest/getting-started/first-steps-with-celery.html#result-backend-does-not-work-or-tasks-are-always-in-pending-state">FAQ</a>. But it did not help.</p>
  
  <pre><code>&gt;&gt;&gt; celery_app.conf['CELERY_IGNORE_RESULT']
  False
  </code></pre>
  
  <p>What did I do wrong? Thanks!</p>