- Node.js version: v10.16.0
- npm version: 6.10.2
- google-cloud-node version: Google Cloud SDK 262.0.0
The following are the dependencies used in my NodeJs project.
"dependencies": {
"@google-cloud/firestore": "^2.2.4",
"@google-cloud/storage": "^3.0.2",
"@sendgrid/mail": "^6.4.0",
"axios": "^0.19.0",
"body-parser": "^1.19.0",
"express": "^4.17.1",
"firebase-admin": "^8.2.0",
"is-base64": "^0.1.0",
"moment": "^2.24.0",
"qs": "^6.8.0"
},
While doing query request on firestore, sometime we get the error mentioned below and all the calls to firestore after that starts giving the same error. After another deployment with no changes all the apis works fine. I am still unable to figure out the leading cause of this error.
2019-09-25 12:33:27 default[20190924t162236] { Error: Bandwidth exhausted
2019-09-25 12:33:27 default[20190924t162236] at Http2CallStream.call.on (/srv/node_modules/@grpc/grpc-js/build/src/call.js:68:41)
2019-09-25 12:33:27 default[20190924t162236] at Http2CallStream.emit (events.js:203:15)
2019-09-25 12:33:27 default[20190924t162236] at process.nextTick (/srv/node_modules/@grpc/grpc-js/build/src/call-stream.js:71:22)
2019-09-25 12:33:27 default[20190924t162236] at process._tickCallback (internal/process/next_tick.js:61:11)
2019-09-25 12:33:27 default[20190924t162236] code: 8,
2019-09-25 12:33:27 default[20190924t162236] details: 'Bandwidth exhausted',
2019-09-25 12:33:27 default[20190924t162236] metadata: Metadata { options: undefined, internalRepr: Map {} } }
Can someone please explain how to resolve this issue or handle this error so that it doesn't effect the other apis?
The following are the dependencies used in my NodeJs project.
While doing query request on firestore, sometime we get the error mentioned below and all the calls to firestore after that starts giving the same error. After another deployment with no changes all the apis works fine. I am still unable to figure out the leading cause of this error.
Can someone please explain how to resolve this issue or handle this error so that it doesn't effect the other apis?