I believe that this may be due to the fact that the URL you are
requesting is on the local SDK server, which is single threaded and as
you are already using the only thread for the original request you get
the timeout ...

On Feb 1, 11:23 pm, AJ Chen <ajc...@web2express.org> wrote:
> I'm using queued tasks to fetch feeds, one feed per task. each task takes
> about a couple of seconds. but, the tasks get unexpected timeout easily with
> the following error message. any idea how task timeout happens? is it
> possible to control the timeout period?  thanks,
>
> Feb 2, 2010 7:00:54 AM org.quartz.core.JobRunShell run
> SEVERE: Job feed-fetch.task4 threw an unhandled Exception:
> com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError:
> 2: Received exception executing http method POST against 
> URLhttp://127.0.0.1:8888/task:Timeout waiting for connection
>     at
> com.google.appengine.api.urlfetch.dev.LocalURLFetchService.fetch(LocalURLFetchService.java:223)
>     at
> com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:53)
>     at
> com.google.appengine.api.labs.taskqueue.dev.UrlFetchJob.execute(UrlFetchJob.java:46)
>     at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
>     at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
>
> -aj--
> AJ Chen, PhD
> Chair, Semantic Web SIG, sdforum.orghttp://web2express.org
> @web2express on twitter
> Palo Alto, CA, USA
> 650-283-4091
> *Monitoring social media in real time*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to