ghz icon indicating copy to clipboard operation
ghz copied to clipboard

xds: ListenerResource target not found, watcher timeout

Open mrnonz opened this issue 3 years ago • 0 comments

Command line arguments / config

ghz -c 100 -n 1000 --insecure --async \
    --proto /go/service.proto \
    --call <some rpc>\
    "xds:///<hostname>:<port>"

Describe the bug I try to use ghz to load test with xDS but I got error message like this instead.

Summary:
  Count:        1000
  Total:        15.01 s
  Slowest:      0 ns
  Fastest:      0 ns
  Average:      8808 ns
  Requests/sec: 66.64

Response time histogram:

Latency distribution:

Status code distribution:
  [Unavailable]   1000 responses   

Error distribution:
  [1000]   rpc error: code = Unavailable desc = name resolver error: xds: ListenerResource target <host>:<port> not found, watcher timeout

To Reproduce Just create xDS server (I use wongnai/xDS) inside k8s cluster and use above command.

Expected behavior Normal load test result.

Environment

  • OS: [Linux 3.10.0-957.27.2.el7.x86_64]
  • ghz: v0.108.0

Additional context I try to use grpcurl It's functioning as expected. And I debug my xDS server with grpc_client.go and got received LDS update with list of my destination.

mrnonz avatar May 22 '22 09:05 mrnonz