From 209a0411566a75d4f342e61882df2f4671c4d812 Mon Sep 17 00:00:00 2001 From: Michael Bravo Date: Wed, 8 Feb 2023 22:13:38 +0200 Subject: [PATCH 1/2] set increased timeout on api Default timeout needs to be increased on API endpoint as well as on the websocket (though smaller) - otherwise, especially on slower systems and with large Gcode files plus object exclusion, sending directly from slicer times out with HTTP 504 --- resources/mainsail | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/mainsail b/resources/mainsail index efabb63..6d63b07 100644 --- a/resources/mainsail +++ b/resources/mainsail @@ -55,6 +55,7 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Scheme $scheme; + proxy_read_timeout 600; } location /webcam/ { -- 2.39.5 From 10ecdfefba5e03776e8995fe1cc920ededdf7d47 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Sat, 25 Feb 2023 12:59:49 +0100 Subject: [PATCH 2/2] fix(fluidd): set increased read timeout on API endpoint Signed-off-by: Dominik Willner --- resources/fluidd | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/fluidd b/resources/fluidd index f25e487..468fad4 100644 --- a/resources/fluidd +++ b/resources/fluidd @@ -55,6 +55,7 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Scheme $scheme; + proxy_read_timeout 600; } location /webcam/ { -- 2.39.5