-
Notifications
You must be signed in to change notification settings - Fork 149
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
Getting GOAWAY when listening to streams after a while #673
Comments
Detailed error log:
|
I am having the same problem |
For everyone still having this problem, I think grpc-js 0.4.3 fixes it. Adding the explicit dependency to |
This should be resolved, you might need to delete any lock files to pull in the latest gax/grpc-js packages. Let us know if the issue persists and we'll be happy to take another look! 😎 |
@callmehiphop Is the most recent version of nodejs-firestore already pulling |
@jmacedoit I can confirm that the latest version does pull in 0.4.3, all patch updates get pulled in automatically. |
@jmacedoit still getting this error on cloud function randomly ! I'm using "firebase": "^6.2.3" ! Updating 6.5.0 will solve this ? Changing firebase version will effect the cloud function / firestore ? (most recent version of nodejs-firestore ) |
@jmacedoit still getting this error on cloud function randomly ! I'm using "firebase": "^6.2.3" ! Updating 6.5.0 will solve this ? Changing firebase version will effect the cloud function / firestore ? (most recent version of nodejs-firestore ) { Error: Getting metadata from plugin failed with error: New streams cannot be created after receiving a GOAWAY |
@LOG-TAG You should always try to use the most recent version of packages when you find a bug to check whether it has been solved or not. This being said, If this doesn't work, post the output of |
Hi everyone. We have a server listening over many long lived streams using
firebase-admin
. We recently bumped our versions of@google-cloud/firestore
andfirebase-admin
to:We managed to get rid of the
DEADLINE_EXCEEDED
we were previously getting but unfortunately we are now getting a new error:This one happens on different conditions though... While we could reproduce
DEADLINE_EXCEEDED
with some load tests thisseems to happen after a few hoursalways happens after 30 minutes or so (perhaps when the streams being listened to are idle for a while?) after the server process starts. Any idea of what might be the cause, and also, which combination of package versions might get us free from bothDEADLINE_EXCEEDED
andGOAWAY
errors? Because when this happens, restarting the process is the only remedy.Environment details
10.14.4
and also on a docker container based on thenode:10-alpine
image running on aUbuntu 18.04.2 LTS
machine.v10.15.0
on macOS,v10.x
on the Ubuntu machine.6.9.0
@google-cloud/firestore
version: ^2.1.0Steps to reproduce
Thanks!
The text was updated successfully, but these errors were encountered: