I know that the socket timeout for fetching URLs is fixed on 60 seconds.
I use java.util.logging
and before I call the https
function I log this:
2012-03-27 14:46:15.445 TelenorClient changeSimStatus: attempt 1 ....
And the exception occurs 5 seconds later
2012-03-27 14:46:20.197 TelenorClient changeSimStatus: exception java.net.SocketTimeoutException: Timeout while fetching: https://serviceportal...
I am using a JAX-WS based webservice client, and setting the timeout using the BindingProviderProperties and RequestContext is not allowed, according to this message:
com.sun.xml.internal.ws.client.BindingProviderProperties is not supported by Google App Engine's Java runtime environment
Which corresponds with the first statement that Google App Engine has its own way of setting the timeout. But again, to me, it seems much shorter than 60 seconds.
I am looking for tips on how to address this.