google app engine - Getting SocketTimeoutException after only four seconds? -


i'm opening url , getting sockettimeoutexception:

long = system.currenttimemillis(); try {     url url = new url("https://example.com");     inputstreamreader = new inputstreamreader(url.openstream());     .. } catch (sockettimeoutexception ex) {     long diff = system.currenttimemillis() - now;     system.err.println("timeout!: " + diff + "ms"); // ~4 seconds }     java.net.sockettimeoutexception: timeout while fetching url: https://example.com     @ com.google.appengine.api.urlfetch.urlfetchserviceimpl.convertapplicationexception(urlfetchserviceimpl.java:142) 

but elapsed time 4 seconds. code of mine hasn't changed since february, same "example.com" url it's hitting (which under control).

could have changed @ lower level app engine team reduce length of time before timeout exception thrown?

thanks


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -