-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
What version of Bun is running?
1.2.7+5c0fa6dc2
What platform is your computer?
Linux 6.12.5-linuxkit aarch64 unknown (docker node:22 image)
What steps can reproduce the bug?
look like that error hasn't been resolved yet
Query: rollback
2181 | stream.emit("wantTrailers");
2182 | },
2183 | goaway(self, errorCode, lastStreamId, opaqueData) {
2184 | if (!self)
2185 | return;
2186 | self.#parser.emitErrorToAllStreams(errorCode);
^
TypeError: null is not an object (evaluating 'self.emit')
at goaway (node:http2:2186:21)
13 INTERNAL: Received RST_STREAM with code 3 at callErrorFromStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/call.js:32:23) at onReceiveStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/client.js:193:56) at onReceiveStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:361:141) at onReceiveStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:324:181) at <anonymous> (/usr/src/app/node_modules/@grpc/grpc-js/build/src/resolving-call.js:135:78) at processTicksAndRejections (native:7:39) for call at at makeUnaryRequest (/usr/src/app/node_modules/@grpc/grpc-js/build/src/client.js:96:75) at <anonymous> (/usr/src/app/src/infra/service/grpcClient/grpcClient.ts:25:11) at Promise (unknown:1:11) at <anonymous> (/usr/src/app/src/infra/service/grpcClient/grpcClient.ts:24:36) at <anonymous> (/usr/src/app/src/infra/service/grpcClient/grpcClient.ts:40:25) at requestHandler (/usr/src/app/src/infra/service/grpcClient/grpcClient.ts:21:38) at <anonymous> (/usr/src/app/src/infra/service/staticManagerClient/service/pictureService.ts:5:32) at <anonymous> (/usr/src/app/src/infra/service/staticManagerClient/service/pictureService.ts:3:34) at <anonymous> (/usr/src/app/src/domain/profile/uploadAvatar.ts:3:148) at processTicksAndRejections (unknown:7:39) at goaway (node:http2:2186:21)
send image (upper to 1MB, sometimes working with a small sized image) to a gRPC microservice using @grpc/grpc-js package
the image is upload as a Uint8Array
try the same process using nodejs without any problem
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response