On Wed, Sep 17, 2014 at 3:11 PM, Hélios GILLES <helios.gil...@gmail.com>
 wrote:

> I'm kind of new in GAE things and for my first project i'm trying to fetch
> an RSS feed and add it some more information coming from the same site. But
> when i'm trying to fetch the RSS URL, i get an java.io.IOException: Too
> many redirects at URL
>
> Could you tell if it's possible to increase the number of maximum redirect
> allowed by GAE and if it's possible to activate a debug property to see
> the different redirect requests
>



The maximum amount of redirects is 5:
https://developers.google.com/appengine/docs/java/urlfetch/#Java_Responses
. You can't increase it.

If you need to inspect each redirect, what you can do is configure URLFetch
not to follow redirects, then continually inspect each response and fetch
the next redirect URL. Or you could (and this is a much easier option)
inspect the redirects locally by using Google Chrome's developer tools (or
another browser addon) to watch the redirect flow. If you use Chrome's dev
tools, the redirects can be seen in the Network tab.



-----------------
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to