Clash / FAQ

Clash Troubleshooting

Trace issues through configuration loading, traffic capture, and outbound routing. First find out how far the request gets, then adjust the relevant setting.

01 / core

Getting Started

Understand the client, core, and traffic capture methods.

What’s the difference between a Clash client and the mihomo core?

The client imports subscriptions, switches configurations, and displays connections. The core parses configurations, matches rules, and establishes connections. Clash Meta is the former name for mihomo, but an app name containing Clash or Meta doesn’t tell you which core version it includes. If you see an unsupported protocol or field error, check the About page or startup logs to identify the core and its version, then verify that the field is supported. Updating the app doesn’t necessarily update its core.

What are subscriptions, proxy nodes, and proxy groups?

A subscription gives the client access to a configuration or list of proxy nodes. A node represents a single outbound connection, while a proxy group organizes nodes and other policies for rules to use. A successful subscription update only confirms that the data was fetched and imported; it doesn’t mean every node can connect. Before switching nodes, check the connection details to see which proxy group handled the request, then change the selection in that group. Changing a group that the connection doesn’t use won’t affect it.

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

Use Rule mode for everyday traffic: rules determine whether traffic entering the core goes direct or through a proxy group. For troubleshooting, briefly switch to Global mode, make sure its policy selects a proxy node, and test the same destination again. Direct mode sends traffic entering the core straight out, making it useful for comparison. None of these modes captures traffic that never reaches the core, so switch back to your original mode when you’re done.

Do system proxy and TUN mode capture the same traffic?

No. The system proxy provides a local proxy address mainly for apps that honor system settings, such as browsers making HTTP and HTTPS requests. TUN receives traffic through a virtual network interface and routing, so it can cover some apps that ignore proxy settings. Its actual reach still depends on routing, protocols, and client configuration. When troubleshooting, enable only one capture method first. Once connections appear in the logs, decide whether you need broader coverage.

02 / setup

Setup & Configuration

Check subscription formats, listening ports, and system permissions.

Subscription import failed. What should I check first?

Make sure you have a subscription URL, not a service dashboard URL or a link to a single node. Import it through the client’s remote subscription option, then check the update logs. If the response is a login page or HTML, return to the service dashboard and make sure you copied the full URL. For YAML or protocol errors, check the format provided by the service and whether your core supports it. Subscription URLs may contain credentials; remove the full URL and its query parameters before sharing logs or screenshots.

Why is the proxy list still empty after a successful import?

First, confirm the imported configuration is active in the configuration list, then check the startup logs for parsing errors. If it uses proxy-providers to load a remote node list, successfully loading the main configuration doesn’t mean the list was fetched. Check the provider’s last update time and any errors, and make sure the target proxy group’s use field references that provider. If the provider has nodes but the group is empty, check the group’s filters and whether its configuration name matches.

TUN says permission denied. How can I fix it?

First, make sure your client supports TUN on your operating system. On desktop, use the client’s built-in service mode if available, and follow the system prompts to install or start its background service. The exact name varies by client. On Android and iOS, check that you’ve granted the system VPN permission and that another VPN isn’t already using the system connection. After enabling TUN again, check the logs to determine whether the service failed to start, the virtual interface couldn’t be created, or routes couldn’t be added, then address the relevant issue.

A local proxy port is already in use. Which setting should I change?

Check the logs to see which address and port failed to bind. mixed-port accepts both HTTP and SOCKS connections; port and socks-port provide separate listeners. Stop the process occupying the port, or assign a different port to the conflicting listener in the client settings. Save and reload the configuration, then confirm the core is listening on the new port. Update the system proxy and any apps configured manually so they don’t keep using the old address.

03 / routing

Tips & Usage

Check rule order, group policies, and DNS resolution.

Why are connections still using the old policy after I add a rule?

Check the connection details for the matched rule and actual outbound route, and confirm the client is in Rule mode. Rules are checked in list order. A broad rule or catch-all MATCH near the top can prevent more specific rules from being reached. Move the specific rule above the relevant broad rules, reload the active configuration, and test with a new connection. Existing browser connections may keep using their old route, so simply refreshing the page may not be enough.

Why did my manually selected node change?

First, check the type of proxy group the connection actually uses. select lets you choose a member; url-test compares members based on test results and configuration; fallback prefers the first available member in the list. Even if the outer group is manual, the selected member may itself be an automatic group. If the change only happened after a subscription update, check whether group or node names changed and whether the client preserves selections. A name change can prevent the previous selection from being restored.

How can I keep custom rules after updating a subscription?

Don’t put rules you need to keep only in a file downloaded from a subscription; the next update may replace the entire file. Use a client-supported override, configuration merge, or rule extension feature to keep custom rules separate from the subscription source. Insertion points vary by client. After saving, check the final active rule list to make sure your custom rules aren’t below MATCH, then verify the match with a new connection.

Devices on my LAN can’t connect after switching to Fake-IP. What should I do?

First, test using the device’s current local network IP address. If the address works but the hostname doesn’t, check which service resolves local names and whether the request received a Fake-IP mapping. For domains that need their real IP, check the active filter mode, add them to fake-ip-filter, and clear stale DNS caches in the app or operating system. Filtering only changes name resolution. If the local IP address also fails, investigate TUN routes and direct rules separately.

04 / diagnostics

Troubleshooting

Narrow down the cause with update logs and connection records.

My subscription stopped working. How can I tell if it expired or there’s a network issue?

Check the provider’s dashboard for the subscription’s expiration date, URL, and usage limits, then review the client’s update logs. For 401 or 403 errors, check whether the URL changed or access permissions were updated. For DNS resolution failures or connection timeouts, try another working network to compare. Nodes in an older configuration may still connect even if the subscription URL is no longer valid. Keep any working configuration rather than deleting it to retry.

A proxy node’s latency test timed out. How can I tell if the node is actually down?

First, determine whether the failed request was the latency test or an actual connection. Use the same node to access another known-good destination, and check the connection details to confirm traffic used that node. If only the test fails, check whether its test URL is reachable through the node. If real traffic fails too, compare another node and another network, then check whether the logs stop at DNS resolution, connection, or the TLS handshake. If several nodes time out, first rule out a shared test URL or local network issue.

System proxy is enabled. Why isn’t my app’s traffic going through Clash?

Make a new request in a browser that normally follows system proxy settings, then check whether Clash logs the connection. If the browser isn’t logged either, verify the system proxy address and port, confirm the core is listening, and check whether the destination is on the system’s proxy bypass list. If only one app is missing, see whether it has its own proxy settings or ignores the system proxy. Test using the app’s proxy settings first, then consider TUN.

My browser works on Windows, but why can’t a UWP app connect?

If the system proxy points to 127.0.0.1, first confirm the core is listening on that port. Some UWP apps running in an AppContainer are subject to Windows loopback restrictions and may not be able to connect to a local proxy. If you confirm this is the issue, and have system administrator authorization, grant a loopback exemption only to the apps that need it, then restart and retest them. Don’t enable exemptions for every app. If connections still aren’t logged, check whether the app reads system proxy settings.

Download Clash