By parth24
Using droplet - nodejs backend - trying to upload images/videos >200 MB – tested uploading one video of 195 MB, tested uploading 30 images overall 200 MB
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!
Hello, @parth24
Would you mind sharing more details about the 504 timeouts? Have you checked the weblogs to track down the exact error message and also do you run the Node.js server with Nginx for example?
If you’re using Nginx make sure to check the value of client_max_body_size and also check for the memory usage on the droplet during the file uploads.
A similar issue was described in this question in our community:
https://www.digitalocean.com/community/questions/504-gateway-time-out-nginx-nodejs
Hope that this helps! Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.