#Timing out when uploading larger files

34 messages · Page 1 of 1 (latest)

rocky leaf
#

Im getting this error ""504 Gateway Time-out nginx/1.18.0"" , when trying to upload larger gcode files , since updating fluidd, klipper and moonraker (first update since january) . Never had this issue before . File will eventually show up in fluidd if i wait long enough , but something isnt right. Any ideas ?

worldly zealot
#

Does the pi have good internet connection?

rocky leaf
#

files uploads, then goes to processing, and hangs up there and throws the time out error . about 4-5 min later it will show up in fluidd tho

glass slate
# rocky leaf moonraker log

upload your full moonraker.log. snippets are "useless"... and what is a "larger file"? pls tell us your filesize.

rocky leaf
#

i tried modifying ""gcode_store_size = 1000"" to 20000, to see if it would have any affect, but it hasnt

#

probably should add that i just installed klipperscreen as well along with doing all the updates . no idea if it would matter, but just covering all the bases

rocky leaf
#

issue still isnt resolved ,hoping someone can help 🙂

glass slate
#

just out of interest. why do you ask as a fluidd user on the mainsail discord for help?

#

pls try to enable the debug mode of moonraker and try to upload a file and upload the new moonraker.log. after that. pls change back and disable the debug mode (this creates a really huge log)

rocky leaf
glass slate
rocky leaf
gray tendon
#

That’s not that easy.

#

How is your sbc setup’ed

#

SSH in it an do ls -ls ~/

#

That gives me the first idea in what direction I need to push you

rocky leaf
# gray tendon That’s not that easy.

""pi@fluiddpi:~ $ ls -ls ~/
total 1032
964 -rw-r--r-- 1 pi pi 986253 Dec 8 11:25 boot-image.png
4 drwxr-xr-x 7 pi pi 4096 Jan 31 2023 CanBoot
4 drwxr-xr-x 5 pi pi 4096 Dec 5 16:41 fluidd
4 drwxr-xr-x 3 pi pi 4096 Dec 13 14:23 gcode_files
4 drwxr-xr-x 7 pi pi 4096 Dec 6 14:55 katapult
4 drwxr-xr-x 7 pi pi 4096 Dec 7 13:42 kiauh
4 drwxr-xr-x 3 pi pi 4096 Dec 7 13:42 kiauh-backups
4 drwxr-xr-x 12 pi pi 4096 Dec 6 17:40 klipper
4 drwxr-xr-x 2 pi pi 4096 Dec 11 12:44 klipper_config
4 drwxr-xr-x 2 pi pi 4096 Dec 13 13:42 klipper_logs
4 drwxr-xr-x 9 pi pi 4096 Dec 7 13:42 KlipperScreen
4 drwxr-xr-x 5 pi pi 4096 Dec 5 16:41 klipper_z_calibration
4 drwxr-xr-x 5 pi pi 4096 Feb 25 2022 klippy-env
4 drwxr-xr-x 10 pi pi 4096 Feb 25 2022 mjpg-streamer
4 drwxr-xr-x 8 pi pi 4096 Dec 5 16:42 moonraker
4 drwxr-xr-x 5 pi pi 4096 Feb 25 2022 moonraker-env
4 drwxr-xr-x 6 pi pi 4096 Dec 5 16:42 printer_data
4 -rwxrwxrwx 1 root root 870 Dec 5 17:41 update_klipper.sh
""

gray tendon
#

Ok ls -la ~/printer_data/systemd/

rocky leaf
glass slate
rocky leaf
glass slate
#

pls add a -g to the MOONRAKER_ARGS

#

so inside of the "

rocky leaf
#

ok got it , i was missing the very end of the line

glass slate
#

yep. i think there is .log missing in your snipped

rocky leaf
#

yea lol

rocky leaf
glass slate
#

can you also upload your nginx config? this should be in /etc/nginx/sites-enabled/fluidd