title: Celery task always PENDING
body: <p>I try to run Celery example on Windows with redis backend. The code looks like:</p>
  
  <pre><code>from celery import Celery
  
  app = Celery('risktools.distributed.celery_tasks',
               backend='redis://localhost',
               broker='redis://localhost')
  
  @app.task(ignore_result=False)
  def add(x, y):
      return x + y
  
  @app.task(ignore_result=False)
  def add_2(x, y):
      return x + y
  </code></pre>
  
  <p>I start the tasks using iPython console:</p>
  
  <pre><code>&gt;&gt;&gt; result_1 = add.delay(1, 2)    
  &gt;&gt;&gt; result_1.state
  'PENDING'
  &gt;&gt;&gt; result_2 = add_2.delay(2, 3)    
  &gt;&gt;&gt; result_2.state
  'PENDING'
  </code></pre>
  
  <p>It seems that both tasks were not executed, but Celery worker output shows that they succeeded:</p>
  
  <pre><code>[2014-12-08 15:00:09,262: INFO/MainProcess] Received task: risktools.distributed.celery_tasks.add[01dedca1-2db2-48df-a4d6-2f06fe285e45]
  [2014-12-08 15:00:09,267: INFO/MainProcess] Task celery_tasks.add[01dedca1-2db2-48df-a4d6-2f06fe28
  5e45] succeeded in 0.0019998550415s: 3
  [2014-12-08 15:00:24,219: INFO/MainProcess] Received task: risktools.distributed.celery_tasks.add[cb5505ce-cf93-4f5e-aebb-9b2d98a11320]
  [2014-12-08 15:00:24,230: INFO/MainProcess] Task celery_tasks.add[cb5505ce-cf93-4f5e-aebb-9b2d98a1
  1320] succeeded in 0.010999917984s: 5
  </code></pre>
  
  <p>I've tried to troubleshoot this issue according to <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">Celery documentation</a>, but none of the advices were useful. What am I doing wrong and how can I receive results from a Celery task?</p>
  
  <p><strong>UPD:</strong>
  I've added a task without <code>ignore_result</code> parameter, but nothing has changed</p>
  
  <pre><code>@app.task
  def add_3(x, y):
      return x + y
  
  &gt;&gt;&gt;r = add_3.delay(2, 2)
  &gt;&gt;&gt;r.state
  'PENDING'
  </code></pre>