Skip to content

Fix 504 Gateway Timeouts for legacy uploads#148

Merged
GermanCoding merged 2 commits intomainfrom
timeouts-again
Mar 20, 2026
Merged

Fix 504 Gateway Timeouts for legacy uploads#148
GermanCoding merged 2 commits intomainfrom
timeouts-again

Conversation

@GermanCoding
Copy link
Copy Markdown
Contributor

The legacy /upload endpoint blocks until analysis completes before returning. With the k8s Gateway API the default HTTP response timeout is implementation-specific. Particularly envoy has a default timeout of 15s which is too low for this endpoint.

Disable the timeout entirely for this endpoint only - the newer endpoints can handle short timeouts.

The legacy /upload endpoint blocks until analysis completes before
returning. With the k8s Gateway API the default HTTP response timeout is
implementation-specific. Particularly envoy has a default timeout of 15s
which is too low for this endpoint.

Disable the timeout entirely for this endpoint only - the newer
endpoints can handle short timeouts.
@GermanCoding GermanCoding merged commit 7cd27e2 into main Mar 20, 2026
1 check passed
@GermanCoding GermanCoding deleted the timeouts-again branch March 20, 2026 12:32
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