gRPC DEADLINE_EXCEEDED even that the server is up and gRPC DEADLINE_EXCEEDED even that the server is up and docker docker

gRPC DEADLINE_EXCEEDED even that the server is up and


Do you use unary or streaming API? Do you set any deadline?gRPC deadline is per-stream, so in case of streaming when you set X milliseconds deadline, you'll get DEADLINE_EXCEEDED X milliseconds after you opened a stream (not send or receive any messages!). And you'll keep getting it forever for this stream, the only way to get rid of it is reopening a stream.


I have found that I need to create both a new stub, but also re-create the connection after some errors in order to get it to reconnect. (Also running in ECS)