-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
TLS connection error messages are no longer returned #1917
Comments
We have made some major changes to the way we manage connections recently. One of them is: if you set the We have a workaround (#1855) which was unfortunately not making the cut to our 1.10.0 release. In short, with the workaround, you dial without the dial option |
Got it. Thanks for the quick response.
but I guess |
Note that FailFast is the default, and always should be, so you don't need to explicitly set it. |
Please answer these questions before submitting your issue.
What version of gRPC are you using?
1.10.0
What version of Go are you using (
go version
)?1.9.2
What operating system (Linux, Windows, …) and version?
macOS
What did you do?
Upgraded from 1.5.2 to 1.10.0
What did you expect to see?
Minor API changes but expected TLS error messages to remain the same
What did you see instead?
failed TLS connections all return
context deadline exceeded
Here's a snippet:
The invokeEmpty call dials a server which has the min/max TLS version set to 1.2. In 1.5.2, the error returned a message containing
protocol version not supported
but with 1.10.0 it returnscontext deadline exceeded
(which is also returned for all other TLS-related connection errors)I realize I was several releases behind, but this does seem a little odd to me.
Maybe I'm not configuring things correctly?
The text was updated successfully, but these errors were encountered: