grpc / grpc-node

gRPC for Node.js
https://grpc.io
Apache License 2.0
4.44k stars 640 forks source link

Not working in Bun #2648

Open seo-rii opened 8 months ago

seo-rii commented 8 months ago

Problem description

In Bun, gRPC call stucks infinitely. It doesn't make any error/log anything. Please refer to https://github.com/oven-sh/bun/issues/7630

Reproduction steps

https://github.com/oven-sh/bun/issues/7630

Environment

Additional context

As article in link said, I also think it's a bug of Bun, but I wanted to just inform you about this bug.

wavedeck commented 2 weeks ago

The current version of Bun (v1.1.27canary.82+d8e2c24d7) doesn't support serving HTTP/2 connections yet, which is fundamental for the grpc protocol to work properly. It is on their priority list, but until HTTP/2 is properly implemented, this library will not work. Please refer to https://github.com/oven-sh/bun/issues/8823 for updates.