From d6817e35acda557c816889cd8feeae5b189c20db Mon Sep 17 00:00:00 2001 From: Kate Tungusova Date: Fri, 25 Jul 2025 13:30:56 +0100 Subject: [PATCH 01/21] [CF1] warp troubleshooting --- .../troubleshooting/troubleshooting-guide.mdx | 108 ++++++++++++++++++ .../insights/dex/remote-captures.mdx | 24 +--- .../partials/cloudflare-one/dex/pcaps-run.mdx | 17 +++ .../cloudflare-one/warp/warp-comprises.mdx | 10 ++ .../cloudflare-one/warp/warp-modes.mdx | 13 +++ 5 files changed, 154 insertions(+), 18 deletions(-) create mode 100644 src/content/docs/cloudflare-one/connections/connect-devices/warp/troubleshooting/troubleshooting-guide.mdx create mode 100644 src/content/partials/cloudflare-one/dex/pcaps-run.mdx create mode 100644 src/content/partials/cloudflare-one/warp/warp-comprises.mdx create mode 100644 src/content/partials/cloudflare-one/warp/warp-modes.mdx diff --git a/src/content/docs/cloudflare-one/connections/connect-devices/warp/troubleshooting/troubleshooting-guide.mdx b/src/content/docs/cloudflare-one/connections/connect-devices/warp/troubleshooting/troubleshooting-guide.mdx new file mode 100644 index 00000000000000..d62ccbdab20221 --- /dev/null +++ b/src/content/docs/cloudflare-one/connections/connect-devices/warp/troubleshooting/troubleshooting-guide.mdx @@ -0,0 +1,108 @@ +--- +pcx_content_type: reference +title: WARP troubleshooting guide +sidebar: + order: 0 +--- + +import { Render } from "~/components"; + +This guide helps you diagnose and resolve common issues with the Cloudflare WARP client. It covers various aspects of WARP's functionality and provides steps for effective troubleshooting. + +## Prerequisites + +To use this guide, you must have: + +- Completed the [Zero Trust onboarding flow](/cloudflare-one/setup/). +- Question for MM + +## WARP basics + +Review the WARP client’s architecture, installation paths, and modes to help you diagnose issues with greater accuracy. + +### WARP architecture + + + +### WARP installation details + +The GUI and daemon (or service) have different names and are stored in the following locations: + +
+Windows + +| | Windows | +| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **Service / Daemon** | `C:\Program Files\Cloudflare\Cloudflare WARP\warp-svc.exe` | +| **GUI application** | `C:\Program Files\Cloudflare\Cloudflare WARP\Cloudflare WARP.exe` | +| **Logs Location** |
Daemon
`C:\ProgramData\Cloudflare\`

GUI Logs
`C:\Users\.WARP\AppData\Local`
or
`%LOCALAPPDATA%\Cloudflare`
| + +
+ +
+macOS + +| | macOS | +| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **Service / Daemon** | `/Applications/Cloudflare WARP.app/Contents/Resources/CloudflareWARP` | +| **GUI application** | `/Applications/Cloudflare WARP.app/Contents/MacOS/Cloudflare WARP` | +| **Logs Location** |
Daemon
`/Library/Application Support/Cloudflare/`

GUI Logs
`~/Library/Logs/Cloudflare/`
| + +
+ +
+Linux + +| | Linux | +| -------------------- | ---------------------------------------------------------- | +| **Service / Daemon** | `/bin/warp-svc` | +| **GUI application** | `/bin/warp-taskbar` | +| **Logs Location** | `/var/log/cloudflare-warp/`
`/var/lib/cloudflare-warp` | + +
+ +Along with the WARP GUI and daemon, `warp-cli` and `warp-diag` are also [installed](/cloudflare-one/connections/connect-devices/warp/download-warp/) on the machine and added to the system path for use from any terminal session. + +[`warp-diag`](/cloudflare-one/connections/connect-devices/warp/troubleshooting/warp-logs/) is a command-line diagnostics tool that collects logs, configuration details, and connectivity data from the WARP client to help troubleshoot issues. + +`warp-cli` is the command-line interface (CLI) for managing and configuring the Cloudflare WARP client, allowing users to connect, disconnect, and adjust settings programmatically. + +:::tip + +Run `warp-cli help` and `warp-diag help` in your terminal to review the available subcommands and options. + +::: + +### WARP modes + +WARP operates in several modes, each with different traffic handling capabilities: + + + +:::tip + +Run `warp-cli settings` to review your device’s current WARP mode and other configured [WARP settings](/cloudflare-one/connections/connect-devices/warp/configure-warp/warp-settings/). + +::: + +## General troubleshooting steps + +## 1. Collect diagnostic logs + +You can collect diagnostic logs in two ways: the Cloudflare dashboard or the CLI. + +### Collect logs via the Cloudflare dashboard + +For WARP client versions higher than `2024.12.492.0`, you can collect diagnostic logs remotely from the Zero Trust dashboard by using Digital Experience Monitoring's (DEX) remote captures. + + + +:::tip + +If you do not require traffic packet capture for debugging, leave **Packet captures (PCAP)** unselected and select only **WARP diagnostics logs**. + +::: + +### Collects logs via the CLI + +## 2. diff --git a/src/content/docs/cloudflare-one/insights/dex/remote-captures.mdx b/src/content/docs/cloudflare-one/insights/dex/remote-captures.mdx index 99d2bf73421803..7b39167e260481 100644 --- a/src/content/docs/cloudflare-one/insights/dex/remote-captures.mdx +++ b/src/content/docs/cloudflare-one/insights/dex/remote-captures.mdx @@ -28,19 +28,7 @@ Remote captures allow administrators to collect packet captures (PCAPs) and WARP ## Start a remote capture -To capture data from a remote device: - -1. In [Zero Trust](https://one.dash.cloudflare.com/), go to **DEX** > **Remote captures**. -2. Select up to 10 devices that you want to run a capture on. Devices must be [registered](/cloudflare-one/connections/connect-devices/warp/deployment/) in your Zero Trust organization. -3. Configure the types of captures to run. - - **PCAP**: Performs packet captures for traffic outside of the WARP tunnel (default network interface) and traffic inside of the WARP tunnel ([WARP virtual interface](/cloudflare-one/connections/connect-devices/warp/configure-warp/route-traffic/warp-architecture/#ip-traffic)). - - **WARP Diagnostics Logs**: Generates a [WARP diagnostic log](/cloudflare-one/connections/connect-devices/warp/troubleshooting/warp-logs/#warp-diag-logs) of the past 96 hours. To include a routing test for all IPs and domains in your [Split Tunnel configuration](/cloudflare-one/connections/connect-devices/warp/configure-warp/route-traffic/split-tunnels/), select **Test all routes**. - :::note - **Test all routes** will extend the time for diagnostics to run and may temporarily impact device performance during the test. - ::: -4. Select **Start a capture**. - -DEX will now send capture requests to the configured devices. If the WARP client is disconnected, the capture will time out after 10 minutes. + ## Check remote capture status @@ -77,11 +65,11 @@ Refer to [WARP diagnostic logs](/cloudflare-one/connections/connect-devices/warp - Packet captures are subject to the following limits: - | Limit Type | Maximum Value | - |----------------|----------------| - | Time limit | 600 seconds | - | File size | 50 MB | - | Packet size | 1500 bytes | + | Limit Type | Maximum Value | + | ----------- | ------------- | + | Time limit | 600 seconds | + | File size | 50 MB | + | Packet size | 1500 bytes | - WARP diagnostic logs have no file size limit, but files larger than 100 MB cannot be uploaded to Cloudflare and must be shared directly with the admin. diff --git a/src/content/partials/cloudflare-one/dex/pcaps-run.mdx b/src/content/partials/cloudflare-one/dex/pcaps-run.mdx new file mode 100644 index 00000000000000..c31b60a8eab34d --- /dev/null +++ b/src/content/partials/cloudflare-one/dex/pcaps-run.mdx @@ -0,0 +1,17 @@ +--- +{} +--- + +To capture data from a remote device: + +1. In [Zero Trust](https://one.dash.cloudflare.com/), go to **DEX** > **Remote captures**. +2. Select up to 10 devices that you want to run a capture on. Devices must be [registered](/cloudflare-one/connections/connect-devices/warp/deployment/) in your Zero Trust organization. +3. Configure the types of captures to run. + - **PCAP**: Performs packet captures for traffic outside of the WARP tunnel (default network interface) and traffic inside of the WARP tunnel ([WARP virtual interface](/cloudflare-one/connections/connect-devices/warp/configure-warp/route-traffic/warp-architecture/#ip-traffic)). + - **WARP Diagnostics Logs**: Generates a [WARP diagnostic log](/cloudflare-one/connections/connect-devices/warp/troubleshooting/warp-logs/#warp-diag-logs) of the past 96 hours. To include a routing test for all IPs and domains in your [Split Tunnel configuration](/cloudflare-one/connections/connect-devices/warp/configure-warp/route-traffic/split-tunnels/), select **Test all routes**. + :::note + **Test all routes** will extend the time for diagnostics to run and may temporarily impact device performance during the test. + ::: +4. Select **Start a capture**. + +DEX will now send capture requests to the configured devices. If the WARP client is disconnected, the capture will time out after 10 minutes. diff --git a/src/content/partials/cloudflare-one/warp/warp-comprises.mdx b/src/content/partials/cloudflare-one/warp/warp-comprises.mdx new file mode 100644 index 00000000000000..925b0fe545fa17 --- /dev/null +++ b/src/content/partials/cloudflare-one/warp/warp-comprises.mdx @@ -0,0 +1,10 @@ +--- +{} +--- + +The WARP client consists of: + +- **Graphical User Interface (GUI)**: Control panel that allows end users to view WARP's [status](/cloudflare-one/connections/connect-devices/warp/troubleshooting/connectivity-status/) and perform actions such as turning WARP on or off. +- **WARP daemon (or service)**: Core background component responsible for establishing secure tunnels (using WireGuard or MASQUE) and handling all WARP functionality on your device. + +Refer to [WARP architecture](/cloudflare-one/connections/connect-devices/warp/configure-warp/route-traffic/warp-architecture/) for more information on how WARP client interacts with a device's operating system to route traffic. diff --git a/src/content/partials/cloudflare-one/warp/warp-modes.mdx b/src/content/partials/cloudflare-one/warp/warp-modes.mdx new file mode 100644 index 00000000000000..daa616c0431ead --- /dev/null +++ b/src/content/partials/cloudflare-one/warp/warp-modes.mdx @@ -0,0 +1,13 @@ +--- +{} +--- + +Each WARP mode offers a different set of Zero Trust features. + +| WARP Mode | DNS Filtering | Network Filtering | HTTP Filtering | Service mode (displayed in `warp-cli settings`) | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | ----------------- | -------------- | ----------------------------------------------- | +| [**Gateway with WARP (default)**](/cloudflare-one/connections/connect-devices/warp/configure-warp/warp-modes/#gateway-with-warp-default) | ✅ | ✅ | ✅ | `WarpWithDnsOverHttps` | +| [**Gateway with DoH**](/cloudflare-one/connections/connect-devices/warp/configure-warp/warp-modes/#gateway-with-doh) | ✅ | ❌ | ❌ | `DnsOverHttps` | +| [**Secure Web Gateway without DNS filtering**](/cloudflare-one/connections/connect-devices/warp/configure-warp/warp-modes/#secure-web-gateway-without-dns-filtering) | ❌ | ✅ | ✅ | `TunnelOnly` | +| [**Proxy mode**](/cloudflare-one/connections/connect-devices/warp/configure-warp/warp-modes/#proxy-mode) | ❌ | ❌ | ✅ | `WarpProxy on port 40000` | +| [**Device Information Only**](/cloudflare-one/connections/connect-devices/warp/configure-warp/warp-modes/#device-information-only) | ❌ | ❌ | ❌ | `PostureOnly` | From e216b1ca5eff7fcfdce131baa8421df21ce64880 Mon Sep 17 00:00:00 2001 From: Kate Tungusova Date: Tue, 29 Jul 2025 18:38:48 +0100 Subject: [PATCH 02/21] updates --- .../troubleshooting/troubleshooting-guide.mdx | 58 ++++++++++++++----- .../warp/troubleshooting/warp-logs.mdx | 38 +----------- .../insights/dex/remote-captures.mdx | 11 +--- .../cloudflare-one/dex/pcaps-check.mdx | 10 ++++ .../cloudflare-one/dex/pcaps-download.mdx | 9 +++ .../partials/cloudflare-one/dex/pcaps-run.mdx | 4 +- .../cloudflare-one/warp/warpdiag-run.mdx | 39 +++++++++++++ 7 files changed, 111 insertions(+), 58 deletions(-) create mode 100644 src/content/partials/cloudflare-one/dex/pcaps-check.mdx create mode 100644 src/content/partials/cloudflare-one/dex/pcaps-download.mdx create mode 100644 src/content/partials/cloudflare-one/warp/warpdiag-run.mdx diff --git a/src/content/docs/cloudflare-one/connections/connect-devices/warp/troubleshooting/troubleshooting-guide.mdx b/src/content/docs/cloudflare-one/connections/connect-devices/warp/troubleshooting/troubleshooting-guide.mdx index d62ccbdab20221..a49736b61dad76 100644 --- a/src/content/docs/cloudflare-one/connections/connect-devices/warp/troubleshooting/troubleshooting-guide.mdx +++ b/src/content/docs/cloudflare-one/connections/connect-devices/warp/troubleshooting/troubleshooting-guide.mdx @@ -5,16 +5,24 @@ sidebar: order: 0 --- -import { Render } from "~/components"; +import { Render, Tabs, TabItem } from "~/components"; -This guide helps you diagnose and resolve common issues with the Cloudflare WARP client. It covers various aspects of WARP's functionality and provides steps for effective troubleshooting. +This guide helps you diagnose and resolve common issues with the Cloudflare WARP client. ## Prerequisites -To use this guide, you must have: +To use this guide, you must have completed the [Zero Trust onboarding flow](/cloudflare-one/setup/) with a Zero Trust organizaton created and the WARP client installed on your device. -- Completed the [Zero Trust onboarding flow](/cloudflare-one/setup/). -- Question for MM +## Troubleshooting steps + +This guide uses [WARP diagnostic logs](/cloudflare-one/connections/connect-devices/warp/troubleshooting/warp-logs/) to help you verify that your WARP configuration is working as intended. + +To troubleshoot if WARP misconfiguration is the source of your issue, you will: + +1. Run a remote capture to download WARP diagnostic logs from the Cloudflare dashboard. +2. Review the best practice to +3. Check the WARP diagnostic logs to ensure WARP is working according to the configuration you set in the Zero Trust dashboard. +4. File a support ticket if your configuration looks correct but you are still having issues. ## WARP basics @@ -85,24 +93,48 @@ Run `warp-cli settings` to review your device’s current WARP mode and other co ::: -## General troubleshooting steps - ## 1. Collect diagnostic logs -You can collect diagnostic logs in two ways: the Cloudflare dashboard or the CLI. +You can collect diagnostic logs in two ways: the Cloudflare dashboard or the `warp-diag` command-line interface (CLI). ### Collect logs via the Cloudflare dashboard For WARP client versions higher than `2024.12.492.0`, you can collect diagnostic logs remotely from the Zero Trust dashboard by using Digital Experience Monitoring's (DEX) remote captures. - +#### Start a remote capture -:::tip + + +:::tip[Best practice] + +To troubleshoot effectively, Cloudflare recommends that you recreate the steps where your issue emerges when capturing logs. Though recreating the issue may not be possible in all cases, the following troubleshooting regimen will ensure the most accurate capture of the state of WARP: + +1. In **Zero Trust** > **DEX** > **Remote captures**, select **WARP diagnostic logs** and **Packet captures (PCAP)**. You can leave **Test all routes** unselected. +2. Select **Run diagnostics**. +3. While the diagnostics are running on the target device, recreate the steps that cause the problem. -If you do not require traffic packet capture for debugging, leave **Packet captures (PCAP)** unselected and select only **WARP diagnostics logs**. + If you set your **Time limit** on the **Remote captures** page to five minutes, recreate the steps that cause the problem on the target device in that five minute window before logs are generated. Keep timestamps of when you executed your steps to successfully review logs later. +4. [Check the status](/cloudflare-one/connections/connect-devices/warp/troubleshooting/troubleshooting-guide/#check-remote-capture-status) of your remote capture to verify its readiness. +5. [Download the remote captures](/cloudflare-one/connections/connect-devices/warp/troubleshooting/troubleshooting-guide/#check-remote-capture-status) when they have finished running. + +By following these steps, you will ensure that your WARP diagnostic logs have captured WARP activity relevant to your issue. ::: -### Collects logs via the CLI +#### Check remote capture status + + + +#### Download remote captures + + + +### Collect logs via the CLI + +To collect WARP diagnostic logs via the `warp-diag` CLI, run: + + + +:::tip[Best practice] -## 2. +To troubleshoot effectively, Cloudflare recommends that you recreate the steps where your issue emerges before running `warp-diag` and keep timestamps of your steps. diff --git a/src/content/docs/cloudflare-one/connections/connect-devices/warp/troubleshooting/warp-logs.mdx b/src/content/docs/cloudflare-one/connections/connect-devices/warp/troubleshooting/warp-logs.mdx index b25e512878a948..8a54df339c7e64 100644 --- a/src/content/docs/cloudflare-one/connections/connect-devices/warp/troubleshooting/warp-logs.mdx +++ b/src/content/docs/cloudflare-one/connections/connect-devices/warp/troubleshooting/warp-logs.mdx @@ -6,7 +6,7 @@ sidebar: label: Diagnostic logs --- -import { TabItem, Tabs } from "~/components"; +import { Render, TabItem, Tabs } from "~/components"; The WARP client provides diagnostic logs that you can use to troubleshoot connectivity issues on a device. @@ -14,39 +14,7 @@ The WARP client provides diagnostic logs that you can use to troubleshoot connec ### Retrieve logs -To view WARP logs on desktop devices: - - - -1. Open a Terminal window. -2. Run the `warp-diag` tool: - ```sh - warp-diag - ``` - -This will place a `warp-debugging-info-- - -1. Open a Command Prompt or PowerShell window. -2. Run the `warp-diag` tool: - ```bash - C:\Users\JohnDoe>warp-diag - ``` - -This will place a `warp-debugging-info-- - -1. Open a Terminal window. -2. Run the `warp-diag` tool: - ```sh - warp-diag - ``` - -This will place a `warp-debugging-info-- + :::note You can also use Digital Experience Monitoring to run `warp-diag` commands on remote devices. For more information, refer to [Remote captures](/cloudflare-one/insights/dex/remote-captures/). @@ -64,7 +32,7 @@ The `warp-debugging-info--