From 5513f245b324570fe08c58af949059b03f19ee25 Mon Sep 17 00:00:00 2001 From: Dustin Kaiser Date: Thu, 19 Sep 2024 10:34:22 +0200 Subject: [PATCH 1/2] Mitigate dy-service file upload bug: Increase traefik timeouts --- services/docker-compose.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/services/docker-compose.yml b/services/docker-compose.yml index eea7ae1726b..60417e194f4 100644 --- a/services/docker-compose.yml +++ b/services/docker-compose.yml @@ -1192,10 +1192,15 @@ services: - "--metrics.prometheus.entryPoint=metrics" - "--entryPoints.http.address=:80" - "--entryPoints.http.forwardedHeaders.insecure" - - "--entryPoints.simcore_api.address=:10081" + - "--entryPoints.http.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805 + - "--entryPoints.http.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805 + - "--entryPoints.http.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805 - "--entryPoints.simcore_api.address=:10081" - "--entryPoints.simcore_api.forwardedHeaders.insecure" - - "--entryPoints.traefik_monitor.address=:8080" + - "--entryPoints.simcore_api.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805 + - "--entryPoints.simcore_api.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805 + - "--entryPoints.simcore_api.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805 - "--entryPoints.traefik_monitor.forwardedHeaders.insecure" + - "--entryPoints.traefik_monitor.address=:8080" - "--providers.swarm.endpoint=unix:///var/run/docker.sock" - "--providers.swarm.network=${SWARM_STACK_NAME}_default" # https://github.com/traefik/traefik/issues/7886 @@ -1206,7 +1211,6 @@ services: - "--tracing.addinternals" - "--tracing.otlp=true" - "--tracing.otlp.http=true" - # - "--tracing.otlp.http.endpoint=0.0.0.0:4318/v1/traces" volumes: # So that Traefik can listen to the Docker events - /var/run/docker.sock:/var/run/docker.sock From e35d2733d4bd7c298933ebd208cd9670255a7d0a Mon Sep 17 00:00:00 2001 From: Dustin Kaiser Date: Thu, 19 Sep 2024 10:39:52 +0200 Subject: [PATCH 2/2] Mitigate dy-service file upload bug: Increase traefik timeouts - 2 --- services/docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/docker-compose.yml b/services/docker-compose.yml index 60417e194f4..60ce2c26b17 100644 --- a/services/docker-compose.yml +++ b/services/docker-compose.yml @@ -1195,12 +1195,13 @@ services: - "--entryPoints.http.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805 - "--entryPoints.http.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805 - "--entryPoints.http.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805 - "--entryPoints.simcore_api.address=:10081" + - "--entryPoints.simcore_api.address=:10081" - "--entryPoints.simcore_api.forwardedHeaders.insecure" - "--entryPoints.simcore_api.transport.respondingTimeouts.idleTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805 - "--entryPoints.simcore_api.transport.respondingTimeouts.writeTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805 - "--entryPoints.simcore_api.transport.respondingTimeouts.readTimeout=21600s" #6h, for https://github.com/traefik/traefik/issues/10805 - - "--entryPoints.traefik_monitor.forwardedHeaders.insecure" - "--entryPoints.traefik_monitor.address=:8080" + - "--entryPoints.traefik_monitor.forwardedHeaders.insecure" - "--providers.swarm.endpoint=unix:///var/run/docker.sock" - "--providers.swarm.network=${SWARM_STACK_NAME}_default" # https://github.com/traefik/traefik/issues/7886