Verify and implement the NGINX 8 KiB header line limit - #3574
Merged
Conversation
Observed against real Vuforia on 2026-09-08: both the Target API and the Query API return NGINX's "400 Request Header Or Cookie Too Large" HTML response for any header line of 8191 bytes or more, and accept a line of 8190 bytes. The mock now does the same, checked before any other validation, and a test runs the cases against every backend. The related behaviors which were observed but are not implemented (an Envoy cookie allowance, the AWS load balancer's 16 KiB limit and the Query API application server's 431) are recorded in the differences document, and the never-attempted entry is removed. Closes #3571 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
adamtheturtle
temporarily deployed
to
development
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
had a problem deploying
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Failure
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
adamtheturtle
temporarily deployed
to
vuforia
September 8, 2026 06:32 — with
GitHub Actions
Inactive
pytest-retry checks whether the failing exception's type is in the filtered tuple, so a subclass of a listed type is never retried. The tuple listed requests' Timeout, but requests raises ReadTimeout and ConnectTimeout, so a TLS handshake timeout against real Vuforia failed a job outright instead of being retried. List the concrete types, and requests' ConnectionError, explicitly. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
Closes #3571.
What was verified
Signed requests were sent to real Vuforia on 2026-09-08 with a single header, and with a cookie, of various sizes.
GET /summary)Server: awselb/2.0), shorter bodyCookieline 8193 bytesPOST /v1/query)Server: nginxThe documented "8 KiB" limit is real: NGINX rejects any header line which, with its CRLF, does not fit an 8192-byte buffer.
Changes
tests/mock_vws/test_header_size.pycovers an over-long header, an over-long cookie and a large header within the limit, against every backend. All 33 real-Vuforia cases pass locally.unverified-behavior.rst.Note for probing in future:
GET /targetshas a one-per-minute limit, and its Envoy 429s initially made the results look non-deterministic.GET /summarygives clean results.🤖 Generated with Claude Code