Skip to content

chore: record and raise problematic http protocols for each proxy #15917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Dec 20, 2024

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Dec 18, 2024

Closes #15887

Adds warnings to the proxy and proxy health pages on HTTP 1.1, 1.0, 0.9 protocols.

Screenshot From 2024-12-18 08-52-38

Implementation notes

Only the performance API can return the HTTP protocol type. We already use the performance API for latency timings, and each proxy could have this issue. So it made the most sense to put the warnings here.

Imo we should raise this error to admins more seriously and obviously, but that can wait.

@Emyrk Emyrk marked this pull request as ready for review December 18, 2024 14:33
@Emyrk Emyrk requested a review from aslilac December 18, 2024 16:26
Comment on lines 37 to 41
`Requests to the proxy are using ${latency.nextHopProtocol}, ` +
"the server might not support HTTP/2. " +
"For usability reasons, HTTP/2 or above is recommended. " +
"Pages may fail to load if the web browser's concurrent " +
"connection limit is reached.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find this description really unclear. Requests to the proxy from where? What server? Why is there a comma separating what feels like two sentences? I think this needs a bit more refinement

Copy link
Member Author

@Emyrk Emyrk Dec 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about:

`Requests to the proxy from current browser are using "${latency.nextHopProtocol}". ` +
"The proxy server might not support HTTP/2. " +
"For usability reasons, HTTP/2 or above is recommended. " +
"Pages may fail to load if the web browser's concurrent " +
"connection limit per host is reached.",

@Emyrk Emyrk requested a review from aslilac December 19, 2024 15:12
@Emyrk Emyrk merged commit 6e021b6 into main Dec 20, 2024
29 checks passed
@Emyrk Emyrk deleted the stevenmasley/http_protocol branch December 20, 2024 15:11
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can only open 3 workspace tabs open at a time on Chrome without HTTP2 proxy
2 participants