otel-cli icon indicating copy to clipboard operation
otel-cli copied to clipboard

Failed to list services: server does not support the reflection API

Open mlindes opened this issue 1 year ago • 0 comments

I'm testing some tracing with otel & gRPC endpoints. I'm trying to do a base-level 101 check with this tool by running locally on my mac after installing with brew. I'm running otel-cli server tui in one window & I verified I get some traffic when I run otel-cli exec --service gw-testing --name "curl google" curl https://google.com from another window.

But using the grpcurl tool, I'm not able to get a successful response: » grpcurl -vv localhost:4317 list Failed to dial target host "localhost:4317": tls: first record does not look like a TLS handshake

» grpcurl -vv -plaintext localhost:4317 list
Failed to list services: server does not support the reflection API

» grpcurl -vv -insecure localhost:4317 list
Failed to dial target host "localhost:4317": tls: first record does not look like a TLS handshake

The grpcurl tool supports reflection so I think this should work... Do you know what I'm doing wrong?

mlindes avatar Nov 11 '24 20:11 mlindes