Skip to content
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 strange error regarding subchannels #890

Closed
jakeleventhal opened this issue Jan 20, 2020 · 3 comments
Closed

Getting strange error regarding subchannels #890

jakeleventhal opened this issue Jan 20, 2020 · 3 comments
Assignees
Labels
api: firestore Issues related to the googleapis/nodejs-firestore API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@jakeleventhal
Copy link

Environment details

  • OS: Mac OS 10.15 Beta (19A573a)
  • Node.js version: v12.10.0
  • npm version: 6.10.3
  • @google-cloud/firestore version: 3.3.4

Steps to reproduce

I am unsure how to reproduce as there doesn't seem to be much indication in my logs.
The problem I have is that I keep getting this error popping up:

(node:33) UnhandledPromiseRejectionWarning: Error: 14 UNAVAILABLE: Failed to start call on picked subchannel
    at Object.callErrorFromStatus (/api/node_modules/@grpc/grpc-js/src/call.ts:79:24)
    at Http2CallStream.<anonymous> (/api/node_modules/@grpc/grpc-js/src/client.ts:155:18)
    at Http2CallStream.emit (events.js:333:22)
    at Http2CallStream.EventEmitter.emit (domain.js:485:12)
    at /api/node_modules/@grpc/grpc-js/src/call-stream.ts:183:14
    at processTicksAndRejections (internal/process/task_queues.js:79:11)
@yoshi-automation yoshi-automation added the triage me I really want to be triaged. label Jan 20, 2020
@schmidt-sebastian
Copy link
Contributor

schmidt-sebastian commented Jan 22, 2020

Thanks for the report!

@murgatroid99 Do you have any leads here? This might be specific to our SDK as we regularly delete and recreate clients, but it would be good to know if there was a way to avoid this issue.

@schmidt-sebastian schmidt-sebastian added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. and removed triage me I really want to be triaged. labels Jan 22, 2020
@schmidt-sebastian schmidt-sebastian self-assigned this Jan 22, 2020
@yoshi-automation yoshi-automation added the triage me I really want to be triaged. label Jan 22, 2020
@murgatroid99
Copy link

This error generally indicates that a connection dropped at almost the same time that we started a request on that connection. It's an UNAVAILABLE error to indicate that it can be retried, but I guess that doesn't help if the method can't be retried. It may be possible for grpc to handle that error without surfacing it to the user.

@bcoe bcoe added the priority: p2 Moderately-important priority. Fix may not be included in next release. label Jan 24, 2020
@yoshi-automation yoshi-automation removed the triage me I really want to be triaged. label Jan 24, 2020
@google-cloud-label-sync google-cloud-label-sync bot added the api: firestore Issues related to the googleapis/nodejs-firestore API. label Jan 30, 2020
@schmidt-sebastian
Copy link
Contributor

I moved this to grpc/grpc-node: grpc/grpc-node#1250

Let's track all work there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the googleapis/nodejs-firestore API. priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

5 participants