Repository navigation
Conversation
Envoy Gateway gives every HTTPRoute rule without a timeouts block a 15s request timeout. The file-service rule (version zips, uploads) and the RustFS route (presigned downloads) stream for as long as the object takes, so large transfers were cut off after the 200 was sent and the browser saved a truncated file. Both rules now take gatewayConfig.objectStreamTimeout, defaulting to "0s" (no limit); Envoy's stream idle timeout still reaps stalled transfers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…es knob Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
Envoy Gateway gives every
HTTPRouterule that has notimeoutsblock a 15s request timeout, which covers the whole response including the body. Two routes stream whole objects for as long as the transfer takes:/api/dataset,/api/access/dataset,/api/model,/api/access/model), which serves version zips and uploadsWhen the 15s limit fires, the
200and part of the body have already been sent. Envoy closes the stream, and the browser saves a truncated file. Example from the ADMAP deployment's Envoy access log for a version zip:The resulting 46 MB file has no zip central directory, so it can't be opened.
Change: both rules now set
timeouts.request: "24h". The value is declared once at the top ofgateway-routes.yamlas$objectStreamTimeout. It follows the existing notebook-migration rule in the same file, which also hardcodes its timeout.Only
timeouts.requestis set;backendRequestis left unset, matching the other rules.Any related issues, documentation, discussions?
Fixes apache#8445. Supersedes the chart half of apache#8446, rebased onto the current chart, which now uses RustFS instead of MinIO. The frontend half (the blob download path) is left for a separate change.
How was this PR tested?
helm templateoftemplates/base/gateway/gateway-routes.yamlwithrustfs.gateway.enabled=truerendersrequest: "24h"on the file-service rule and on the RustFS route. The existingllmRequestTimeout(10m) and notebook-migration (3m) rules render unchanged.Not yet tested on a live cluster. The next step is to apply the same
timeoutson the ADMAP deployment (Envoy Gateway v1.6.3, which supportsHTTPRoute.spec.rules[].timeouts) and re-download dataset 66 v6 to confirm the zip arrives complete.Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 5.5
🤖 Generated with Claude Code