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

gRPC server stream closes prematurely #335

Open
@fintara

Description

@fintara

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions