Guides / FAQ
Clash FAQ
From importing a subscription to troubleshooting connections. Choose a category by symptom and expand a question to see what to check.
Basics
Understand what the client, core, and configuration each do.
What’s the difference between the Clash client and the mihomo core?
The client imports configurations, switches policies, and manages system settings. The core listens on ports, resolves domains, matches rules, and establishes outbound connections. When troubleshooting, note the client and core versions separately. If an option is missing, check whether the client provides it; if the logs report an unsupported field, check the core version and field documentation. A configuration shown as imported in the UI may not have loaded in the core—check the active configuration name and startup logs.
What are subscriptions, configuration files, and proxies?
A subscription is a source of updates, a configuration file is what the core reads, and proxies are the outbound connections available in a configuration. Refreshing a remote subscription may update proxies, rules, and proxy groups at once; a locally imported YAML file is usually just a snapshot. If you need to modify a remote configuration, use the client’s local override feature if available, or save a copy first to avoid losing changes on refresh. Subscription URLs may contain access credentials, so redact the full URL before sharing a screenshot.
What do Rule, Global, and Direct mode do?
These modes affect only connections that have reached the core. Rule mode matches rules in configuration order. Global mode sends connections to the global proxy group, which can select either a proxy or a direct connection. Direct mode makes the core attempt an outbound connection without a proxy. To compare behavior in Global mode, first check which outbound option the group actually selected, then retry the same request. If the request does not appear in the connection log at all, switching modes will not fix the client’s traffic-capture issue.
Why are there no proxies to choose from after installing the client?
The installer provides the client; proxies come from an imported configuration or the service you choose. After importing, make sure the configuration is active, then check whether its proxy groups reference proxies or proxy providers. Some configurations need to download provider files before group members appear. If the list is still empty, check the update log for download failures or format errors. Public subscriptions from unknown sources can stop working without notice and may expose connection information, so they are not a reliable testing baseline.
Setup
Check that the configuration loads, ports are listening, and permissions are in place.
How can I tell if a configuration is active after importing a subscription for the first time?
A successful import only means the client received the content; you still need to enable the configuration in the configuration list. Select it as the active configuration, check the logs for load errors, then open the proxy groups and confirm that they have available members. For the first test, use just one traffic-capture method: make a new request in a browser that follows the system proxy, then look for the domain and matched policy in the connection log. If the subscription updates but the request never reaches the core, check the proxy settings instead of importing again.
What should I do if a subscription stops working or returns 401 or 403?
First confirm that the error occurred while downloading the subscription, not while connecting to a proxy. Check the status code in the client’s update log, then visit your provider’s account page to see whether the subscription is active or its URL has changed. A 401 often indicates an authentication problem; a 403 may also mean access is restricted, so the status code alone does not prove that your plan has expired. Once you confirm the new URL works, replace the source in the client and refresh it manually. If the response is a login or error page, do not import it as a YAML configuration—even if the status is 200.
Which port should I enter: the mixed proxy port or the external controller port?
The system proxy should point to the actual proxy listening port. When using a mixed proxy, that port is set by mixed-port. external-controller is the management API address used for communication between the dashboard and the core; it is not a regular proxy port. For local use, the system proxy usually points to the loopback address and the actual listening port. If the client fails to start after you change the port, check the logs for an address-in-use error, then update the system proxy settings too so the system does not keep connecting to the old port.
What should I check if TUN mode reports insufficient permissions?
TUN creates a virtual interface, and some configurations also need to change system routes. Check the logs first to distinguish a permissions issue from an interface creation or route configuration failure. If the desktop client offers a service mode, install and start the service as documented, then enable TUN again. On mobile, check whether the system has approved the VPN connection and whether another VPN is already handling network traffic. Do not try to fix this by granting write access to the entire configuration directory; that will not grant the system permissions needed to create an interface.
Tips
Verify configuration behavior using connection details, proxy groups, and DNS records.
How can I tell which routing rule matched a website?
In Rule mode, start a new connection and check its details for the target domain or address, matched rule, and outbound policy. The core evaluates rules in order, so a broad rule near the top may match before a more specific rule below it. The fallback MATCH rule usually belongs at the end. After making a change, reload the active configuration, close existing connections, and repeat the same request. If the log shows only the target address and no domain, first check whether the core received the domain information before investigating rule order.
Why didn’t the automatic proxy group select the lowest-latency proxy?
Check the proxy group type before interpreting its selection. url-test selects a proxy based on probes to a specified test URL; tolerance may keep the current proxy when the latency difference is small. fallback prioritizes the first available member, not the lowest latency. load-balance distributes connections according to its configured strategy. Make sure you are comparing the same group and probe run, then verify with an actual request. One probe result does not predict how every website will perform.
Does Fake-IP returning a virtual address mean there’s a DNS problem?
Not necessarily. Fake-IP returns virtual addresses for some domains and keeps a mapping between each address and its domain so the core can route subsequent connections. If a LAN service or a particular app behaves unexpectedly, first check whether the request used the core’s DNS and whether the same core still handles the connection after the address is returned. If only a few domains are incompatible, check the scope of fake-ip-filter, clear the DNS cache in the affected app or system, and test again.
Which rules are affected if a GeoIP update fails?
First check whether the configuration uses GEOIP-based matching and whether the existing data can still be loaded. If the old file is readable, the failed update may simply mean the data has not been refreshed. If a required file is missing or its format is incompatible, the configuration may fail to load. Check the filename and failure stage in the logs, then verify the data source, format, and directory permissions against the core configuration. Remote rule sets are a separate resource; check their providers independently rather than treating both update errors as the same issue.
Troubleshooting
Reproduce the issue with a new request, then use the connection log to narrow it down.
Why isn’t an app using Clash when the system proxy is enabled?
Enabling the system proxy does not force every app to use it. Make sure the address and listening port in system settings match, then make a new request in a browser that follows the system proxy and check the client’s connection log. If the browser appears in the log but the target app does not, check whether the app has its own proxy settings, bypass list, or network stack. Apps that support manual proxy settings can be configured individually. If you need to capture their traffic, consider TUN as documented by the client.
Does a proxy’s speed test timing out mean the proxy is dead?
A timeout only means the probe did not finish within the time limit. Check whether the logs stop at domain resolution, the outbound connection, or the test server’s response. Then select another member of the same proxy group and compare it using the same test URL. If one proxy keeps failing while others and your local network work, investigate that proxy’s status. If every proxy fails against the same URL, check the test URL and DNS first. Even after a successful speed test, verify separately that the actual destination is reachable.
Why can’t a Windows UWP app connect to a local proxy?
Some apps running in an AppContainer are subject to loopback restrictions and may not be able to connect to a proxy at 127.0.0.1. First verify the listening port with a desktop browser and confirm that only the target app fails, then check whether the app type is subject to these restrictions. If the client provides UWP loopback exemption management, follow its documentation to enable an exemption only for the apps that need it, then restart the app and test again. Do not expose the proxy listener to your LAN to work around a local loopback restriction.
Clash says it’s connected, but websites won’t load. Where should I start?
Troubleshoot in this order: traffic capture, routing, then outbound connectivity. First confirm that your basic network connection works. Then open the same URL in the same browser and check whether the client logs a corresponding new connection. If there is no log entry, check the system proxy or TUN. If there is an entry but the matched policy is unexpected, check the rules and active configuration. If the policy is correct but the connection fails, use the logs to distinguish DNS resolution failures, proxy connection timeouts, and errors from the destination site. Change one thing at a time and note the error time and logs so you can tell what changed the result.