-
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
grpc provides uninformative error messages, even when set to "block" #3406
Comments
Related to: kubernetes-sigs/cluster-api#2454 |
Couple of questions:
|
|
For what it's worth – I'm currently testing with a lot of moving parts, but I see pretty similar behavior with
|
This is essentially a duplicate of #2031. Please read this comment: #2031 (comment), and let's continue further discussion in that issue. Thanks! |
What version of gRPC are you using?
v1.23.1, but am open to other versions
What version of Go are you using (
go version
)?What operating system (Linux, Windows, …) and version?
MacOS and Linux
What did you do?
I misconfigured my client to expect a certificate that matched in content but not in key with the CA that signed my server's certificate. The error I got back from grpc-go was:
What did you expect to see?
When I modified the very end of DialContext to return any connection errors that occurred:
I got the much more helpful error message:
But, that breaks retries. Is there some other way that I could be retrieving the underlying connection error after my timeout occurs?
The text was updated successfully, but these errors were encountered: