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

Request body larger than maxBodyLength #68

Closed
odama626 opened this issue Dec 16, 2020 · 4 comments
Closed

Request body larger than maxBodyLength #68

odama626 opened this issue Dec 16, 2020 · 4 comments

Comments

@odama626
Copy link

When trying to bundle an app I ran into an error

error: Error: Request body larger than maxBodyLength limit
@pscanf
Copy link
Member

pscanf commented Dec 16, 2020

Hey @odama626 , currently there's a ~80MB limit on the size of the uploaded bundle. If you do a tar -zcvf bundle.tar.gz your-app-build-folder/ is the produced bundle.tar.gz file larger than ~80MB? (The limit is not configurable right now, but it's trivial to increase it / make it configurable)

@odama626
Copy link
Author

It looks like one of them is 25mb and the other is 37.. I did just update the cli though, I wonder if it could be caused by a version mismatch between the client and server? The 25mb bundle has been deployed successfully before

@pscanf
Copy link
Member

pscanf commented Dec 16, 2020

Ah, bad news then. Looking around, I think it might be due to this axios/axios#2781 breaking change (unfortunately not listed as such), which I pulled in updating dependencies. Using the v0.15.2 CLI should fix it. I'll push a fix for that tonight. Thanks for the catch!

@pscanf pscanf closed this as completed in fbf0012 Dec 16, 2020
@pscanf
Copy link
Member

pscanf commented Dec 16, 2020

Fixed in v0.15.4.

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