-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
tonic v0.10.0: h2 protocol error #1496
Comments
Not reproducible when TLS is disabled |
Same problem here Update: I have found the answer to the problem. The issue occurs when using TLS while configuring the endpoint with an |
Do you get this error with |
No, I get this error when going from 0.9 to 0.10, so it's 0.10. And yes, without changing any code, just toml files.
I'll try to make one |
@LucioFranco , here it is: https://github.com/Arjentix/tonic-bug-repr It's basically a copy from |
Ok I don't think this is a tonic bug but more so a change to correct behavior. If you set I am going to close the issue, feel free to reopen if this isn't solved from what I said above. |
@LucioFranco we had the same issue today when upgrading from 0.9 to 0.10. In our case we had set the URLs as Given that we already initialize the grpc clients with TLS config, we didn't expect this behavior to change. If this is the expected behavior I think it's worth adding documentation about it. |
@andrehp ah yeah |
Bug Report
Version
In case you need prost version as well:
Platform
Darwin Amaterasu.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:52 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T8103 arm64
Description
Just tried new version of tonic & prost in my project which contains of gRPC server and client (with TLS enabled). Everything compiled well, but when running I got this error:
So I did a rollback to versions where everything works fine:
The text was updated successfully, but these errors were encountered: