Skip to content

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

@mlindes

Description

@mlindes

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions