Open efagerho opened 7 months ago
The error messages in transport are unfortunately not totally complete in this way. This was due to a few reasons, mostly, being that I didn't want the current code to last this long but I guess sometimes you don't have much choice in that 😄. Agreed, this should be fixed.
Tonic currently returns "transport error" when DNS queries fail. This can happen for instance when a DNS resolver is overloaded in a Kubernetes cluster or the VPC DNS resolver throttles on AWS.
It would be extremely helpful if the library could distinguish between DNS errors, TCP connection error and HTTP/2 connection error.