Repository navigation
bug-report-py 3.0.2: the proxy never sends Connection: close; a short body is a 502 - #30
Merged
Merged
Conversation
…nnection; a short body is a 502 Azure Container Apps' internal ingress cuts a large response short when the request says Connection: close, which urllib always sends: a 761 KB screenshot through seal's proxy arrived as 65-311 KB, 3 of 3; without the header, whole, 3 of 3 (2026-11-15). The proxy goes out over http.client; IncompleteRead becomes a 502. Both new tests fail on the urllib proxy. Co-Authored-By: Claude Opus 5.5 <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.
Symptom (seal, live, 2026-11-15): 8 of 10 screenshots in seal's new Bugs page were broken images. The proxy crashed with
IncompleteRead(229140 bytes read, 532299 more expected)and returned 500.Cause (probed from inside the seal container): Azure Container Apps' internal ingress cuts a large response short when the request carries
Connection: close. The same request toleaphq-reportsgave:Connection: close: 65 KB, 229 KB and 106 KB, 3 times out of 3.urllib, which the proxy used, always sendsConnection: close.Ruled out first:
Fix:
http.client, which sends HTTP/1.1 keep-alive and follows no redirects, as before.Tests (T4), both failing on the old urllib proxy:
Connection: close;Suites, all passing: Python 351, CLI 7, e2e 96.
Tag
backends-v3.0.2after merge.🤖 Generated with Claude Code