[google-appengine] Re: Socket Timeout errors on URLFetch calls

2018-04-02 Thread 'George (Cloud Platform Support)' via Google App Engine
Are the URLFetch errors associated with a certain situation, or at least a certain period in time? To report an issue, this has to be reproducible or, at least, associated with certain parameters, such as time. There is little chance to address an issue one can't reproduce reliably. -- You

[google-appengine] Re: Socket Timeout errors on URLFetch calls

2018-03-29 Thread Hugo Visser
I think you are misunderstanding what I'm saying. On the Java 8 runtime you can do without URLFetch because the limitations that were in effect on the older runtimes are lifted. Because of that I can work around it by using any other http library, which is what the documentation is referring

[google-appengine] Re: Socket Timeout errors on URLFetch calls

2018-03-29 Thread 'George (Cloud Platform Support)' via Google App Engine
In the "Issuing an HTTP request" sub-chapter of the "Issuing HTTP(S) Requests" document , this possibility is indicated: "You can also use the third-party requests library as long as you configure it to use URLFetch."

[google-appengine] Re: Socket Timeout errors on URLFetch calls

2018-03-29 Thread Hugo Visser
Not using URLFetchService seems to have worked, I'm not seeing any SocketTimeoutExceptions anymore since I've deployed a version of my app that uses OkHttp to replace the URLFetchService. Of course that might be a coincidence but the errors that have been occurring throughout the day are gone

[google-appengine] Re: Socket Timeout errors on URLFetch calls

2018-03-29 Thread Hugo Visser
I'm literally getting java.net.SocketTimeoutException, meaning that the connection to the host times out. I have billing enabled so that can't be the cause, but maybe it's related. I thought the error was because that particular host was having troubles, but I'm seeing it on other hosts too

[google-appengine] Re: Socket Timeout errors on URLFetch calls

2018-03-29 Thread 'George (Cloud Platform Support)' via Google App Engine
Hi Hugo, What type of time out exceptions do you refer to? Which errors are the most frequently encountered? You are surely not the only one facing this situation. How would you like to see URLFetch replaced? Do you use Java 7 or 8? Which features described on the "Issuing HTTP(S) Requests"

[google-appengine] Re: Socket Timeout errors on URLFetch calls

2018-03-29 Thread Rokesh
Does this help? https://cloud.google.com/appengine/docs/standard/java/issue-requests On Thursday, March 29, 2018 at 5:59:54 PM UTC+2, Hugo Visser wrote: > > My app makes heavy use of URLFetch to get content and I'm seeing socket > time out exceptions on App Engine standard (Java). Am I the