-
Notifications
You must be signed in to change notification settings - Fork 598
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
503 unavailable response from datastore after app has idled for a few minutes #1265
Comments
Thanks for reporting. Can you log err.stack as well? Off hand, I'm not sure of anything that might be causing this. @callmehiphop can you try to reproduce? |
I'm able to reproduce if I wait about 5 minutes between requests. Also, the error stack doesn't appear to give us very much. Error
at gcloud-node/node_modules/grpc/src/node/src/client.js:411:17 |
@stephenplusplus @callmehiphop - that's the same error stack I get. I've tried a similar test using the Cloud Storage API where I grab a private file, wait, and then try it again & I do not run into the 503 issue or if I do it's handled. |
I was able to reproduce this with the Logging API, which leads me to believe that this is related to grpc. @heidmotron this would also explain why you weren't able to reproduce it via Storage. @murgatroid99 we're seeing an issue where we make a request and wait about 5 minutes, then all subsequent requests fail. Could this be a result of the client channel going into an idle state? Any insight you could provide here would be greatly appreciated! |
@callmehiphop @murgatroid99 - In the stderr of the managed vm logs I found this next to the client.js:411 error.
|
@ctiller Does the gRPC core ever generate a message like that? |
We're experiencing the same issue in two of our applications. The errors started occurring since the 22nd of April. Our apps are using different versions of this library, v0.30.3 and v0.27.0, the error occurs in both. Furthermore, the errors didn't seem to be introduced by an update/deploy on our side. Probably something in the underlying infrastructure has changed? |
This is still happening in the BigTable plugin. |
I've been getting this response in both production and locally (using the production datastore):
The error is thrown from here - https://github.com/grpc/grpc/blob/release-0_13_1/src/node/src/client.js#L411
Steps to reproduce:
Expect: Datastore to return results
Actual: 503 unavailable
The datastore will work and continue to work for another few minutes.
I've deployed the bookstore sample app and it seems to have the same behavior saying "Something broke!".
Here is the code:
I'm using the default app credentials and Flexible VMs. Let me know if there is any other info I could provide.
The text was updated successfully, but these errors were encountered: