You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why is this issue still open? Isn't this a very basic issue that has to be addressed? I'm having the same issue. I'm running the fake_server in the testing directory and getting this, when all I did was follow the instructions. No errors on the fake_server logs. It's just pretending the server is not there
Hi,
I am trying to use gnmi_cli command, where server is started with following option
creds, err := credentials.NewServerTLSFromFile(*certFile, *keyFile)
however when i run the client i am getting the timeout error consistently. For now i have made changes to validate only the server side certificate as per following sample code:
server.go
https://github.com/grpc/grpc-go/blob/master/examples/route_guide/server/server.go
./gnmi_cli -alsologtostderr -ca_crt /bldimg/fusion/dlakshma/myca_ca.cert.pem -address 10.37.18.172:50052 -get -proto 'prefix:<elem:<name:"interfaces" > elem:<name:"interface" key:<key:"name" value:"interface ethernet 1/1" > > > '
addres:[10.37.18.172:50052]
Target:
Timeout:30s
Credentials:
TLS:&{ [] map[] 0xc0001158c0 [] 0 false [] false false [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] 0 0 [] false 0 {0 {0 0}} {{0 0} 0 0 0 0} []}
E0122 04:12:21.114742 59705 gnmi_cli.go:189] could not create a gNMI client: Dialer(10.37.18.172:50052, 30s): context deadline exceeded
Can you please let me know if i am missing anything here
Thanks.
The text was updated successfully, but these errors were encountered: