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

UNKNOWN: 14 UNAVAILABLE: No connection established #4780

Closed
nbransby opened this issue Apr 13, 2021 · 2 comments · Fixed by #4788
Closed

UNKNOWN: 14 UNAVAILABLE: No connection established #4780

nbransby opened this issue Apr 13, 2021 · 2 comments · Fixed by #4788
Assignees

Comments

@nbransby
Copy link

This code assumes it will receive a FirestoreError without asserting such and can end up throwing an unwrapped exception from grpc

.catch((error: FirestoreError) => {
if (error.code === Code.UNAUTHENTICATED) {
this.credentials.invalidateToken();
}
throw error;
});

@google-oss-bot
Copy link
Contributor

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@dconeybe
Copy link
Contributor

Hi @nbransby. Thank you for reporting this. I'll get a fix out in the next couple of days.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants