Clash FAQ

Clash Troubleshooting

Start with the step where things go wrong: importing a subscription, choosing a proxy mode, or getting an app online.

Clients & Configuration

Basics

Learn what the installer, core, and configuration each do before deciding what to change next.

How do Clash clients relate to the mihomo core?

The client displays configuration, proxy groups, and logs, and provides settings such as system proxy controls. mihomo is the core some clients use to parse configuration, match rules, and forward traffic. Open the current client’s About or Core page to check which core is in use and its version. If a configuration field isn’t supported, note the client version, core version, and the field named in the error log. The client’s name alone doesn’t tell you whether a particular rule or protocol is supported.

What’s the difference between a subscription link, a YAML file, and a profile?

A subscription link is an address for fetching remote configuration. YAML is a common configuration file format, and a profile is an entry in the client’s configuration list. A profile can come from a remote subscription or a local file. Remote profiles can be updated from their source URL; local files usually need to be replaced manually. After importing, return to the configuration list and check which entry is marked Active. Seeing a new entry only confirms that it was imported; it doesn’t mean the core has switched to it.

When should I use Rule, Global, or Direct mode?

For everyday use, start with Rule mode. The current configuration determines whether each connection goes to a proxy group, connects directly, or is rejected. To check whether a rule is causing an issue, temporarily switch to Global mode, make sure the global proxy group has a working node selected, and retry the same destination. Direct mode lets you compare results without routing through a proxy node. These modes affect only connections that reach the core. If the test app doesn’t appear in the connections list, first check whether its traffic is reaching the client.

Why are there no proxy nodes to choose from after installing the client?

The installer provides the client; nodes usually come from an imported subscription or a configuration you supply. Select the imported profile on the Configuration page, then open the Proxies page and check whether the proxy groups appear. If groups are listed but have no selectable nodes, check the logs to see whether the configuration failed to load or the groups reference a node source that hasn’t been updated. Test nodes only after confirming the core has loaded the configuration. Reinstalling the client repeatedly usually won’t restore missing configuration content.

Installation & Import

Installation & Setup

From choosing a package to migrating settings and granting first-run permissions, find the question for the step you’re stuck on.

How do I check my operating system and processor architecture before downloading?

On Windows, check System type under Settings → System → About, then choose x64 or ARM64 to match your device. On macOS, open About This Mac to see whether it has an Apple chip or an Intel processor. On Linux, run uname -m to check the architecture, then choose a package format for your distribution. Check both architecture and package format: even on the same x86_64 architecture, a DEB package for Debian-based systems won’t install as an RPM package on Fedora.

What should I back up before moving settings from an old client?

Back up your custom YAML files and separately maintained override rules first. Note the active profile, proxy group selections, and port settings. You can reimport remote subscriptions in the new client; there’s usually no need to copy the old client’s entire settings folder, since fields and storage locations may differ. To test the migration, quit the old client and make sure it’s no longer controlling the system proxy. Then launch the new client and load a configuration. To roll back, quit the new client first so both programs don’t try to change the proxy settings at once.

The subscription imported, but YAML parsing failed. How do I troubleshoot it?

Start with the first parsing error in the logs and its line number; later errors may be consequences of the first one. If the response starts with HTML, you may have received a login or error page. Check with the provider that you’re using its Clash-compatible subscription URL. For custom YAML, check indentation, spaces after colons, and list nesting around the reported line. If the error mentions an unknown field, check the core version. Reload after fixing the issue and confirm the same error no longer appears.

How do I fix a permissions error when enabling TUN mode?

First confirm that the error is from creating a virtual network interface, not from a configuration load failure. If your Windows client offers a service mode, follow its documentation to install or start the service from Settings, then try TUN again. On Linux, configure the required permissions according to your distribution and client documentation, and confirm that the system provides a TUN device. On mobile, if the system prompts for VPN access, make sure the request comes from the client you intend to use. Contact your administrator if a managed device restricts virtual interfaces or VPNs. If you only need to proxy apps that honor system proxy settings, try the system proxy instead.

