stepancheg / grpc-rust

Rust implementation of gRPC
MIT License
1.38k stars 125 forks source link

http error: Client died #160

Open mcronce opened 4 years ago

mcronce commented 4 years ago

I'm not sure I'm actually putting this in the correct repo in terms of root cause, since it could be down to an HTTP or TLS error :) but gRPC is what I'm directly interacting with

So I'm trying to write a Rust client for one of our products, which uses gRPC. I've managed to get everything to compile, but when I try to interact with either of the two gRPC services I'm importing, the requests seem to be failing with "http error: Client died"

Both are unary requests and unary responses. One of the responses is an Empty, the other is a real thing.

I'm not opposed to digging in and debugging, since I'm sure I'm just doing something wrong, but I'm not sure where to start - any direction to kick that off would be very appreciated.

Thanks!

entangled90 commented 4 years ago

When I was testing I got this error when I was pointing at the wrong port for example. Not sure if it helps.