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 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 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

1 participant