I'm having some serious problems with UrlFetch. My app needs to pull
some pages from another site via HTTPS, but to GAE the certificate is
invalid (I believe because GAE is missing the intermediate CA). I
really don't mind if the certificate is valid or not, I just need my
app to retrieve the page.

On an older version of 1.4.2 I would get a SSLHandshakeException
saying the certificate could not be verified when I was running a
deployed version, though the site could be read just fine on the dev
server. Now on the newer version, after they fixed a related issue
(http://code.google.com/p/googleappengine/issues/detail?id=4603), the
url fetch just times out every time on the deployed version, though it
still works just fine on the dev server. The timeout, which I believe
is happening only because the certificate is invalid, happens even
when I call doNotValidateCertificate() on the request's FetchOptions,
which is the main problem here.

I highly doubt the request is actually timing out. The page I'm trying
to load for testing purposes is very small and is retrieved almost
instantly by the dev server. When the deployed version fetches the
page via HTTP, it receives a redirect to use HTTPS, so the site isn't
blocking appengine's requests.

This problem has brought my project to a screeching halt so any help
would be greatly appreciated. Thanks! :)

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