Skip to content

Commit c43462b

Browse files
[Tunnel] Add a hint for workers + websocket error (#21076)
* Add a hint for workers * Update src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx Co-authored-by: Kate Tungusova <[email protected]> * Update src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx Co-authored-by: Kate Tungusova <[email protected]> --------- Co-authored-by: Kate Tungusova <[email protected]>
1 parent f9099ad commit c43462b

File tree

1 file changed

+3
-1
lines changed
  • src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels

1 file changed

+3
-1
lines changed

src/content/docs/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/common-errors.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ There are a few different possible root causes behind the `websocket: bad handsh
9292

9393
- 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.
9494

95+
- 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)`.
96+
9597
## My tunnel randomly disconnects.
9698
9799
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
175177
176178
## Cloudflare Tunnel is buffering my streaming response instead of streaming it live.
177179
178-
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.
180+
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.

0 commit comments

Comments
 (0)