google-code-export / appengine-devappserver2-experiment

Automatically exported from code.google.com/p/appengine-devappserver2-experiment
0 stars 0 forks source link

Tasks queued from a cron job fail to execute #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version: 0.4

1. Go to the cron page
2. Find the job
3. Click run

On Ubuntu they fail almost silently, I only see:
WARNING  2012-12-20 22:42:34,953 taskqueue_stub.py:1981] Task 
next-NODOMAIN-Domain-20121221064234839266 failed to execute. This task will 
retry in 0.200 seconds

On MacOS I also see the following trace:
ERROR    2012-12-20 22:29:47,187 taskqueue_stub.py:1899] An error occured while 
sending the task "next-default-Domain-20121221062942142361" (Url: 
"/default/executive_summary/generate_results") in queue "default". Treating as 
a task error.
Traceback (most recent call last):
  File ".../google_appengine/appengine-devappserver2-experiment/google/appengine/api/taskqueue/taskqueue_stub.py", line 1887, in ExecuteTask
    connection.endheaders()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 954, in endheaders
    self._send_output(message_body)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 814, in _send_output
    self.send(msg)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 776, in send
    self.connect()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 571, in create_connection
    raise err
error: [Errno 61] Connection refused
WARNING  2012-12-20 22:29:47,192 taskqueue_stub.py:1981] Task 
next-default-Domain-20121221062942142361 failed to execute. This task will 
retry in 0.100 seconds

Original issue reported on code.google.com by p...@gae123.com on 21 Dec 2012 at 6:50

GoogleCodeExporter commented 9 years ago

Original comment by sa...@google.com on 2 Jan 2013 at 2:13

GoogleCodeExporter commented 9 years ago
Fixed in v0.5.

Original comment by sa...@google.com on 21 Jan 2013 at 4:07