grpc / grpc/grpc-node

No event on disconnect when making a server stream request

Open
#2,578 6 comments 0 reactions 0 assignees View on GitHub
package: @grpc/grpc-js
Dominant language
TypeScript
Stars
4.8k
Forks
716
Avg merge
2d 3h
Merged PRs (30d)
10

Description

### Problem description
When using `makeServerStreamRequest` I'm expecting to receive an error if the connection has been interrupted(like turning of the machine wifi). Instead there is no events emitted.

### Reproduction steps
I've prepared a simple POC of the problem which can be easily tested in this repo: https://github.com/rokn/grpc-server-stream-disconnect-poc

### Environment
- MacOS M1
- Node: 16.16
- nvm
- "@grpc/grpc-js": "1.9.3"

### Additional context
It could be I'm missing some documentation but I haven't found a way to do this

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.