Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

gRPC server stream closes prematurely #335

Open
fintara opened this issue Jul 8, 2022 · 0 comments
Open

gRPC server stream closes prematurely #335

fintara opened this issue Jul 8, 2022 · 0 comments

Comments

@fintara
Copy link

fintara commented Jul 8, 2022

When a server stream doesn't produce a value for some time (1 minute by default), the connection is closed and the client gets "rpc error: code = Unavailable desc = error reading from server: EOF".

It seems connected with warp's timeout setting - the default there is 30 seconds, and since "connections may be allowed to go without progress for up to twice this amount of time" - this is how it stops after 1 minute for me.

So what would be a better approach:

  • using large enough timeout - 1 hour, 1 day?
  • include pauseTimeout somewhere in the library?
  • something else?
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant