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

Fix error wrapping for errors in HTTP2 server preface #6639

Closed
wants to merge 2 commits into from

Conversation

olegbespalov
Copy link

@olegbespalov olegbespalov commented Sep 15, 2023

What?

This PR fixes the error wrapping that happens in the server preface and a test for it.

The test emulates communication when the client uses an incapable certificate (it's valid, but only can be used for email protection).

Why?

Without the fix commit the Dial will do constant retries till the context is canceled.

Resolves: #6593

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 15, 2023

CLA Not Signed

clientconn_test.go Outdated Show resolved Hide resolved
@olegbespalov
Copy link
Author

😢 Okay, so the test is flaky, and there are cases where the expected error still does not fail fast, and it tries to connect again

I probably need to investigate it deeper 😢

@ginayeh
Copy link
Contributor

ginayeh commented Sep 18, 2023

Thanks for your contribution. Let us know when this is ready for review and please check comments above to sign the CLA.

@github-actions
Copy link

This PR is labeled as requiring an update from the reporter, and no update has been received after 6 days. If no update is provided in the next 7 days, this issue will be automatically closed.

@github-actions github-actions bot added the stale label Sep 24, 2023
@github-actions github-actions bot closed this Oct 2, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

grpc.FailOnNonTempDialError doesn't fail with wrong TLS certificate
3 participants