TaskQueues all fail to execute on devserver

196 views
Skip to first unread message

Riley

unread,
Nov 6, 2011, 2:28:51 PM11/6/11
to google-a...@googlegroups.com
I've been developing with the java appengine sdk with no problems for a year.  I'm using eclipse on mac os x with versions 1.4.3 and 1.5.5 of the sdk.  Now, suddenly, the devserver cannot execute any tasks - I get the exceptions at the end of this post.  The server is trying to POST to 0.0.0.0 to fire a task, and the connection is being refused.

I've tried reverting to versions and sdks that previously worked, to no avail.  GET requests to 0.0.0.0 seem to work, but not POST requests.  The problem persists even with a brand new auto-generated project with a DeferredTask written in, so I don't think this is a problem with my project configuration.

Any ideas about where I can look?  Think this is an eclipse problem, or a network config problem? (I've turned the firewall off completely).  Can I change the ip that the dev server aims at for tasks to something like "localhost?" At this point I've lost two full days to this issue.

Thanks for any help!

The exceptions:
[ERROR] Job CleanupQueue.task1 threw an unhandled Exception: 
com
.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 2: Received exception executing http method POST against URL http://0.0.0.0:8888/tasks/cleanup: Connection to http://0.0.0.0:8888 refused
    at com
.google.appengine.api.urlfetch.dev.LocalURLFetchService.fetch(LocalURLFetchService.java:381)
    at com
.google.appengine.api.taskqueue.dev.LocalTaskQueue$UrlFetchServiceLocalTaskQueueCallback.execute(LocalTaskQueue.java:480)
    at com
.google.appengine.api.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:77)
    at org
.quartz.core.JobRunShell.run(JobRunShell.java:203)
    at org
.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
[ERROR] Job (CleanupQueue.task1 threw an exception.
org
.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 2: Received exception executing http method POST against URL http://0.0.0.0:8888/tasks/cleanup: Connection to http://0.0.0.0:8888 refused]
    at org
.quartz.core.JobRunShell.run(JobRunShell.java:214)
    at org
.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
* Nested Exception (Underlying Cause) ---------------
com
.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 2: Received exception executing http method POST against URL http://0.0.0.0:8888/tasks/cleanup: Connection to http://0.0.0.0:8888 refused
    at com
.google.appengine.api.urlfetch.dev.LocalURLFetchService.fetch(LocalURLFetchService.java:381)
    at com
.google.appengine.api.taskqueue.dev.LocalTaskQueue$UrlFetchServiceLocalTaskQueueCallback.execute(LocalTaskQueue.java:480)
    at com
.google.appengine.api.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:77)
    at org
.quartz.core.JobRunShell.run(JobRunShell.java:203)
    at org
.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)


Riley

unread,
Nov 8, 2011, 11:00:16 AM11/8/11
to google-a...@googlegroups.com
This is a show-stopper for me. Can anyone point me towards a useful resource? At this point I'm looking for someone to pay for a solution (but I _am_ hoping for less than $12k a year for appengine premium support).

Riley

unread,
Nov 15, 2011, 3:41:13 PM11/15/11
to google-a...@googlegroups.com
Last bump before giving up hope. See issue 4009 

Riley

unread,
Nov 15, 2011, 4:17:37 PM11/15/11
to google-a...@googlegroups.com
I found a workaround, detailed in that issue.  Blegh!
Reply all
Reply to author
Forward
0 new messages