Hi,
I can't seem to connect to a url from app engine. The url looks like:
https://myexamplesite.com:8443/echo?timestamp=now
app engine always times out. But I can hit this same url with any browser
just fine. The ssl cert is a trusted cert from godaddy. Also, if I change
from https to http, then app engine can connect just fine too:
http://myexamplesite.com:80/echo?timestamp=now // ok!
This is my connection code (running on app engine):
HttpURLConnection conn = (HttpURLConnection)newURL(url).openConnection();
conn.setConnectTimeout(10000);
conn.setReadTimeout(10000);
BufferedReader reader = new
BufferedReader(newInputStreamReader(conn.getInputStream()));
...
So nothing special. The exception:
java.lang.Exception: Exception 0: timeout: [19 seconds],
[Timeout while fetching URL:
https://myexamplesite.com:8443/echo?timestamp=1393777885850].
java.net.SocketTimeoutException: Timeout while fetching
URL: https://myexamplesite.com:8443/echo?timestamp=1393777885850
at
com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:144)
at
com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:45)
at
....
This doesn't seem to be related to the URL fetch problems that have been
happening recently with GAE, this is reproducable 100% of the time for a
few months now.
Any ideas?
Thanks
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.