grpc-go metadata example hangs when running though grpc-dump
shinderuk opened this issue · 0 comments
shinderuk commented
Run the metadata example through grpc-dump and observe that client hangs.
- Start the server
$ go run ./server
server listening at [::]:50051
- Start grpc-dump
$ ~/go/bin/grpc-dump -port 8980 -destination localhost:50051
INFO[0000] Listening on 127.0.0.1:8980
INFO[0000] Not intercepting TLS connections
- Run the client through proxy
$ go run ./client --addr localhost:8980
--- unary ---
timestamp from header:
0. Apr 1 10:05:11.029726000
location from header:
0. MTV
response:
- this is examples/metadata
timestamp from trailer:
0. Apr 1 10:05:11.029891000
--- server streaming ---
timestamp from header:
0. Apr 1 10:05:12.033684000
location from header:
0. MTV
response:
- this is examples/metadata
- this is examples/metadata
- this is examples/metadata
- this is examples/metadata
- this is examples/metadata
- this is examples/metadata
- this is examples/metadata
- this is examples/metadata
- this is examples/metadata
- this is examples/metadata
timestamp from trailer:
0. Apr 1 10:05:12.033878000
--- client streaming ---
The client hangs.
I don't know if it's related to passing metadata or a more general problem with client streaming.