"Upload Failed" when uploading gcode

image

Hello All,

I have been troubleshooting the above issue and found the root cause. Posting it here to help others. For me, the issue occurred when uploading files larger than 1MB, but smaller files uploaded okay.

Root Cause:
I am using NGINX (reverse-proxy), and the default config has an upload limit of 1MB.

Here is an example of increasing the upload limit...

server {
client_max_body_size 100M;

# your other server config...

}