-
Notifications
You must be signed in to change notification settings - Fork 649
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
Node 14 ArrayBuffer changes causes grpc to crash. #1407
Comments
Thank you for the information. I will try to fix this; any additional information will help. I suggest switching to |
Thanks for your reply! We'll look into switching over to the grpc-js. |
We had to hold off on switching to grpc-js as the healthcheck is still using the native grpc. We tried out grpc 1.24.3 with node v14.4.0 and haven't had any issues yet. The release says Node 14 support was added, though I couldn't find any commits tied to that claim. Not sure if this is safe to close or not. |
Same here
cannot switch to :( |
@hugebdu What version of grpc and node are you using? We haven't had any crashes with the latest versions. |
happens only in gRPC server. client is fine.
|
minimal reproduction code I've managed to distill. https://github.com/hugebdu/node14-grpc-core-crashes |
OK, knowing that the bug triggers from receiving metadata narrowed it down enough. I think the issue is with the use of this function. I think I can publish a patch soon to fix that. |
that would be awesome! thanks a lot |
I have published version 1.24.4 with a change to address this bug. Please try that out and tell us if you still have these problems. |
@murgatroid99 thanks a lot. |
OK, I'm going to consider this fixed and close the issue. If anyone experiences this kind of error with version 1.24.4 or later, please comment and I will reopen the issue. |
Problem descriptionI ran into the same problem when I used egg.js. grpc error caused the process to exit. Environment
Reproduction stepsI can’t reproduce the steps because I don’t know how to trigger this bug. The program crashed during normal operation due to grpc error Additional context
|
Problem description
Node 14 has some breaking changes regarding ArrayBuffers as noted here nodejs/node#30782 and https://nodejs.org/en/blog/release/v14.0.0/
Reproduction steps
I don't have solid/standalone reproduction steps as of yet, but there is a relevant issue here with the same stacktrace that we received: pulumi/pulumi#4258 (comment)
Environment
Additional context
nodejs/node#32463
The text was updated successfully, but these errors were encountered: