From 140fb10a38f7cfd363a8de00af2998c084526a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=84=CA=9C=CA=80=C9=AAs=E1=B4=9B=E1=B4=8F=E1=B4=98?= =?UTF-8?q?=CA=9C=E1=B4=87=CA=80=20=E1=B4=8D?= Date: Sun, 23 Mar 2025 12:34:35 -0400 Subject: [PATCH 1/3] Add a hint for workers --- .../connect-networks/troubleshoot-tunnels/common-errors.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx b/src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx index 6ac2ac9890e977b..c10119cd8556252 100644 --- a/src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx +++ b/src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx @@ -92,6 +92,8 @@ There are a few different possible root causes behind the `websocket: bad handsh - Your SSH or RDP Access application has the [Binding Cookie](/cloudflare-one/identity/authorization-cookie/#binding-cookie) enabled. To disable the cookie, go to **Access** > **Applications** and edit the application settings. +- One or more [Workers Routes](/workers/configuration/routing/routes/) are overlapping with the tunnel hostname, and the Workers do not properly handle the traffic. To resolve, check if the Routes or the code can be adjusted accordingly. + ## My tunnel randomly disconnects. Long-lived connections initiated through the Cloudflare Zero Trust platform, such as SSH sessions, can last up to eight hours. However, disruptions along the service path may result in more frequent disconnects. Often, these disconnects are caused by regularly scheduled maintenance events such as data center, server, or service updates and restarts. If you believe these events are not the cause of disconnects in your environment, collect the relevant [WARP logs](/cloudflare-one/connections/connect-devices/warp/troubleshooting/warp-logs/) and [Tunnel logs](/cloudflare-one/connections/connect-networks/monitor-tunnels/logs/) and contact Support. @@ -175,4 +177,4 @@ By default the [`cloudflared` Docker container](https://github.com/cloudflare/cl ## Cloudflare Tunnel is buffering my streaming response instead of streaming it live. -Proxied traffic through Cloudflare Tunnel is buffered by default unless the origin server includes the response header `Content-Type: text/event-stream`. The `Content-Type: text/event-stream` response header tells `cloudflared` to stream data as it arrives instead of buffering the entire response. \ No newline at end of file +Proxied traffic through Cloudflare Tunnel is buffered by default unless the origin server includes the response header `Content-Type: text/event-stream`. The `Content-Type: text/event-stream` response header tells `cloudflared` to stream data as it arrives instead of buffering the entire response. From 25eb3e382df84415d06b9bb4cbe4af67c0d09c90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=84=CA=9C=CA=80=C9=AAs=E1=B4=9B=E1=B4=8F=E1=B4=98?= =?UTF-8?q?=CA=9C=E1=B4=87=CA=80=20=E1=B4=8D?= Date: Tue, 29 Apr 2025 13:07:46 -0400 Subject: [PATCH 2/3] Update src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx Co-authored-by: Kate Tungusova <70746074+deadlypants1973@users.noreply.github.com> --- .../connect-networks/troubleshoot-tunnels/common-errors.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx b/src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx index c10119cd8556252..efca7312f4f9b7f 100644 --- a/src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx +++ b/src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx @@ -92,7 +92,7 @@ There are a few different possible root causes behind the `websocket: bad handsh - Your SSH or RDP Access application has the [Binding Cookie](/cloudflare-one/identity/authorization-cookie/#binding-cookie) enabled. To disable the cookie, go to **Access** > **Applications** and edit the application settings. -- One or more [Workers Routes](/workers/configuration/routing/routes/) are overlapping with the tunnel hostname, and the Workers do not properly handle the traffic. To resolve, check if the Routes or the code can be adjusted accordingly. +- One or more [Workers routes](/workers/configuration/routing/routes/) are overlapping with the tunnel hostname, and the Workers do not properly handle the traffic. To resolve, check if the Workers routes or the Worker code can be adjusted accordingly. ## My tunnel randomly disconnects. From 4bbbe162204ac5e22e065b625885c1a947fea9a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=84=CA=9C=CA=80=C9=AAs=E1=B4=9B=E1=B4=8F=E1=B4=98?= =?UTF-8?q?=CA=9C=E1=B4=87=CA=80=20=E1=B4=8D?= Date: Fri, 16 May 2025 11:28:49 -0400 Subject: [PATCH 3/3] Update src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx Co-authored-by: Kate Tungusova <70746074+deadlypants1973@users.noreply.github.com> --- .../connect-networks/troubleshoot-tunnels/common-errors.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx b/src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx index efca7312f4f9b7f..db74ba92b89896a 100644 --- a/src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx +++ b/src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx @@ -92,7 +92,7 @@ There are a few different possible root causes behind the `websocket: bad handsh - Your SSH or RDP Access application has the [Binding Cookie](/cloudflare-one/identity/authorization-cookie/#binding-cookie) enabled. To disable the cookie, go to **Access** > **Applications** and edit the application settings. -- One or more [Workers routes](/workers/configuration/routing/routes/) are overlapping with the tunnel hostname, and the Workers do not properly handle the traffic. To resolve, check if the Workers routes or the Worker code can be adjusted accordingly. +- One or more [Workers routes](/workers/configuration/routing/routes/) are overlapping with the tunnel hostname, and the Workers do not properly handle the traffic. To resolve, you could either exclude your tunnel from the Worker route by not defining a route that includes the tunnel's hostname or update your Worker to only handle specific paths and forward all other requests to the origin, for example, by using `return fetch(req)`. ## My tunnel randomly disconnects.