-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloud-firestore issue when running in DevAppServer GAE Standard Java 8 #2544
Comments
@ifigotin can I confirm whether this is only an issue on devserver, but not an issue on prod server ? |
I'll close this due to inactivity. @ifigotin please reopen if required. |
This issue occurs in latest versions of dev app server as well:
This was while trying to run a Firestore API call from the app. |
@hiranya911 I'm not able to reproduce the problem. Could you let us know what SDK version you're using? I'm testing with:
|
Here's my pom.xml:
|
When using the latest Firestore library we are getting the following error (in devappserver, GAE Standard, Java 8):
Caused by: com.google.apphosting.api.ApiProxy$CallNotFoundException: Can't make API call urlfetch.Fetch in a thread that is neither the original request thread nor a thread created by ThreadManager at com.google.apphosting.api.ApiProxy$CallNotFoundException.foreignThread(ApiProxy.java:844) at com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:116) at com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:40) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.fetchResponse(URLFetchServiceStreamHandler.java:543) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getInputStream(URLFetchServiceStreamHandler.java:422) at com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getResponseCode(URLFetchServiceStreamHandler.java:275) at com.google.api.client.http.javanet.NetHttpResponse.<init>(NetHttpResponse.java:37) at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:105) at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:981) at com.google.auth.oauth2.UserCredentials.refreshAccessToken(UserCredentials.java:210) at com.google.auth.oauth2.OAuth2Credentials.refresh(OAuth2Credentials.java:160) at com.google.auth.oauth2.OAuth2Credentials.getRequestMetadata(OAuth2Credentials.java:146) at io.grpc.auth.GoogleAuthLibraryCallCredentials$1.run(GoogleAuthLibraryCallCredentials.java:98)
The issue is triggered by a simple example:
This one may be similar to the following two issues we fixed earlier:
#2150
#2275
#2306
#2300
@neozwu is this the same issue?
The text was updated successfully, but these errors were encountered: