Re: [appengine-java] java.net.SocketTimeoutException: Timeout while fetching

2011-08-15 Thread Ikai Lan (Google)
Any chance you're using App Engine to do an URLFetch to yourself? That is,
you're using HTMLUnit to generate some pages or something? If so, enable
concurrent requests:

http://code.google.com/appengine/docs/java/config/appconfig.html#Using_Concurrent_Requests

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Sat, Aug 6, 2011 at 12:07 AM, Luke  wrote:

> i'm using webclient and i get this error
> java.net.SocketTimeoutException: Timeout while fetching
> com.gargoylesoftware.htmlunit.UrlFetchWebConnection getResponse:
> Exception while tyring to fetch
>
>
> .I already set my app to use "always on" feature. but still getting
> timeout error.
>
>
> 1. Anyway to increase the max deadline of request?
> 2. what should i set  webclient.settimeout(..) to use in appengine?
>
> --
> 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-java@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.
>
>

-- 
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-java@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.



[appengine-java] java.net.SocketTimeoutException: Timeout while fetching

2011-08-06 Thread Luke
i'm using webclient and i get this error
java.net.SocketTimeoutException: Timeout while fetching
com.gargoylesoftware.htmlunit.UrlFetchWebConnection getResponse:
Exception while tyring to fetch


.I already set my app to use "always on" feature. but still getting
timeout error.


1. Anyway to increase the max deadline of request?
2. what should i set  webclient.settimeout(..) to use in appengine?

-- 
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-java@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.