URL Fetch Exception

93 views
Skip to first unread message

Gabriel Axel

unread,
Oct 6, 2018, 7:21:48 PM10/6/18
to Google App Engine
Greetings,

Starting today I am getting the following error in a Standard Java 8 app:

com.google.apphosting.api.ApiProxy$UnknownException
An error occurred for the API request urlfetch.Fetch()

and it kept repeating until I shut down all the instances of the app in that project, but a few hours later the error reappeared until I shut down all instances again. The same app deployed to a different project did not experience this at the same time, nor did I experience it locally.

This happens when I use Google OAuth2 client library to verify a token received from the web client in com.google.api.client.googleapis.auth.oauth2.GoogleIdTokenVerifier.verify()

Project number: 875106233913
Error ID: CICFyM7BtLGgswE

Any help in resolving this will be much appreciated.

Gabriel Axel

unread,
Oct 6, 2018, 7:51:55 PM10/6/18
to Google App Engine
I figured the use of URL Fetch was a remnant from when the app used the Java 7 runtime and is no longer needed in the Java 8 runtime, so I switched from UrlFetchTransport to NetHttpTransport which works fine so far.

Gabriel Axel

unread,
Oct 7, 2018, 3:17:39 AM10/7/18
to Google App Engine
Now I started getting this for Blobstore calls. I opened an issue: https://issuetracker.google.com/issues/117343597

sami...@google.com

unread,
Oct 10, 2018, 11:11:02 AM10/10/18
to Google App Engine

Hello Gabriel,


I am aware of the Issue Tracker that you have opened with us addressing the issue of ‘ApiProxy$UnknownException in Blobstore and URL Fetch calls’. I am currently investigating the issue on my end and definitely will provide you an update by Thursday on the Issue Tracker thread. All the future updates regarding the issue will occur in the Issue Tracker as well. Thank you.


Reply all
Reply to author
Forward
Message has been deleted
0 new messages