Skip to content

Commit 8dffc89

Browse files
committed
Apply PCX style guide
1 parent ff444a6 commit 8dffc89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/cloudflare-one/faq/troubleshooting.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,6 @@ If you need to unblock port `25`, contact your account team.
177177

178178
## I see `502 Bad Gateway` when browsing to a website.
179179

180-
This issue can occur when communicating with the origin that partially support HTTP/2. In these scenarios, the connection from Gateway to the website starts using HTTP/2 but request a downgrade to HTTP/1.1 for some requests. For instance, [servers like IIS don't support auth (and possibly other cases) over HTTP/2](](https://learn.microsoft.com/en-us/iis/get-started/whats-new-in-iis-10/http2-on-iis#when-is-http2-not-supported)). Such the website may send back a `RST_STREAM` frame with the error code `HTTP_1_1_REQUIRED`, which indicates that the browser should retry over HTTP/1.1. Gateway currently translates any received upstream `RST_STREAM` to a pseudo socket close, so you see this as a `502 Bad Gateway` exception page, and the browser doesn't know why it failed.
180+
This issue can occur when communicating with an origin that partially supports HTTP/2. In these scenarios, the connection from Gateway to the website starts using HTTP/2 but requests a downgrade to HTTP/1.1 for some requests. For example, servers such as [Microsoft Internet Information Services (IIS)](https://learn.microsoft.com/iis/get-started/whats-new-in-iis-10/http2-on-iis#when-is-http2-not-supported) do not support authentication over HTTP/2. When errors occur, the website may send back a `RST_STREAM` frame with the error code `HTTP_1_1_REQUIRED`, which indicates that the browser should retry the request over HTTP/1.1. Gateway translates any received upstream `RST_STREAM` frames to a pseudo socket close, so this appears as a `502 Bad Gateway` exception page. The browser will not indicate why failed.
181181

182-
Gateway do not support for this downgrade mechanism whereby Gateway will re-issue requests over HTTP/1.1 when receiving the `HTTP_1_1_REQUIRED` error code. To make the connection from Gateway to the website successfully, you will need to disable HTTP/2 at the origin.
182+
Gateway does not support this downgrade mechanism. Instead, when receiving the `HTTP_1_1_REQUIRED` error code, Gateway will reissue requests over HTTP/1.1. To make the connection from Gateway to the website successfully, you will need to disable HTTP/2 at the origin.

0 commit comments

Comments
 (0)