Skip to content

Give Traefik's request read timeout room for slow uploads - #2009

Open
romleiaj wants to merge 1 commit into
mainfrom
fix/traefik-read-timeout
Open

romleiaj wants to merge 1 commit into
mainfrom
fix/traefik-read-timeout

Conversation

@romleiaj

@romleiaj romleiaj commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Traefik v3 limits reading a whole request, body included, to 60s by default, and neither compose file changed it. The web client uploads in 64MB chunks, so any chunk a link cannot deliver within a minute was cut off mid-body and the multicam upload failed. On a ~2.75 MB/s link shared by five parallel uploads, the 26MB RGB frames of a KAMERA flight did exactly that.

Set respondingTimeouts.readTimeout on the web (dev) and websecure (prod) entrypoints to TRAEFIK_READ_TIMEOUT, default 600s -- enough for a 64MB chunk at ~0.1 MB/s while still bounding a stalled client. Videos get through because they don't have the default batch-5 upload, so this is a corner case of an image sequence with large images on a slow network connection.

Traefik v3 limits reading a whole request, body included, to 60s by
default, and neither compose file changed it. The web client uploads in
64MB chunks, so any chunk a link cannot deliver within a minute was cut off
mid-body and the multicam upload failed. On a ~2.75 MB/s link shared by five
parallel uploads, the 26MB RGB frames of a KAMERA flight did exactly that.

Set respondingTimeouts.readTimeout on the web (dev) and websecure (prod)
entrypoints to TRAEFIK_READ_TIMEOUT, default 600s -- enough for a 64MB chunk
at ~0.1 MB/s while still bounding a stalled client.

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant