Skip to content
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

nestjs with fastify throw global error ERR_STREAM_PREMATURE_CLOSE #9744

Closed
6 of 15 tasks
vichbb opened this issue Jun 8, 2022 · 4 comments
Closed
6 of 15 tasks

nestjs with fastify throw global error ERR_STREAM_PREMATURE_CLOSE #9744

vichbb opened this issue Jun 8, 2022 · 4 comments
Labels
needs triage This issue has not been looked into

Comments

@vichbb
Copy link

vichbb commented Jun 8, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

in api some times will throw global error: ERROR ERR_STREAM_PREMATURE_CLOSE
image

Minimum reproduction code

can not provide

Steps to reproduce

No response

Expected behavior

do not throw error

Package

  • I don't know. Or some 3rd-party package
  • @nestjs/common
  • @nestjs/core
  • @nestjs/microservices
  • @nestjs/platform-express
  • @nestjs/platform-fastify
  • @nestjs/platform-socket.io
  • @nestjs/platform-ws
  • @nestjs/testing
  • @nestjs/websockets
  • Other (see below)

Other package

No response

NestJS version

8.4.4

Packages versions

can not provide

Node.js version

v16.15

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

in k8s

@vichbb vichbb added the needs triage This issue has not been looked into label Jun 8, 2022
@Tony133
Copy link
Contributor

Tony133 commented Jun 8, 2022

Hi @vichbb , I advise you to leave a minimal reproduction of a clonable git repository so that the core team can evaluate the problem you have reported.

However if you have difficulty you can always use the discord channel for support.

@vichbb
Copy link
Author

vichbb commented Jun 8, 2022

OK, I will

@vichbb
Copy link
Author

vichbb commented Jun 9, 2022

The error may come from fastify or compress. fastify/fastify-compress#215

@vichbb
Copy link
Author

vichbb commented Jun 9, 2022

I repeat this error. I use postman to execute a request circularly. When the request stops at any time, if the request is being transmitted at this time, this error will occur. I think this may not be a bug

@vichbb vichbb closed this as completed Jun 9, 2022
@nestjs nestjs locked and limited conversation to collaborators Jun 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs triage This issue has not been looked into
Projects
None yet
Development

No branches or pull requests

2 participants