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

Large uploads fail #10

Open
Kaelum opened this issue Dec 4, 2023 · 0 comments
Open

Large uploads fail #10

Kaelum opened this issue Dec 4, 2023 · 0 comments

Comments

@Kaelum
Copy link

Kaelum commented Dec 4, 2023

I was able to fix the issue. The bug is due to the fact that the printer has 10Mb network connection. Klipper requires a minimum of a 100Mb connection for network communications. NGINX has a default timeout of 60 seconds, so if the upload takes longer than 60 seconds, the upload fails. Creality Print doesn't use the Klipper upload through NGINX, which works around the issue. To fix Klipper, the NGINX timeouts need to be increased to 600 seconds (10 minutes). This is done by adding the following to the http { } section of the /usr/data/nginx/nginx/nginx.conf file:

proxy_read_timeout 600;
proxy_connect_timeout 600;
proxy_send_timeout 600;
send_timeout 600;

After that has been added, reboot the printer and both Mainsail and fluidd will work.

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

1 participant