Troubleshoot protocol issues
This guide covers common HTTP/2 and HTTP/3 issues, including origin incompatibility, multiplexing errors, and browser errors, with steps to diagnose and resolve them.
- The origin's
max_concurrent_streamsis negotiated during the handshake process. - If a
GOAWAY(0)is received, it is likely due to a server restart or another reason causing the server to refuse new streams. - For more information, refer to RFC 9113 - SETTINGS_MAX_CONCURRENT_STREAMS ↗.
- Multiplexing issues can arise due to incorrect server configurations.
- Use netlogs ↗ to identify
SETTINGS_MAX_CONCURRENT_STREAMSviolations or unexpectedGOAWAYframes. - For more information, refer to Stream Concurrency Issues ↗.
Common browser errors include:
ERR_HTTP2_PROTOCOL_ERRORERR_HTTP3_PROTOCOL_ERRORERR_QUIC_PROTOCOL_ERROR
These errors do not necessarily indicate a protocol-level issue. Follow these steps:
- Attempt reproduction using HTTP/1.1.
- If the issue persists in HTTP/1.1, address the underlying error before testing HTTP/2 or HTTP/3.
- If the issue does not persist, analyze netlogs for HTTP/2 or HTTP/3-specific issues.
For more information, refer to Chromium URL Request Header ↗.
If the issue reproduces only in Chrome over HTTP/3 and disappears when HTTP/3 is disabled, the problem may be related to a browser-side QUIC handling issue rather than your origin server. This is a known Chrome issue (crbug.com/41161335 ↗) — Cloudflare's QUIC implementation is not the cause.
Symptoms can include:
- Large downloads stall unexpectedly.
- Pages with many concurrent requests hang for one to three minutes and then fail.
- Chrome reports
ERR_QUIC_PROTOCOL_ERRORorERR_HTTP3_PROTOCOL_ERRORafter the connection stops making progress. - Issue does not reproduce in Firefox or Safari.
- Issue resolves after disabling QUIC in
chrome://flags.
- Temporarily disable HTTP/3 for the zone.
- Test the same request again over HTTP/2.
- If the issue disappears over HTTP/2, capture a NetLog for Chrome and compare the behavior.
Test immediately: In Chrome, go to chrome://flags, search for "QUIC", set it to Disabled, then relaunch Chrome.
If the issue is limited to specific hostnames, you can apply a more targeted workaround: create a Response Header Modification Transform Rule to remove the Alt-Svc header for the affected hostname.
- In the Cloudflare dashboard, go to the Rules Overview page.
- Select Create rule > Response Header Transform Rule.
- Set the matching expression to your hostname:
(http.host eq "example.com"). - Under Modify response header, select Remove and enter
Alt-Svcas the header name.
This forces Chrome to use HTTP/2 for that hostname without disabling HTTP/3 globally. However, proxied hostnames can also advertise HTTP/3 through generated HTTPS records, so disabling HTTP/3 for the zone is the most reliable way to force HTTP/2 while you troubleshoot.
After changing Alt-Svc, remember that browsers may cache the advertised alternative service for up to 24 hours.