-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Break in gRPC connection doesn't emit any errors #24845
Comments
I'm getting a similar error, using:
I have a C++ grpc server and some client code written in js using https://github.com/grpc/grpc-node. Everything works as expected when running under node v18.18.2. When using Deno, the server successfully receives a valid request for a unary call, and sends back a response. The client then bombs out with this output (GRPC logging enabled):
Let me know if you need any more info or how I can help with troubleshooting this. |
After looking into this in more detail, it seems specific (in my case) to grpc servers built using C++ closing the server side of a bidirectional stream while the client is still connected. This is evident in a large C++ grpc codebase that I maintain, but I was able to reproduce it using the RouteGuide example in the grpc repo. To reproduce the issue, see the repo https://github.com/TobyEalden/deno-issue-24845. |
Version: Deno 1.45.5
I can create a gRPC client connection to a gRPC server. If I then shutdown the server with the client still running, the client gets the following error in the output...
No errors are raised on client event stream. Ideally the client should be notified if there's an underlying connection issue. Seems like this is unhandled.
The text was updated successfully, but these errors were encountered: