-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Settings timeout error with grpc-js client #13175
Comments
Having to move away from Bun and to Node because of this issue :( |
This should be resolved with #14286 can you add a repro or confirm if its resolved? |
Hello @Tanavya. Please provide a minimal reproduction using a GitHub repository, Replit, CodeSandbox, or provide a bulleted list of commands to run that reproduce this issue. Issues marked with |
Hi, it appears the issue has been resolved in the latest canary build. Earlier any grpc server function taking more than 60 seconds would guarantee to fail with settings timeout when using If its still important, here is the minimal reproduction. You can close the ticket or let me know if you need to confirm anything. |
Thank you for the minimum reproduction and for the feedback! |
What version of Bun is running?
1.1.22-canary.96+df33f2b2a
What platform is your computer?
Linux 6.6.12-linuxkit aarch64 unknown
What steps can reproduce the bug?
This is somewhat hard to reproduce since it is intermittent and the implementation is part of a bigger system, but basically I the setup is as follows. I have a gRPC client implemented using Bun+TS in a server running with Express, and a gRPC server implemented in Python. I make a curl request to the Express server, that then triggers a gRPC client request to the gRPC server. Its a somewhat long running operation, like at least 5 seconds, but every 1 in 15 times the gRPC call fails with an erroor with status code 14 or UNAVAILABLE (https://grpc.github.io/grpc/core/md_doc_statuscodes.html, and message "settings timeout".
These are the logs when running with
GRPC_VERBOSITY=DEBUG GRPC_TRACE=all
. The grpc client being used isgrpc-js
.If I replace bun run with ts-node then I never get this "settings timeout" error.
What is the expected behavior?
No response
What do you see instead?
You can see the logs shared. I think the "ERR_HTTP2_SESSION_ERROR" is concerning. Also, this is the actual error caught in the application:
Additional information
No response
The text was updated successfully, but these errors were encountered: