Support Docs / FAQ

Clash FAQ

First, confirm that traffic is reaching the core. Then narrow down issues with subscriptions, rules, permissions, or outbound connections.

Basics

The core, configuration, and ways to route traffic.

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

The client provides the interface for importing configurations, choosing proxy groups, changing system settings, and viewing logs. The mihomo core reads the active configuration, matches rules, and establishes connections. When troubleshooting, first identify which layer is failing: if the interface opens but logs report unparseable fields, check the core version and configuration syntax. If the core has started but the system proxy setting was not applied, check the client’s permissions and system settings.

What are subscriptions, nodes, and proxy groups?

A subscription updates your configuration, returning a complete config or a list of nodes in the provider’s format. A node represents a remote connection endpoint; a proxy group determines how to choose among nodes or other groups. After importing, make sure the new configuration is active, then check which outbound the proxy group has actually selected. Seeing a node’s name does not prove that your current connection is using it.

What’s the difference between Rule, Global, and Direct mode?

These modes only apply to connections that reach the core. Rule mode checks rules from top to bottom and uses the outbound specified by the first match. Global mode uses the outbound currently selected in the global group. Direct mode connects to the destination without a proxy. If switching to Global mode still produces no connection records, first check whether the app is sending traffic to the core rather than changing the rules.

What is mixed port 7897 used for?

The mixed port provides a single local listener for both HTTP and SOCKS proxies. Some clients use 7897 by default, but check the current settings and startup logs for the actual port. When configuring a proxy manually in an app, verify the protocol, listening address, and port. Changing the port alone won’t enable the system proxy or make the listener accessible to other devices.

How do system proxy and TUN mode differ in the traffic they handle?

The system proxy is used by apps that read the system proxy settings. TUN uses a virtual network interface and system routes to capture matching IP traffic, which can help with apps that ignore the system proxy. The traffic captured depends on routes, exclusions, and platform permissions. When troubleshooting one app, change only one connection method at a time and reconnect to the same destination.

Setup

Package selection, configuration loading, and system permissions.

How can I confirm a configuration is active after adding a subscription URL?

Add the subscription on the client’s configuration page and wait for the update to finish. Then select the imported configuration to activate it. Open the proxy page and check that its proxy groups appear; if the list is empty, review the update or load logs. Downloading and loading are separate steps: a successful download means a response was received, while a successful load means the core accepted the configuration.

What should I check first if a subscription expires or an update fails?

Start with the update logs. For a 401 or 403 error, check whether the subscription is still valid and its URL has changed, and consider access restrictions. If the download times out, confirm that your current network can reach the subscription service. If the response is a webpage rather than a config, check that you didn’t copy a management-page link by mistake. Keep the old configuration if it still works, and switch only after the replacement imports successfully.

What permissions does TUN mode require?

The client needs to create a virtual interface and modify routes. On desktop, install or start the required service as directed by the client, then approve the requested permissions in system prompts. On mobile, the tunnel is usually established through the system’s VPN permission flow. If the toggle switches off immediately, check the logs for virtual interface creation failures, route errors, or VPN conflicts instead of repeatedly toggling it.

Which package architecture should I choose: x64, ARM64, or something else?

Use the system type shown by your operating system; don’t rely on the device brand alone. In Windows, look for System type under Settings → System → About. On macOS, check About This Mac to see whether your processor is Apple silicon or Intel. Linux packages must also match your distribution’s package format. A package being recognized by the package manager does not guarantee that its processor architecture is compatible.

Which settings need to be redone when migrating from an older client?

Keep your subscription URL and custom rules, then import a configuration into the new client. Don’t overwrite the entire old data directory: startup behavior, system proxy settings, TUN services, and local listening ports are often managed separately by each client. After confirming the new configuration loads and passes a connection test, disable the old client’s startup behavior to prevent both clients from changing the system proxy.

Tips

Check rule matches, test results, and local access.

Where should I place a new rule in the configuration?

Put more specific rules before broader rules that could match first, and leave the MATCH fallback at the end. If your subscription updates the configuration, use the client’s override or rule extension features where available to avoid having your changes overwritten. Save and reload the configuration, then verify the matched rule in the connections panel using a new connection rather than a reused session.

Why won’t a webpage load even though the latency test is low?

A latency test measures the time it takes to send a request to its test address through a specified outbound. It doesn’t show whether other sites are reachable or how fast they’ll download. Check the rule and outbound used by the actual request in the connections panel, then compare how the same node handles different destinations. If only one domain fails, start by checking its DNS resolution and connection logs.

Why might Windows Store apps need a UWP loopback exemption?

Some UWP apps running in an AppContainer are subject to network isolation and may not be able to reach a proxy listener on 127.0.0.1. First confirm that a regular desktop app can connect through the same port, then identify the affected app. If an exemption is necessary, grant loopback access only to that app and test again after restarting it. On managed devices, check with your administrator first.

How can other devices on the same local network use the proxy?

Enable Allow LAN only on a trusted network. Make sure the client listens on the host’s LAN address, and limit firewall access to the devices or private network that need it. On the other device, enter the proxy host’s LAN IP and actual port—not 127.0.0.1. Disable the shared listener when you’re done.

What should I keep or remove before sharing troubleshooting logs?

Keep the time of the issue, client and core versions, connection method, steps to reproduce, and a few log lines from before and after the failure. Before sharing, remove subscription links, credentials, and any domains or addresses you shouldn’t disclose. If you need to explain how the configuration fits together, include only the relevant fields and rule order. Submit logs from one reproduction at a time so errors from separate tests don’t get mixed together.

Troubleshooting

Check listeners, DNS, routes, and outbounds based on the symptoms.

How can I tell whether a node timeout is isolated or caused by a network issue?

On the same network, test the current node and another node against the same address. If only one fails, check that node’s connection or handshake errors. If several fail at once, first confirm that the test address is reachable, then check your local network and node domain resolution. If possible, retest on another network, changing only the network or node at a time.

Why isn’t an app using the proxy even though the system proxy is enabled?

First verify the address and port in your operating system’s proxy settings, then confirm that the core is listening on that port. Make a new request in a browser and check for it in the connections panel. If the browser works but the target app has no connection record, check the app’s own proxy settings and the system bypass list. If there is a record but it goes direct, check the mode and matched rule.

How can I tell the difference between a DNS resolution failure and a connection failure?

For the failing domain, note when you make the request and then check the client logs. If they show a DNS timeout or no available address, check the configured DNS upstream and how it is reached. If the logs show a destination address before a connection or handshake timeout, focus on the outbound connection instead. After making a change, test again in the same app.

What should I do if the logs say a local listening port is already in use?

Use the logs to identify whether the conflict involves the mixed port, the controller port, or another listener, then use your system’s network diagnostic tools to find the process using it. If it’s an old client, exit it normally and restart the current core. If a required service is using the port, assign the client an available one. Update any manually configured proxy settings and test again.

How can I restore connectivity and troubleshoot if TUN cuts off the network?

Turn off TUN first and check whether normal network access returns. If it doesn’t, verify that the system proxy isn’t still pointing to a port that is no longer listening. Once the network is back, check for another active VPN, route conflicts, and interface errors in the TUN logs. Change one setting at a time, and make changes locally whenever possible to avoid losing remote access.

Troubleshooting Guide provides step-by-step help by symptom. For your first setup, start with Getting Started.