Cloudflare One Client (2)·续1
AI-assisted troubleshooting
The diagnostics analyzer uses AI to parse a device's client diagnostic log and summarizes key events, likely causes, and recommended next steps in a concise summary.
After you run a DEX remote capture for client diagnostics:
- Go to Insights > Digital experience and select the Diagnostics tab.
- Find your capture in the list of captures.
- Select the three-dot icon next to Status > select View Device Diag to generate an AI summary.
This analyzer is available for logs collected via the dashboard.
Option B: Collect logs via the CLI
Collect client diagnostic logs on your desktop using the warp-diag CLI.
To view client logs on desktop devices:
- Open a Terminal window.
- Run the
warp-diagtool:
warp-diag
```
This will place a `warp-debugging-info-<date>-<time>.zip` on your desktop.
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-<date>-<time>.zip` on your desktop.
1. Open a Terminal window.
2. Run the `warp-diag` tool:
```sh
warp-diag
```
This will place a `warp-debugging-info-<date>-<time>.zip` in the same folder you ran the command from.
Best practice
To troubleshoot effectively, Cloudflare recommends that you recreate the steps that cause the issue before running `warp-diag` and keep timestamps of your steps for review within the logs.
After you have your diagnostic files, go to [Review key files](#option-b-collect-logs-via-the-cli) to continue troubleshooting.
## 3. Review key files
Client diagnostic logs capture the final Cloudflare One Client configuration and status on a device after all MDM policies and other software settings have been applied. Reviewing these logs can help you identify misconfigurations or unexpected behavior.
<details>
<summary>
Chapters
</summary>
- **Introduction**0s
- **What are warp-diag files?**44s
- **How to download and navigate warp-diag files**1m16s
- **warp-status.txt**2m06s
- **warp-settings.txt**2m29s
- **daemon.log**3m37s
- **Addition tips**8m07s
- **Conclusion**8m43s
</details>
### Check client status
Open the `warp-status.txt` file to review the status of the Cloudflare One Client connection when the `warp-diag` was collected. A connected Cloudflare One Client will appear as:
```plaintext
Ok(Connected)
If the Cloudflare One Client is experiencing issues, the error will display in the Cloudflare One Client GUI on the device. Use the Client errors documentation to identify your error, its cause, and the solution.
Check client settings
After you have checked client status, review the Cloudflare One Client's settings on the device to check if the expected configuration has been applied. Open the warp-settings.txt file to review the Cloudflare One Client settings. You will check the device's applied device profile and split tunnel configuration.
Example warp-settings.txt file
Find the client diagnostic logs on your desktop, and open the warp-settings.txt file. Review the following example warp-settings.txt file and the descriptions of its content below.
Merged configuration:
(derived) Always On: true
(network policy) Switch Locked: false # If false, does not allow the user to turn off the WARP toggle and disconnect the WARP client
(network policy) Mode: WarpWithDnsOverHttps # The device's WARP mode, this mode is WARP with Gateway mode
(network policy) WARP tunnel protocol: WireGuard
(default) Disabled for Wifi: false
(default) Disabled for Ethernet: false
(reg defaults) Resolve via: 1xx0x1011xx000000000f0x00000x11.cloudflare-gateway.com @ [1xx.1xx.1x.1, 1x01:1x00:1x00::1xx1] # The SNI Cloudflare will use and the IP address for DNS-over-HTTPS (DoH) requests
(user set) qlog logging: Enabled
(default) Onboarding: true # If true, the user sees an onboarding prompt when they first install the WARP client
(network policy) Exclude mode, with hosts/ips: # Split tunnel configuration
1xx.1xx.1xx.1xx/25 (zoom)
...
cname.user.net
(network policy) Fallback domains: # Local domain fallback configuration
intranet
...
test
(not set) Daemon Teams Auth: false
(network policy) Disable Auto Fallback: false
(network policy) Captive Portal: 180
(network policy) Support URL: my-organizations-support-portal.com # Your organization's support portal or IT help desk
(user set) Organization: Organization-Name
(network policy) Allow Mode Switch: true # The user is allowed to switch between WARP modes
(network policy) Allow Updates: false # WARP client will not perform update checks
(network policy) Allowed to Leave Org: true
(api defaults) Known apple connectivity check IPs: xx.xxx.0.0/16;
(network policy) LAN Access Settings: Allowed until reconnect on a /24 subnet # The maximum size of network that will be allowed when Access Lan is clicked.
(network policy) Profile ID: 000000x1-00x1-1xx0-1xx1-11101x1axx11
Quick debugging
The command warp-cli settings in a terminal will generate the same information that is present in the warp-settings.txt file.
Contents of warp-settings.txt file
Review the meanings of the fields in warp-settings.txt that are relevant to troubleshooting.
Always On
Refers to the current state of the connection toggle in the GUI. In the example file, the toggle is switched on.
Always On: true
Switch Locked
Refers to the Lock device client switch which allows the user to use the client's connection toggle and disconnect the client. In the example file, the value is false meaning the user is able to connect or disconnect at their discretion.
Switch Locked: false
When Lock device client switch is enabled (true), users will need an admin override code to temporarily disconnect the Cloudflare One Client on their device.
Mode
Refers to the client mode the device is using. In the example file, the client mode is WarpWithDnsOverHttps which is Traffic and DNS mode. Refer to the client modes comparison matrix to match your warp-settings.txt file's value with the mode name.
Mode: WarpWithDnsOverHttps
Exclude mode, with hosts/ips
Refers to your split tunnel settings. In the example file, the Cloudflare One Client is running in Exclude mode, meaning all traffic except for the traffic destined for these hosts and IPs will be sent through the WARP tunnel. The host cname.user.net and the IP 1xx.1xx.1xx.1xx/25 are both excluded from the WARP tunnel.
Exclude mode, with hosts/ips:
1xx.1xx.1xx.1xx/25 (zoom)
...
cname.user.net
Exclude mode versus Include mode
Exclude mode means all traffic will be sent through the WARP tunnel except for the IPs and domains you specify.
Include mode means only traffic destined to the IPs or domains you specify will be sent through the WARP tunnel.
Fallback domains
Refers to your Local Domain Fallback settings. In the example file, the Cloudflare One Client lists intranet as a domain that will not be sent to Gateway for processing and will instead be sent directly to the configured fallback servers.
(network policy) Fallback domains:
intranet
...
Allow Mode Switch
Refers to the Mode switch setting. In the example file, the mode switch is enabled (true) which means the user has the option to switch between Traffic and DNS mode mode and Gateway with DNS-over-HTTPS (DoH) mode.
Allow Mode Switch: true
Allow Updates
Refers to the Allow updates setting. In the example file, the allow updates setting is set to false meaning that the user will not receive update notifications when a new version of the Cloudflare One Client is available and cannot update the client without administrator approval.
Allow Updates: false
Allowed to Leave Org
Refers to the Allow device to leave organization setting. In the example file, the value is set to true meaning the user can log out from your Zero Trust organization.
Allowed to Leave Org: true
LAN Access Settings
Refers to the Allow users to enable local network exclusion setting. When enabled, it allows users to temporarily access local devices (like printers) by excluding the detected local subnet from the WARP tunnel. This example indicates access is allowed until the next client reconnection, and only for subnets up to /24.
LAN Access Settings: Allowed until reconnect on a /24 subnet
Profile ID
Refers to the Device profile a device is using. In this example, the ID is 000000x1-00x1-1xx0-1xx1-11101x1axx11.
Profile ID: 000000x1-00x1-1xx0-1xx1-11101x1axx11
4. Fix common misconfigurations
To verify that the Cloudflare One Client is configured and working properly, review the following:
- Is the wrong profile ID applied to the device?
- Is the wrong split tunnel configuration active on the device?
Wrong profile ID
A profile ID is a unique identifier assigned to each device profile in the Cloudflare dashboard, used to determine which configuration settings apply to a device.
Check the applied device profile
To check that the applied device profile is the intended device profile:
- In the Cloudflare dashboard ↗︎, go to Zero Trust > Team & Resources > Devices > Device profiles > General profiles.
- Find and select the device profile intended for the device.
- Under Profile details, compare the displayed Profile ID with the
Profile IDin thewarp-settings.txtfile.
If your organization has multiple device profiles defined in the Cloudflare dashboard, a device may be matched to an unexpected profile because:
- How profile precedence is configured.
- Managed network issues (if you are using a managed network.)
- User group mismatch.
- Lack of precise match rules.
Review profile precedence
The Cloudflare One Client evaluates device profiles dynamically based on a hierarchy. When a device connects, the client checks the profiles from top to bottom as they appear in the dashboard. The client follows the first match principle — once a device matches a profile, the client stops evaluating and no subsequent profiles can override the decision.
The Default profile is always at the bottom of the list. It will only be applied if the device does not meet the criteria of any profile listed above it. If you make another custom profile the default, all settings will be copied over into the Default profile.
Administrators can create multiple profiles to apply different settings based on specific criteria such as user identity, location, or operating system. Understanding this top-to-bottom evaluation order is crucial for ensuring that the correct policies are applied to devices.
