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

grpc-js: Don't propagate non-numeric errors from auth plugins #1690

Merged

Conversation

murgatroid99
Copy link
Member

@murgatroid99 murgatroid99 commented Feb 16, 2021

This has two complementary changes: in the channel, only propagate error codes from metadata filters if they are numbers, and in the call credentials filter, explicitly set the UNAUTHENTICATED error code instead of letting errors from the credentials plugin implicitly bubble up.

This should fix the reports from googleapis/nodejs-pubsub#1063 of the error code ERR_OSSL_PEM_NO_START_LINE getting propagated from a Node crypto module error.

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

Successfully merging this pull request may close these issues.

None yet

2 participants