Closed baijuw closed 3 years ago
Hello @baijuw,
the grpc.FutureTimeoutError
means that the host doesn't respond or respond in the suitable format. The implementation of grpc libraries in Go and in Python are different, but before to figure that out, could you please share the configuration from SR Linux related to the gNMI (e.g., where you enable that)?
Thanks, Anton
Hello @baijuw,
the
grpc.FutureTimeoutError
means that the host doesn't respond or respond in the suitable format. The implementation of grpc libraries in Go and in Python are different, but before to figure that out, could you please share the configuration from SR Linux related to the gNMI (e.g., where you enable that)?Thanks, Anton
Here is the configuration for GNMI:-
leaf# info from state system gnmi-server
system {
gnmi-server {
admin-state enable
timeout 7200
rate-limit 60
session-limit 20
commit-confirmed-timeout 0
include-defaults-in-config-only-responses false
network-instance mgmt {
admin-state enable
oper-state up
use-authentication true
port 57400
tls-profile gnmi
source-address [
::
]
}
unix-socket {
admin-state disable
oper-state down
use-authentication true
socket-path ""
}
}
}
Hello @baijuw, the
grpc.FutureTimeoutError
means that the host doesn't respond or respond in the suitable format. The implementation of grpc libraries in Go and in Python are different, but before to figure that out, could you please share the configuration from SR Linux related to the gNMI (e.g., where you enable that)? Thanks, AntonHere is the configuration for GNMI:-
leaf# info from state system gnmi-server system { gnmi-server { admin-state enable timeout 7200 rate-limit 60 session-limit 20 commit-confirmed-timeout 0 include-defaults-in-config-only-responses false network-instance mgmt { admin-state enable oper-state up use-authentication true port 57400 tls-profile gnmi source-address [ :: ] } unix-socket { admin-state disable oper-state down use-authentication true socket-path "" } } }
Right, could show please tls-profile gnmi
?
Hi @akarneliuk , You could close this for now. SRL does not offer insecure connection as of now. Thanks for your help.
Regards Baiju
Hi @akarneliuk ,
This could quite possibly be me doing something wrong as I am new to gNMI configuration. Nevertheless, I get the following error upon trying a basic get request using pygnmi. Here are some of my details.
The error is as follows:-
I can hit the same target using the openconfig gnmi_get cli which is written in go.