-
Notifications
You must be signed in to change notification settings - Fork 54
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
First record does not look like a TLS handshake #272
Comments
try? gnmi_get -notls -username admin -password YourPaSsWoRd -xpath /openconfig-interfaces:interfaces/interface[name=Ethernet0]/config -target_addr 127.0.0.1:8080 -xpath_target OC-YANG |
@fishingfly root@sonic:/# gnmi_get -notls -username admin -password YourPaSsWoRd -xpath /openconfig-interfaces:interfaces/interface[name=Ethernet0]/config -target_addr 127.0.0.1:8080 -xpath_target OC-YANG |
@sachinholla FYI |
@puffc, by default the gNMI server runs in no authentication mode. So, you can omit the -username and -password arguments. Looks like go grpc library does not allow credentials in no-TLS mode. About the "first record does not look like a TLS handshake" error -- gNMI server requires certificate configurations to run in TLS mode. You can run following commands from host linux prompt (outside telemetry container) and restart the container.
Now, the gnmi_get can be used without -notls option; use -insecure to skip certificate validation at the client side. |
Hi,
This is the process I'm following:
When I do that, I get the following:
I have tested the master, 202405, 202311 and 202305 branches.
Am I missing something?
Thanks.
The text was updated successfully, but these errors were encountered: