Skip to content
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

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

Open
mlindes opened this issue Nov 12, 2024 · 1 comment
Open

Comments

@mlindes
Copy link

mlindes commented Nov 12, 2024

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
Copy link
Author

mlindes commented Nov 27, 2024

This can be solved solved with PR 369

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant