Skip to content

Error when uploading large archives #68

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

Open
justinsvetlik opened this issue Apr 29, 2025 · 1 comment
Open

Error when uploading large archives #68

justinsvetlik opened this issue Apr 29, 2025 · 1 comment
Assignees

Comments

@justinsvetlik
Copy link

justinsvetlik commented Apr 29, 2025

Package version

10.0.3

Describe the bug

When we try uploading large zipped files manually using bodyparser 10.0.3 we are receiving a fatal error message from bodyparser but no error event is fired and no exception is thrown. In the included tests the file does still upload, but on our servers with much larger files the process does eventually fail with a 500 server error.

FATAL (4345): Unhandled multipart stream error. Make sure to handle "error" events for all manually processed streams

If we force @adonisjs/core to use version 10.0.2, as seen below, we do not have this issue. The contents of the archive uploaded on their own (not zipped) will also succeed without issue (10.0.3).

 "overrides": {
    "@adonisjs/core": {
      "@adonisjs/bodyparser": "10.0.2"
    }
  },

Reproduction repo

https://github.com/smiAware/bodyparser-error

Copy link

This issue has been marked as stale because it has been inactive for more than 21 days. Please reopen if you still need help on this issue

@github-actions github-actions bot added the Stale label May 21, 2025
@thetutlage thetutlage removed the Stale label May 23, 2025
@thetutlage thetutlage self-assigned this May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants