Skip to content

Commit 7dfd991

Browse files
update
1 parent e216b1c commit 7dfd991

File tree

1 file changed

+102
-3
lines changed

1 file changed

+102
-3
lines changed

src/content/docs/cloudflare-one/connections/connect-devices/warp/troubleshooting/troubleshooting-guide.mdx

Lines changed: 102 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 0
66
---
77

8-
import { Render, Tabs, TabItem } from "~/components";
8+
import { MetaInfo, Render, Tabs, TabItem, Type } from "~/components";
99

1010
This guide helps you diagnose and resolve common issues with the Cloudflare WARP client.
1111

@@ -129,12 +129,111 @@ By following these steps, you will ensure that your WARP diagnostic logs have ca
129129

130130
<Render file="dex/pcaps-download" />
131131

132+
After you have your diagnostic files, go to [Review diagnostic logs](/cloudflare-one/connections/connect-devices/warp/troubleshooting/troubleshooting-guide/#2-review-diagnostics-logs) to continue troubleshooting.
133+
132134
### Collect logs via the CLI
133135

134-
To collect WARP diagnostic logs via the `warp-diag` CLI, run:
136+
Collect WARP diagnostic logs by downloading them to your desktop using the `warp-diag` CLI.
135137

136138
<Render file="warp/warpdiag-run" />
137139

138140
:::tip[Best practice]
139141

140-
To troubleshoot effectively, Cloudflare recommends that you recreate the steps where your issue emerges before running `warp-diag` and keep timestamps of your steps.
142+
To troubleshoot effectively, Cloudflare recommends that you recreate the steps where your issue emerges before running `warp-diag` and keep timestamps of your steps for review within the logs.
143+
144+
:::
145+
146+
After you have your diagnostic files, go to [Review diagnostic logs](/cloudflare-one/connections/connect-devices/warp/troubleshooting/troubleshooting-guide/#2-review-diagnostics-logs) to continue troubleshooting.
147+
148+
## 2. Review diagnostics logs
149+
150+
WARP diagnostic logs display WARP information relevant to the target device after all MDM and other software operations have been applied, allowing you to determine whether WARP is misconfigured or affected by conflicting software. After downloading the WARP diagnostic logs and/or PCAPs, you will review key files to troubleshoot your issue by checking for potential misconfigurations.
151+
152+
### 2a. Check WARP status
153+
154+
Open the `warp-status.txt` file to review the status of the WARP connection when the `warp-diag` was collected. A connected WARP client will appear as:
155+
156+
```
157+
Ok(Connected)
158+
```
159+
160+
### Common connectivity issues
161+
162+
#### WARP client failing to connect
163+
164+
If connectivity fails, reset the encryption keys to force re-establishement of the WARP tunnel without deleting registration.
165+
166+
###### Windows, Mac, Linux
167+
168+
To reset the encryption keys on a Windows, Mac, or Linux device:
169+
170+
1. Open the WARP GUI > select the gear icon > **Preferences**.
171+
2. Select **Connection**.
172+
3. Select **Reset encryption keys**.
173+
174+
##### iOS, Android
175+
176+
To reset the encryption keys on an iOS or Android device:
177+
178+
1. Open the Cloudflare One Agent.
179+
2. Select **Settings** > **Advanced** > **Connection options**.
180+
3. Select **Reset security keys**.
181+
182+
### 2b. Check WARP settings
183+
184+
Open the `warp-status.txt` file to review the WARP client settings, split tunnel configuration, and the applied device profile. Use this information to identify any discrepancies from the expected behavior you configure pre-deployment.
185+
186+
#### Example `warp-settings.txt` file
187+
188+
Review the following `warp-settings.txt` file and the descriptions of its content.
189+
190+
```txt
191+
Merged configuration:
192+
(derived) Always On: true # Current state of the WARP toggle on the GUI
193+
(network policy) Switch Locked: false # If false, does not allows the user to [turn off the WARP switch](https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/configure-warp/warp-settings/#lock-warp-switch) and disconnect the client.
194+
(network policy) Mode: WarpWithDnsOverHttps <-- This is WARP with Gateway mode
195+
(network policy) WARP tunnel protocol: WireGuard
196+
(default) Disabled for Wifi: false
197+
(default) Disabled for Ethernet: false
198+
(reg defaults) Resolve via: 1xx0x1011xx000000000f0x00000x11.cloudflare-gateway.com @ [1xx.1xx.1x.1, 1x01:1x00:1x00::1xx1] <- The SNI we'll use and the IP address for DoH requests
199+
(user set) qlog logging: Enabled
200+
(default) Onboarding: true <-- Does the user see a onboarding prompt when they first install the client?
201+
(network policy) Exclude mode, with hosts/ips:
202+
1xx.1xx.1xx.1xx/25 (zoom)
203+
...
204+
cname.user.net
205+
206+
(network policy) Fallback domains:
207+
intranet
208+
...
209+
test
210+
(not set) Daemon Teams Auth: false
211+
(network policy) Disable Auto Fallback: false
212+
(network policy) Captive Portal: 180
213+
(network policy) Support URL: my-organizations-support-portal.com
214+
(user set) Organization: Organization-Name
215+
(network policy) Allow Mode Switch: true <-- Is the user allowed to switch between configurations (DoH -> Gateway Mode)
216+
(network policy) Allow Updates: false <------- Will the client perform the update checks, doesn't necessarily mean they'll be able to install them (depends on user permissions)
217+
(network policy) Allowed to Leave Org: true <-- Is the button in the GUI grayed out or not. Note, it'll always be grayed out if they have an MDM file
218+
(api defaults) Known apple connectivity check IPs: xx.xxx.0.0/16;
219+
(network policy) LAN Access Settings: Allowed until reconnect on a /24 subnet <-- The maximum size of network that'll be allowed when Access Lan is clicked.
220+
(network policy) Profile ID: 000000x1-00x1-1xx0-1xx1-11101x1axx11
221+
```
222+
223+
:::tip[Quick debugging]
224+
225+
The command `warp-cli settings` will generate the same information in your device's terminal that is present in the `warp-settings.txt` file.
226+
227+
:::
228+
229+
#### Contents of `warp-settings.txt` file
230+
231+
- `Always On`
232+
233+
This
234+
235+
### Common misconfiguration issues
236+
237+
#### Wrong profile ID
238+
239+
#### Wrong split tunnel configuration

0 commit comments

Comments
 (0)