Hi,
  I wanted to post what I found in the hope that it may help
others ... unfortunately still didn't find a good way to debug
remotely but it turns out that the URL I was fetching was of the
following form:

http://www.server.com?name=value&name1=value1

This was working fine on the SDK using URLFetch but failing remotely.
Through trial and error it seems that I need to have the trailing "/"
before the question mark:

http://www.server.com/?name=value&name1=value1

Once I added this the fetch worked as expected ...

Conor

On Feb 4, 7:21 pm, cowper <[email protected]> wrote:
> Hi,
>   I have a situation where aURLFetchrequest works locally but fails
> every time when deployed on GAE.
>
> I'm trying to figure out an effective way of debugging it but best I
> can do so far is catch and log the exception. The FetchResponse comes
> back null and I get an IOException:
>
> java.io.IOException: Could not fetch URL
>
> I noticed that there is a method call convertApplicationException and
> I saw some posts about ApplicationExceptions so I was wondering of
> there was a way to get more information about the underlying
> application exception to help in the debugging.
>
> Debugging locally is obviously pretty easy but if anyone has advice /
> tips for best debugging remotely please let me know.
>
> Thanks,
>
> cowper

-- 
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