Didier,

thank you for your feedback but I think the error is not related with
maximum size. Infact the content is not big and I don't get a
ResponseTooLargeExpetion.
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/urlfetch/ResponseTooLargeException.html

   Fabrizio


On Thu, Feb 3, 2011 at 8:31 AM, Didier Durand <[email protected]>wrote:

> Hi,
>
> 1 possibility that I see: you fetch a page with a variable length (i.e
> dynamically generated over time: RSS stream, twitter feed, etc...) and
> sometimes the length is over the URL fetch service limit -> exception
>
> See text at end of
> http://code.google.com/appengine/docs/java/urlfetch/overview.html#Responses
>
> regards
>
> didier
>
> On Feb 3, 8:23 am, Fabrizio Accatino <[email protected]> wrote:
> > I have a recurring task that get content from various urls on different
> > hosts.
> > On some urls I get random IOException:
> >   java.io.IOException: Could not fetch URL:http://...myurl...
> >
> > On one url the failure rate is about 1 / 10.  But it's not regular.
> > On another url the rate is lower:  1/100.
> > Other urls work without errors.
> >
> > The errors are not timeout-related. When UrlFetch encounters a timeout it
> > throws an exception with a different message:
> >   java.io.IOException: Timeout while fetching:http://...myurl...
> >
> > Suggestions?
> >
> > Fabrizio
>
> --
> 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
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to