Skip to content

Commit f5bf3be

Browse files
committed
Moves other errors to HTTP/2
1 parent 90d8bcc commit f5bf3be

File tree

3 files changed

+27
-39
lines changed

3 files changed

+27
-39
lines changed

public/__redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,6 +1182,7 @@
11821182
/support/more-dashboard-apps/cloudflare-apps/managing-cloudflare-apps/ /workers/ 301
11831183
/support/more-dashboard-apps/cloudflare-apps/removing-cloudflare-apps/ /workers/ 301
11841184
/support/troubleshooting/http-status-codes/http-status-codes/ /support/troubleshooting/http-status-codes/ 301
1185+
/support/troubleshooting/cloudflare-errors/troubleshooting-other-errors/ /speed/optimization/protocol/http2/#err_http2_protocol_error 301
11851186

11861187
# r2
11871188
/r2/platform/s3-compatibility/api/ /r2/api/s3/api/ 301

src/content/docs/speed/optimization/protocol/http2.mdx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,29 @@ To disable **HTTP/2** in the dashboard:
4242
To disable **HTTP/2** with the API, send a [`PATCH`](/api/resources/zones/subresources/settings/methods/edit/) request with `http2` as the setting name in the URI path, and the `value` parameter set to `"off"`.
4343

4444
</TabItem> </Tabs>
45+
46+
## ERR_HTTP2_PROTOCOL_ERROR
47+
48+
Requests proxied by Cloudflare may result with an error for the visitors with `ERR_HTTP2_PROTOCOL_ERROR` visible in the Developer Tools Console. These errors are usually due to an issue on the origin web server configuration, but might only materialize when requests are proxied by Cloudflare depending on the client browser's behavior. Some possible causes are:
49+
50+
### Malformed HTTP response headers
51+
52+
The origin web server may be sending improperly formatted HTTP response headers.
53+
54+
#### Resolution
55+
56+
Make a request directly to your origin web server and inspect its HTTP response headers for anomalies. Make sure that the field values respect the following requirements:
57+
58+
- [RFC 9110](https://www.rfc-editor.org/rfc/rfc9110.html#section-5.5),
59+
- [RFC 9113](https://www.rfc-editor.org/rfc/rfc9113.html#section-8.2.1)
60+
- [RFC 5234](https://www.rfc-editor.org/rfc/rfc5234#appendix-B.1).
61+
62+
### Compression issues
63+
64+
Examples of compression issues include the origin web server serving gzip encoded compressed content but failing to update the `Content-Length` header, or the origin web server serving broken gzip compressed content.
65+
66+
#### Resolution
67+
68+
You can try to disable compression at your origin web server and rely on Cloudflare to [compress content](/speed/optimization/content/compression/).
69+
70+
You can also review your origin server's compression settings to make sure the compression is working as expected.

src/content/docs/support/troubleshooting/cloudflare-errors/troubleshooting-other-errors.mdx

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)