grpc-ecosystem / grpc-health-probe

A command-line tool to perform health-checks for gRPC applications in Kubernetes and elsewhere

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The examples in the documentation don't seem to work.

jordy1024 opened this issue · comments

commented

server

go run server/server.go -tls 

probe and ouput

./grpc-health-probe -addr 127.0.0.1:50051 \
-tls \
-tls-ca-cert /tmp/ca.pem \
-tls-server-name=example.com \
-rpc-header=foo:bar \
-rpc-header=foo2:bar2

timeout: failed to connect service "127.0.0.1:50051" within 1s

You didn't provide enough context but it appears you aren’t listening on that host:port.