Question

How to increase upload max file size on app platform with nodeJs app

Hi, i have a Node app deploy in app platform system, i need to increase the upload max file size, i only found info for php. Do you know how i can do that ?

Thanks


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
August 19, 2022

Hi there,

I believe that by default Node.js does not have a hard limit on the upload file size. What is the exact error that you are getting?

Note that, there is a hard set 100s timeout limit for each request in the App platform itself for requests that unfortunately can’t be changed. However, if your upload request is timing out in let’s say 30 seconds that could be due to resource exhaustion.

Feel free to share the exact error and I should be able to advise you further.

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up