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

grpc-go metadata example hangs when running though grpc-dump #91

Open
shinderuk opened this issue Apr 1, 2020 · 0 comments
Open

grpc-go metadata example hangs when running though grpc-dump #91

shinderuk opened this issue Apr 1, 2020 · 0 comments
Assignees

Comments

@shinderuk
Copy link

Run the metadata example through grpc-dump and observe that client hangs.

  1. Start the server
$ go run ./server
server listening at [::]:50051
  1. 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
  1. 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.

@bradleyjkemp bradleyjkemp self-assigned this Apr 1, 2020
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

2 participants