Rules & Verification

Tips & Usage

After changing a setting, verify it with a new connection. Don’t rely on toggles or speed test numbers alone.

How can I confirm a rule matched the proxy group I expected?

Select Rule mode, open the Connections page, and send a new request from the app you’re testing. Find the connection for the destination domain or address, then check its matched rule, proxy group, and final node. If it falls through to a catch-all rule, check that the configuration has been reloaded, the destination is recognized as a domain, and no broader rule earlier in the list is matching first. After changing rules, create a new connection and check again; an existing connection can’t verify a new rule.

Should I enable both the system proxy and TUN?

It’s usually best to enable one at a time so you can tell which path is handling the traffic. The system proxy works for browsers and apps that read the system proxy settings. TUN uses a virtual network interface to handle a wider range of traffic; the actual scope depends on the routes and client settings. For testing, turn off the other method, restart the app, and check whether new connections appear in the client. Two enabled switches only show that both settings are on; they don’t tell you how a particular connection reached the core.

Why does the node with the lowest latency make websites load more slowly?

The latency shown in the client depends on the test endpoint and method. It doesn’t measure how quickly a specific website loads or how fast large files transfer. On the same network, choose a real destination and send a new request through each of two candidate nodes. Then check the connection log to confirm the request actually used the selected node. If only one site is slow, don’t switch every proxy group based on a single latency reading; compare how the same node performs with other sites first.

How can I update a subscription without losing custom rules?

Back up the current configuration first, then check whether the client supports separate overrides or configuration merging. If it does, put your custom rules in the override and make sure they’re inserted before any catch-all rule. Changes made directly to content generated by a remote subscription may be overwritten on the next update. If the client doesn’t support separate overrides, make a local copy and merge subscription changes manually after each update. When you’re done, confirm the correct profile is still active and test a destination to verify the rule match.

Troubleshoot by symptom

Troubleshooting

Note the error message, then check whether all connections are failing or just one node or app.

A subscription stopped working. How can I tell if the link expired or my device can’t connect?

Manually update the subscription from the Configuration page and note the error. A 401 or 403 means the server rejected the request. Check with the provider whether the subscription needs renewing, the URL has changed, or the client is restricted. For a 404, confirm the subscription URL is still valid. If you see a DNS resolution failure or connection timeout, first check whether your device can open the provider’s website, then try another working network for comparison. If the update fails, keep any local configuration that still loads. When reporting the issue, share only the error type and hide the full subscription URL and any credentials.

Node tests keep timing out. How can I find where the connection is failing?

First check whether one node is timing out or several nodes are timing out against the same test endpoint. If only one fails, switch to another node in the same group and compare using a real destination. If several fail, check the device’s basic network connection and the test endpoint, then review the logs to distinguish DNS failures, connection timeouts, and handshake errors. If the actual website opens and the connection log confirms the node was used, a failed speed test alone doesn’t prove the node is offline.

The system proxy is on, but my browser isn’t using it. What should I check?

Open the system proxy settings and confirm the browser’s proxy address and port match the client’s active listener. Then check whether the browser uses its own proxy, an extension, or an organization policy. Send a new request and check the client’s Connections page. If there’s no entry, check the browser’s proxy source, the system bypass list, and whether the client is listening. If there is an entry but it goes direct, check the matched rule and proxy group. If websites stop loading after you quit the client, check whether the system proxy still points to a port that is no longer listening.

Only Windows UWP apps can’t connect. Could this be a loopback restriction?

Possibly. Some UWP apps run in an AppContainer, where access to local loopback addresses can be restricted. First test the same system proxy in a regular desktop browser, then launch the affected app on its own and check whether a new request appears on the Connections page. If desktop apps work but the affected app has no entry, and the system proxy points to 127.0.0.1, check the app’s documentation for proxy support and see whether the client offers an app-specific loopback exemption. On managed devices, ask your administrator first; don’t disable restrictions globally.