Mihomo / Clash Meta
Mihomo and Clash Troubleshooting
Find the problem by checking whether the configuration loaded, traffic reached the core, the expected rule matched, and where the outbound connection failed.
Getting Started
Understand the core, client, operating modes, and subscription formats.
How do Mihomo, Clash Meta, and GUI clients fit together?
Mihomo is the name of the core that continued from the original Clash Meta project. It handles rule matching, outbound connections, and DNS. GUI clients import configurations, switch nodes, and manage the system proxy or TUN. Even when two clients use the same core, they may bundle different core versions, defaults, and permission flows. If a configuration option is not recognized, check which core version is actually running, then consult its documentation.
What’s the difference between Rule, Global, and Direct mode?
For traffic that reaches the core, Rule mode checks rules in order and routes traffic to the selected policy; Global mode uses the outbound currently selected in the global policy group; Direct mode connects directly. Changing modes won’t route apps that aren’t already sending traffic through the core. For troubleshooting, briefly switch to Global mode as a comparison, then switch back to Rule mode and test with a new connection.
Can TUN mode replace the system proxy?
The system proxy provides proxy settings to apps that support them. TUN routes traffic through a virtual network interface, making it useful for apps that ignore system proxy settings. TUN coverage still depends on the platform, route exclusions, and permissions, so it won’t capture every connection. When setting things up, enable one method first and confirm a test request appears in the Connections panel before deciding whether to use the other.
Can I use Clash YAML, Base64 node lists, and share links interchangeably?
A full Clash YAML configuration can include nodes, proxy groups, rules, and DNS settings. Base64 lists typically encode multiple node links, while a share link usually describes a single node. Accepting a subscription URL doesn’t mean the client supports every format it might return. If import fails, ask the subscription provider which format it serves and use one the client explicitly supports. Don’t give a private subscription URL to an untrusted conversion service.
What do nodes, proxy groups, and rules each control?
A node defines the protocol and settings for a remote connection. A proxy group selects an outbound or chooses one automatically, and may reference another group. A rule decides which policy handles a connection. Changing the nodes in one group won’t affect requests routed to another group or sent directly. To verify a change, make a new request and check the matched rule, proxy group, and actual outbound in the Connections panel.
Setup and Configuration
Check that the configuration loaded and that device permissions and listening ports are correct.
How do I confirm a configuration was imported and enabled?
Import a file or URL from the configuration or subscription page. Wait for the client to download and parse it, then set that configuration as active. Return to the proxy page and check that the proxy groups and nodes appear. If the client has a core status page, make sure the core is running too. Seeing a configuration in the list only confirms it was imported. If the old policies still appear after switching, check whether a syntax error prevented the new configuration from loading.
What should I do if a subscription update says unauthorized, expired, or not found?
Check the update log first to distinguish a request timeout from a server rejection. For a 401, 403, or 404 response, check your account with the subscription provider to confirm the service status and current URL. Make sure the address is complete and hasn’t changed. Update the subscription source with the new URL, but keep the old configuration until the new one loads and passes testing. When asking for help, share only the error code and redacted logs—never post the full subscription URL.
What should I do if TUN reports insufficient permissions?
Check the log to see where setup failed: creating the virtual network interface, installing the service, and adding routes are separate steps. On desktop, install or start the client’s service component as documented. On mobile, check whether you approved the system’s VPN connection prompt. If another VPN is routing traffic, pause it and test TUN on its own. On devices managed by an organization, contact the administrator if policy prevents creating a virtual network interface.
Can I move an old Clash configuration straight to Mihomo?
Common node, proxy group, and rule syntax overlaps, but overrides, scripts, and system proxy settings stored inside the old client usually don’t move with the YAML. Back up the original file, then import a copy into the new client. Check the logs for unsupported fields or failed rule-set references. Verify the ports and matched rules before disabling the old client to avoid both cores competing for the same ports.
Which port should I enter: the mixed port or the external controller port?
The mixed port accepts HTTP and SOCKS proxy connections. When entering a proxy address manually in a browser or another app, use the port the core is actually listening on. The external controller port is for the control panel to call the core API; it is not a proxy port. If you use the example port 7890, confirm that it’s configured as the mixed port. For local use, leave LAN access disabled.
Tips and Usage
Verify routing, outbound connections, and DNS settings with a new connection.
Where should I put a rule for routing a single domain through a specific policy?
Use DOMAIN for a single hostname and DOMAIN-SUFFIX for a domain suffix, and reference a proxy group that already exists in the configuration. Rules are checked in order, so put more specific rules before broad rules that might match first and before the fallback MATCH rule. If the configuration comes from a subscription, use the client’s override feature to save changes so the next update doesn’t overwrite them.
Why is a website still slow when the latency test has a result?
The latency value measures how long a node takes to reach a test address; it doesn’t indicate a website’s initial load time or large-file throughput. A page may also rely on other domains, use different protocols, or match a different policy. Compare results on the same network and URL, changing one node at a time, and check the actual outbound. Don’t rule out a routing issue based on a single latency reading.
When should I change DNS settings?
Check DNS when connection records are present and logs repeatedly show domain lookup timeouts or error responses, or when only internal domains fail to load. First identify whether requests are resolved by the system, an app’s secure DNS, or Mihomo. Internal domains may depend on an organization-provided resolver. Change one setting at a time, note the original value, and retest the domain. Avoid changing the resolver, enhanced mode, and node all at once.
How can I tell whether traffic matched the expected rule?
Open the client’s Connections panel and make a new request. Find the entry by domain or process, then check its rule, proxy group, and outbound node. Existing connections may keep using their original outbound, and page caching can prevent a test from making a new request. If there’s no matching entry, first check whether the system proxy or TUN is capturing the traffic; you don’t need to change routing rules yet.
When should I use an automatic selection group or a fallback group?
An automatic selection group usually chooses a node based on health-check latency, and settings such as tolerance can affect when it switches. A fallback group usually uses the first node in its configured order that passes the health check, making it a good fit when you have a defined primary and backup. Both depend on the test URL and check interval. After setting one up, check the group’s current outbound to confirm its behavior rather than just looking at the candidate list.
Troubleshooting
First identify whether the issue is traffic capture, DNS resolution, or the outbound connection, then change settings.
Why is there no traffic in the app when the system proxy is enabled?
Check the operating system’s proxy settings and confirm the address and port match what the client is actually listening on. Then make a new request in a browser that uses system proxy settings. If the browser appears in the connection list but the target app doesn’t, check whether the app has its own proxy, uses a separate network stack, or is excluded from the proxy. If it doesn’t support the system proxy, test TUN according to the platform’s instructions.
All node latency tests are timing out. What should I check first?
First, confirm the device can connect to the internet when the proxy is paused. Then check that the test URL is reachable and that subscription updates and core startup complete without errors. If all nodes fail, look for a shared cause such as an unreachable test URL, a network change, or shared DNS settings. If only a few fail, compare them with other nodes in the same group. A failed latency test doesn’t necessarily mean the service won’t work—test the target website too.
Why can’t a Windows Store app connect to a local proxy?
Some apps running in AppContainer isolation can’t access loopback addresses by default. If a browser works but a Store app doesn’t, first confirm the app uses the system proxy and check whether it’s trying to connect to 127.0.0.1. If loopback restrictions are the cause, use the client’s UWP loopback management feature to exempt only the apps that need it, then restart the app and test again. On managed devices, check whether changes are allowed first.
What should I do if the log says port 7890 is already in use?
Use your operating system’s network monitoring tools to identify the process listening on port 7890. If it’s an old proxy client you no longer need, exit it normally and restart the current core. If another service needs the port, assign Mihomo a free mixed port instead. Save the configuration and reload the core, then update the system proxy or any port entered manually in an app. Make a new request to confirm the connection works.
The client says it’s connected, but websites won’t load. How do I troubleshoot?
Make a new browser request and check whether it appears in the Connections panel. If there’s no record, check system proxy or TUN routing. If a record shows a DNS error, check DNS. If the matched rule is unexpected, check rule order and proxy groups. If the outbound is correct but the handshake or connection times out, compare with another node in the same group. Test one step at a time in this order instead of resetting several settings at once.