Open haojinming opened 1 year ago
Do I use the tls feature correctly? I don't see any example in the repo about tls usage.
We just re-export TLS related structures and functions from tonic::transport
. I think you'd better check your config according to the error InvalidDNSNameError
.
Seems that TLS
package etcd_client
using does not support IP address as the endpoint. See issue: https://github.com/hyperium/tonic/issues/279. The error is reported here
The following code panic with error
TransportError(tonic::transport::Error(Transport, hyper::Error(Connect, InvalidDNSNameError)))'
The config file is like this: