Clash Setup & Connection Troubleshooting
Clash FAQ
Start with the symptoms to pinpoint the issue, then decide which setting to change. Check the update log for subscription failures and the connection log when an app can’t connect. You don’t need to troubleshoot both at once.
Concepts & Differences
Basics
Understand the client, core, and configuration first, then figure out what each setting can change.
View the proxy modes guideWhat’s the difference between Clash, a GUI client, and the mihomo core?
A GUI client imports configurations, displays logs, and manages system settings; the core handles the actual connections. The original Clash and mihomo, which evolved from Clash Meta, do not support exactly the same configuration fields. If you see “unknown field” or “unsupported proxy type,” check the About page or startup logs to identify the core actually running, then consult its configuration documentation. Don’t assume compatibility based on the client’s name, and don’t delete the field that triggered the error just to see what happens.
What’s the difference between a subscription URL, a local configuration, and a proxy node?
A subscription URL fetches or updates a remote configuration. A local configuration is a file stored on your device, while a node is a proxy endpoint defined in that configuration. One configuration can contain multiple nodes, rules, and proxy groups. After importing it, make sure it’s selected as the active configuration—a configuration appearing in the list doesn’t mean it’s in use. Changes to a local copy of a remote configuration may be overwritten during the next update, so keep persistent settings in the client’s supported local overrides.
When should I use Rule, Global, or Direct mode?
For everyday use, start with Rule mode and check the matched rule in the connection log. Rule mode evaluates rules in the order they appear in the configuration. Global mode sends connections that reach the core through the global policy, while Direct mode bypasses proxy nodes for those connections. Global mode doesn’t route all app traffic through the core, nor does it automatically capture apps that ignore the system proxy. If you switch modes briefly to compare results, switch back afterward so a temporary setting isn’t mistaken for a fix.
What’s the difference between the system proxy and TUN? Do I need both?
The system proxy relies on apps reading and following the operating system’s proxy settings. TUN is a virtual network interface that can receive traffic routed to it by the system. If your usual apps already connect through the system proxy, you don’t need to enable TUN just to troubleshoot. Check the client’s TUN support only if you need to cover apps that ignore the system proxy. Whether the two can run together depends on the implementation. To isolate an issue, enable just one at a time and test the same app against the same destination.
First-Time Setup & Migration
Setup
From choosing an installer and importing a subscription to granting network permissions, keep a known-good configuration on hand.
Browse clients by operating systemWhy is the list empty or configuration parsing failing after I import a subscription?
First, check that you used the right import method: paste a subscription URL into the remote import field, and select a local file through the file picker. Then find the first parsing error in the client log. If the response looks like a webpage title or login screen, you probably received a webpage instead of a configuration. If the error mentions indentation, fields, or types, check that the provider supplies a format supported by your core. Keep your last working configuration. Don’t paste raw subscription URLs into unfamiliar online converters, or expose URL parameters in screenshots when asking for help.
Clash subscription update failed: how can I tell if the URL is invalid?
Check the update log first; don’t delete your current configuration. If the log shows a network timeout or DNS resolution failure, try again on a network you know works. If it consistently returns 401 or 403, check your subscription account and the provider’s dashboard to see whether access was revoked, the URL was rotated, or access is restricted. If it returns 404, check whether the URL has changed. Save a new URL as a separate configuration first, confirm it parses and connects, then replace the active configuration.
TUN reports insufficient permissions. What should I check?
Check the client log to see whether virtual interface creation, network permission, or route configuration failed. If the desktop client offers a service mode, follow its instructions to install or repair the service that manages network interfaces. On mobile, check for a system VPN permission prompt. If another VPN is active, confirm it’s safe to pause it before testing TUN by itself. Contact your administrator about managed devices; don’t disable system protections to work around a permissions error.
What settings should I keep before switching clients or installers?
Check your operating system version and processor architecture before moving your configuration. Keep a copy of the current working configuration and note the active proxy group, proxy ports, and local overrides separately. Different cores may support different parts of the same configuration, so import a copy and check the logs before enabling the system proxy or TUN. Quit the old client before testing to prevent both apps from competing for the same port or changing system network settings at the same time. Store backups containing subscription URLs somewhere only you can access.
Routine Maintenance
Usage Tips
Use connection logs to verify routing, and local overrides to keep settings you need to persist.
Read the DNS configuration guideHow can I tell which rule a website is actually using?
In Rule mode, open the client’s connection list and search by domain, then start a new connection and check the destination, matched rule, and final outbound. A proxy group’s name may not be the name of the outbound node, so expand it to see which member is selected. If the log shows Direct, check whether an earlier rule matched first. If there’s no new entry, make sure the app’s traffic is reaching the proxy. Browsers may reuse existing connections; if needed, close the relevant tabs and restart the browser before testing again.
Clash starts on boot, so why is there no proxy after I sign in?
Starting on boot usually launches the client; it doesn’t necessarily restore the system proxy or TUN. After signing in again, check in order that the tray icon appears, the core starts successfully, and the correct configuration is selected. Then check whether the system proxy or TUN is enabled. If toggling it manually fixes the issue, see whether the client offers an option to restore the previous network state and whether your system allows it to run as a login item. If it only fails just after sign-in, keep the startup log and check whether the core or service reports an error before the network is ready.
How can I check for a Clash DNS leak?
DNS resolves domain names to addresses. Before troubleshooting, decide which component should handle the app’s DNS queries: the browser, the operating system, or the Clash core. Use the same app and proxy mode on the same network, changing only one setting at a time. Check the browser’s Secure DNS setting, the system’s private DNS setting, and the core log separately. An unexpected resolver on a leak test page is a clue, not proof that all requests bypass the proxy. Also distinguish the browser’s own queries from those made by other apps.
How can I keep custom rules and ports after updating a subscription?
Use the client’s local override feature to apply your own settings alongside a remote configuration. Back up the current configuration, then add one override at a time. Clients may append lists or replace them entirely, so after changing rules, check their final order—especially the fallback rule. After changing a port, also check the system proxy or any manual proxy address configured in apps. Finally, update the subscription manually and confirm the active configuration still includes your changes.
Connection Issues
Troubleshooting
First, determine whether all connections are failing or only a particular node or app is affected.
Troubleshoot HTTPS certificate errorsAll nodes time out. How can I narrow down the cause?
First, use your current network to open a website that normally works without a proxy. If it won’t load, troubleshoot Wi-Fi, sign-in requirements, or the system’s internet connection first. If only node tests time out, compare two nodes using the same configuration and test destination, then check the log for DNS resolution, connection timeout, or handshake errors. Latency tests also depend on the test URL. If the client lets you change it, try another trusted test address and compare the result with actual browsing. Don’t delete nodes based on a single speed test.
The system proxy is on. Why is an app still bypassing it?
Check that the address and port in the system proxy match the current core’s listening settings. Then use another app that follows system settings to access the same destination. If the comparison app appears in the connection log but the problem app doesn’t, check whether the latter has its own proxy settings or a direct connection option. If neither app appears in the log, check whether the core is running, whether the port is in use, and whether another network tool has changed the system settings. If the connection is logged but goes Direct, investigate the matched rule instead of repeatedly toggling the proxy.
Why can my browser connect, but some Windows apps can’t reach the local proxy?
First, determine whether just one app is failing or the whole system can’t connect. Some UWP apps run in Windows app containers and may be subject to loopback restrictions. Loopback means accessing a local address, such as 127.0.0.1. Check the local proxy port, reopen the app, and watch the connection log. If the container restriction is confirmed, see whether the client offers a per-app loopback setting. Change it only if you trust the app and your device policy allows it. Don’t enable loopback for every app or turn on LAN sharing just to allow local access.
Websites won’t load after I quit Clash. How can I restore internet access?
Check whether the system proxy still points to a local port even though the client has quit. If you can reopen the client, turn off the system proxy and any enabled TUN from within the client, then quit normally. If you can’t restart it, remove the proxy you enabled in system network settings or restore the previous proxy address. Keep organization-mandated settings on managed devices. If the problem persists, check whether another VPN is connected and test a site that should work directly. Don’t reset the entire network as a first step.