Clash Troubleshooting Guide
For the main setup flow—importing a config for the first time, choosing a mode, and verifying your connection—follow the User Guide. If setup is complete but something is not working, use this page’s symptom index to find where to start. Reproduce the issue first, then change one thing at a time. Don’t change the node, rules, and DNS in the same test.
01 / No Internet After Enabling Clash
First determine whether the outage occurs before or after traffic interception. Turn off the system proxy and TUN, then check your network settings to confirm the adapter is connected and has an IP address and default gateway. Using the same browser, open a site that normally works without a proxy. If the direct connection fails, troubleshoot Wi-Fi authentication, the Ethernet cable, router, or upstream network first; changing the outbound node won’t fix a device’s own network issue. Public hotspots may require portal sign-in before they allow internet access. Restore traffic interception after signing in. If some apps still have issues with interception off, check whether they’re using a separate proxy address.
Compare three connection paths—don’t rely on the tray icon
| Path | What to do | Check first if it fails |
|---|---|---|
| Direct system connection | Turn off the system proxy and TUN, then visit a known direct-access site | Network authentication, default gateway, system DNS |
| Explicit proxy | Use a command that specifies the local mixed port | Listening address, port, matched rule, outbound |
| App traffic interception | Enable only one interception method, then restart the app | System proxy settings, bypass list, virtual adapter routes |
The commands below are for desktop systems with curl installed. In Windows PowerShell, use curl.exe. Turn off TUN first, then replace the port in the second command with the actual mixed port shown by your client. Run both commands against the same target. The first ignores curl’s proxy settings; the second specifies the local HTTP proxy and clears any proxy bypass settings in the environment. The example port works only if your machine is actually listening on it.
curl --noproxy "*" --max-time 15 -sS -o /dev/null -w "%{http_code}\n" https://example.com/
curl --noproxy "" -x http://127.0.0.1:7890 --max-time 15 -sS -o /dev/null -w "%{http_code}\n" https://example.com/
On Windows, replace /dev/null in the command with NUL. If the explicit request says the local port refused the connection, check whether the core is running, the mixed port is listening, and the listening address matches. Don’t assume the remote server is at fault. If the connection to the local port succeeds but the request later times out, find the matching entry in Connections or Logs by test time. Check which rule matched and which option the policy group selected. If there’s no request in the logs, troubleshoot the proxy entry point first. Only investigate rules and outbound connections after the request appears in the logs.
Restore a working path before investigating rules
Keep the original config and switch temporarily to a known-good local copy. If everything works with interception off and with an explicit proxy, the core can at least handle this request. Restore only the system proxy; don’t enable TUN at the same time. If one app works in the browser but not elsewhere, check whether the affected app reads the system proxy settings. Conversely, if an explicit proxy request fails but the logs show DIRECT, check whether the target is reachable through that route. Rule mode doesn’t guarantee that a particular site will use a proxy. After switching back to rule mode, establish a new connection to the same target. Existing connections keep using their previous route and can lead to the wrong conclusion.
If only a few domains are affected, compare each failing domain with a similar one that works. A browser page may also request login, image, and static-resource hosts; loading the main document proves only that one connection succeeded. Find the host that actually failed at the time of the issue, then check whether an earlier rule matched it. For help with rule order, see How to Configure Rule-Based Routing. After restoring the config, repeat the original action to confirm both that the issue is gone and that previously working apps still work. Opening a different webpage doesn’t count as a retest.
If the network stops working only after you fully quit the client, check whether the operating system still points to the local proxy address. The client may be closed while the system continues sending requests to its old proxy, causing websites to fail across the device. Restore the settings that were in place before you enabled the client. On work-managed devices with automatic configuration scripts, restore the original policy rather than clearing everything. If the issue happens only after a reboot, note the order of startup and network authentication. Test the first launch after sign-in and a manual client restart separately so a startup timing issue isn’t mistaken for a rules problem.
02 / Node Test Timeouts and Outbound Connection Failures
A test timeout means only that a specific probe didn’t finish within the allotted time; it doesn’t mean the node is permanently unavailable. A probe may involve resolving the node address, connecting to the server, completing a protocol handshake, and requesting the test target. Failure at any step can produce the same timeout message. First make sure the active config is loaded, select a node manually, then inspect the connection log for a new request and verify its actual outbound. If you test one node but the service uses another through an automatic group, the results can seem contradictory.
Test the target and outbound separately
On your current network, keep the test URL the same and compare two available nodes, one at a time. Record whether each succeeds, where it fails in the logs, and what stage it reaches. Then keep one node selected and compare the same test URL with another HTTPS URL you’re authorized to use that responds reliably. If only one test URL fails, the target’s restrictions, DNS resolution, or probe settings are more likely causes. If only one node fails, check its availability first. If all nodes fail, verify the system time, current network, and node-domain resolution, then use the explicit request from the previous section to confirm that the request reaches the core.
| Log message | Check first | Next step |
|---|---|---|
| Node hostname resolution failed | Hostname spelling and the resolution path used for that hostname | Check whether resolving the node hostname depends on an outbound connection that isn’t available yet |
| Connection refused | Whether the remote address and port are still valid | Compare with the provider’s current config; don’t guess a replacement port |
| Handshake or certificate error | System time, protocol, transport parameters, and server name | Restore the correct parameters or ask the provider; don’t disable certificate verification |
In connection details, distinguish between a failure to reach the remote node address and a failure to reach the target after the proxy connection is established. Both may show a timeout, but the first can affect most requests using that node, while the second may affect only certain targets. If the logs don’t provide enough detail, temporarily increase the log level while reproducing the issue, then restore it. Keep the lines before and after the error: a single line may not show whether it came from a speed test, subscription refresh, or regular request. A connection reset doesn’t prove the remote server is down. Retesting the same node on another network you’re allowed to use can help distinguish an access-network issue from a server issue.
Check the probe settings for automatic selection groups
In url-test, url is the probe URL, interval is the check interval, and tolerance is the latency tolerance in milliseconds. Tolerance helps prevent switches over small differences; it doesn’t extend the handshake timeout. Policy-group checks and manual checks in the client’s node list may use different URLs or timeout settings. First identify which measurement is failing, then adjust the corresponding setting. Don’t choose a target just to get a better-looking number if it may be cached locally, redirected, or require sign-in. On a workplace network with outbound restrictions, choose a probe URL that complies with the network’s requirements.
If an automatic group keeps switching outbounds, temporarily pin a working node and test your regular traffic. This can restore service, but it doesn’t fix the probe conditions. Before re-enabling automatic selection, confirm that the same probe URL responds consistently on the candidate nodes. Old measurements in the interface may not refresh automatically. Run a new check after switching, then create a new connection so you don’t confuse old log entries with current results. Don’t use repeated full speed tests as a substitute for diagnosis; high-concurrency probes can make both weak networks and busy exits unstable.
When reporting an issue to your service provider, include your local time, the type of test target, the failing stage, comparisons before and after a network change, and whether regular traffic is affected. Don’t share a full node address or access credentials, and don’t use another user’s subscription for cross-testing. If you have a working node, restore regular service first, then test the affected node separately. For how probe latency is measured, see How Node Latency Tests Work. If throughput is low but the node doesn’t time out, see the speed troubleshooting section on this page.
03 / Subscription Import or Update Failed, or No Nodes Appearing
A subscription update has at least three stages: fetching the content, parsing it, and activating the config. A displayed update time or a new config entry doesn’t necessarily mean the core has loaded it. First confirm which config is selected, then use the update log to identify the stage that failed. For a config you already use, back up the last working copy and local overrides. Add the new subscription as a separate entry to test it; don’t overwrite your working config. For initial setup, see How to Import a Subscription. This section focuses on updates that fail after previously working.
Fetch failed: distinguish a network error from a server response
Check whether the log shows an HTTP status. A connection failure, DNS error, or certificate error means the request didn’t complete normally. An authentication error or rate limit means the server responded. After a redirect, the final content might be a login page or captive portal—even a success status doesn’t mean it’s a usable config. Don’t paste subscription URLs into public logs, command history, or online converters. To inspect the response, use the client’s local preview or the provider’s account page. Record only the status and response type; don’t copy authorization parameters.
If an update fails on one network but succeeds on another network you’re allowed to use, first check the current network’s portal authentication, proxy settings, and DNS. If the client lets you choose whether updates use a direct connection or an existing proxy, make a note of which path you selected. A first update that depends on a node you haven’t imported yet creates a catch-22. If you already have a working config, keep using it while troubleshooting the update. If not, use a retrieval method supported by the provider. If you hit a rate limit, stop refreshing repeatedly and wait as instructed rather than shortening the automatic update interval.
Fetch succeeded: check the format, config references, and override layer
A complete config, a provider file containing only nodes, and a generic subscription aren’t the same kind of data. A complete config usually contains rules and policy groups. A provider file can be referenced by a main config, but may not provide the routing behavior you expect on its own. Using the wrong import option can leave you with a loaded config but empty policy groups. Ask the provider for an output format compatible with your client and core, then check the names referenced in the config: do the group names match, is the provider listed under the relevant group’s use, and is a custom filter excluding every node? Don’t edit the remote config directly; your changes may be overwritten at the next sync.
If you use local overrides, load the unmodified subscription and a copy with overrides separately. If the unmodified version loads, downloading and basic parsing are working, so focus on the overrides. If both fail, check the upstream content or core compatibility. For YAML errors, start with the first error and the indentation level above it; later messages may be cascading errors. If the error says a policy group doesn’t exist, check whether its name changed between updates. Old rules that refer to the previous name can invalidate the whole config.
After fixing the issue, don’t just count the nodes. Confirm the correct config is active, check that the policy groups contain the expected options, then create a real request and verify its rule and outbound in the connection log. Keep the last successful config copy until an automatic update has run successfully at least once. If the same source works on one device but fails on another, compare the system time, core version, override layer, and update path—not just the names shown in the interface. When reporting the error, provide the status, field name, and steps that reliably reproduce it. Don’t include the subscription content.
04 / Connected but Slow, Unstable, or Waiting on the First Byte
First break “slow” into three symptoms: a long wait before the page opens, slow transfer after the connection is established, or speed that repeatedly drops or stalls. For the first, check DNS, connection setup, and time to first byte. For the second, compare throughput during steady transfer. For the third, consider local network quality, retransmissions, and background load. Web browsing, video playback, and file uploads are different workloads; a node test’s latency in milliseconds can’t explain how they perform. Choose a fixed target you’re allowed to test repeatedly, and compare the same type of workload for the symptom you’re investigating. Don’t compare a small webpage with a large file.
Establish a repeatable measurement baseline
Pause sync, downloads, and system updates on the device. Keep the outbound, target file, and test window as consistent as possible. First test a direct connection as a reachability baseline, then test the same target and request type through a fixed node. Take several measurements in each group and compare typical results, not just the best one. If the target limits single-connection speed, don’t compare its total concurrent throughput with single-connection speed. Note that browsers often report bytes per second while advertised broadband speeds use bits per second. Even after converting, account for protocol overhead and remote rate limits.
To investigate slow initial page loads, use the command below to measure elapsed times. It requests a small public sample page, so it’s useful for checking connection and time-to-first-byte stages, not maximum bandwidth. With TUN or other transparent interception enabled, first confirm the actual route. For an explicit comparison, replace --noproxy "*" with the proxy options from the first section. In Windows PowerShell, use curl.exe and change the output target to NUL.
curl --noproxy "*" --max-time 20 -sS -o /dev/null -w "dns=%{time_namelookup} tcp=%{time_connect} tls=%{time_appconnect} first=%{time_starttransfer} total=%{time_total}\n" https://example.com/
These timings are measured from the start; they aren’t five durations you can simply add together. With a local HTTP proxy, the connection time mainly reflects the connection to the local entry point. It doesn’t show the time the client later spends resolving the destination or completing the upstream handshake. Check whether the results vary across repeated tests, then use connection details and logs to investigate. If only the first request after a cold start is slow and later connections are steady, check cache startup and core initialization before changing routing rules. If every new connection is slow, compare different targets, outbounds, and networks.
Use comparison results to narrow it down to the device, network, or service
If Ethernet is stable but Wi-Fi keeps fluctuating, check local wireless coverage and usage by other devices on the network. If direct and proxied connections are both slow, start with the access link, device load, and target server. If only one node is slow, compare it with another node that serves the same purpose. If the same node performs differently during the day and evening, record the time periods and report them to the provider. If a fixed node is stable but an automatic group isn’t, check the actual outbound and probe results before and after switching. Fix the probe conditions before re-enabling the group; the best latency on a short request doesn’t indicate available bandwidth.
If throughput drops only when TUN is enabled, compare the same proxy-compatible app using the system proxy and check CPU usage in both the client and the operating system. First check for duplicate traffic interception or extra inspection by security software on the same path. Consider packet size or tunnel MTU only if small requests succeed but larger transfers consistently stall. Keep the default settings, check existing network policies, change one thing, then retest. To rule out misrouting caused by stale GeoIP or GeoSite data, see the Rule Data Update Guide—but don’t treat a data update as a way to improve speed.
When testing a change, check both whether the original task completes and whether the speed stays stable. Compare the full transfer from the same source for downloads, sustained playback at the same resolution for video, and uploads separately from downloads. If a test looks much better once but you can’t reproduce it, record it as a temporary recovery. Keep a record of the original settings before the next test to avoid repeatedly reinterpreting the same data and piling on unrelated changes.
05 / DNS Resolution Fails, Returns an Unexpected Address, or Breaks Internal Domains
First distinguish “no address found” from “an address was found, but the connection fails.” The first may appear as an unknown domain, DNS timeout, or server error. The second usually means the request reached the connection, handshake, or rule-selection stage. Different addresses for the same domain aren’t always a problem; caching and location-based responses can explain the difference. Retest with the affected app and the same full hostname. Don’t mix up short internal names, search suffixes, and public domains. Record the resolution status and address type; there’s no need to share internal addresses or hostnames.
Identify which layer answered the query
The three layers to check are usually the system resolver, the app’s own secure DNS, and mihomo’s built-in resolver. A terminal DNS tool can show which upstream it used, but its result may differ from the browser’s. The examples below query public domain records for two address types. The second works only if the relevant local listener is enabled; it doesn’t replace checking the operating system’s DNS path. If dig isn’t available, use nslookup -type=A example.com on Windows to check the result through the system’s configured resolver.
dig example.com A
dig @127.0.0.1 -p 1053 example.com A
dig example.com AAAA
When reading the output, check the status and answer first, then see which server received the query. The absence of a record type isn’t always an error; a site may publish only IPv4. A DNS response also doesn’t prove that the address is reachable. If an app uses secure DNS and the system query works but the app fails, check whether its settings are compatible with the managed network. TUN DNS interception depends on the relevant config; it doesn’t automatically turn every encrypted in-app DNS query into a regular DNS query through the core. Don’t change the system, app, and core settings all at once. Record the original values, then compare domains and app behavior one at a time.
Understand the boundaries between fake IPs, node hostnames, and private domains
enhanced-mode: fake-ip returns synthetic addresses for applicable queries that the core can map back to domain names. Seeing a synthetic address in the output doesn’t mean it’s polluted; what matters is whether the connection still goes through the core that holds the mapping. If an app caches a synthetic address and tries to connect directly after interception is disabled, it may not recover until it resolves the name again. For an internal app confirmed to require a real address, add a fake-ip-filter entry for the specific domain in a test copy, then make sure that domain uses an upstream that can resolve it. Excluding a domain from synthetic addressing and choosing a private resolver are two separate actions.
This mihomo config snippet is for local diagnostics. Merge it into the existing dns block in a local test copy; don’t add a second block with the same name or replace a DNS policy supplied by your organization. The example uses public DNS services and is suitable only for testing public domains. If your network can’t reach that service, use an approved, reachable resolver. Don’t send private domain queries to a public upstream.
dns:
enable: true
listen: 127.0.0.1:1053
enhanced-mode: fake-ip
nameserver:
- 1.1.1.1
If a node server uses a hostname, check whether proxy-server-nameserver provides a working resolution path. If resolving the node address requires connecting through that same node before it’s connected, you have a dependency loop. When troubleshooting encrypted DNS upstreams that use hostnames, also check how the upstream hostname is resolved initially. On a corporate network, check whether the VPN or network configuration routes private suffixes to a dedicated resolver. If needed, use nameserver-policy to match only the relevant domains in an approved config. Don’t redirect all public queries to an internal service just to make private domains work.
After making changes, reload the config, start a new connection in the app, and retest a previously failing domain, a previously working public domain, and any required internal domains. The system, app, and core may all cache results, so you may need to restart the affected app. Clearing the cache can test the new config, but it doesn’t replace troubleshooting. If resolution works but webpages still fail, return to the connection log and check the actual rule and address family. Don’t keep changing DNS settings.
06 / System Proxy Is On, but Apps Aren’t Using Clash
The system proxy is a set of proxy settings exposed by the operating system. Whether it works depends on whether an app reads those settings. An enabled toggle only means the client tried to set them; it doesn’t mean every process’s requests have entered the core. Check the actual proxy panel in your operating system for the address, port, bypass list, and automatic script settings. Then verify the entry point with an explicit proxy request. If that succeeds but the app doesn’t appear in the Connections page, check the app’s settings and system-level interception. If the app appears but uses a direct route, check the matching rule and policy group rather than toggling the system proxy again.
Check proxy settings in the environment where the process runs
| Platform | Where to check | Common limitations |
|---|---|---|
| Windows | Settings → Network & Internet → Proxy | Background services may use WinHTTP or their own settings |
| macOS | System Settings → Network → Current Service → Details → Proxies | Check the settings for the new service after switching network services |
| Linux | Desktop environment network proxy settings and app-specific settings | Terminal, background services, and desktop apps may each get settings from different sources |
Turn off the app’s separate proxy option first, or explicitly set it to use the correct entry point. Then fully quit and reopen the process. Browser extensions, automatic proxy scripts, and built-in proxies can override system settings; check whether an exception is bypassing the test target. Terminal apps may handle variables such as HTTP_PROXY, HTTPS_PROXY, and NO_PROXY according to their own rules. Case sensitivity varies by program. Testing in the app’s own network settings is easier to undo than changing global variables permanently. For a background service, check the service account’s settings; variables changed in a desktop terminal aren’t necessarily available to the service.
If the issue occurs only in a container, virtual machine, or subsystem, first check which network environment 127.0.0.1 refers to from the app’s perspective. Loopback addresses in an isolated environment usually don’t point to the host’s loopback address; the details depend on the network mode. Don’t expose the local proxy to your entire LAN just to make it work. Use a connection method supported by that environment, and check the listening scope, firewall boundaries, and authorization requirements. A test running on the host doesn’t prove that the isolated environment can connect.
Test TUN only when you need to intercept routes
The system proxy works for apps that read proxy settings. TUN uses a virtual adapter to intercept traffic within its routing scope, including traffic from some apps that ignore the system proxy. To troubleshoot, first turn off the system proxy and other conflicting proxy apps, then enable TUN alone. Confirm that the virtual adapter was created, the default outbound interface was detected correctly, and new connections appear in the logs. auto-route controls automatic route configuration, while auto-detect-interface detects the outbound interface. Changing stack alone won’t fix an incorrect system route. On work VPNs or managed devices, check whether simultaneous interception is allowed before changing organization-managed policies.
When checking TUN, verify regular internet access, local network resources, and system connectivity after interception is turned off. If printing or file sharing breaks only while TUN is enabled, check the route scope and how local addresses are handled. Don’t route all traffic globally to fix one app. After testing, restore the original proxy or virtual adapter state and confirm the operating system settings have been reverted. For how proxy modes affect routing rules, see the Global Mode section of the User Guide. Switching modes changes how traffic already reaching the core is routed; it doesn’t make an app read the system proxy.
If the same app sometimes appears in the core and sometimes doesn’t, start a new session for each test and record the actual process and target. A sign-in window, background updater, and main app window may be handled by different processes. A working main window doesn’t mean auxiliary processes use the same route. Testing the specific entry point that reproduces the issue is more useful than reporting that the whole app isn’t intercepted.
07 / Client Crashes on Startup, Core Exits, or Config Errors
First determine whether the window app has exited or the interface is still open but the core didn’t start. A tray icon or open window doesn’t prove that the listening port is ready. Record the startup time, whether this started after an update, and whether it happens only with a particular config. Save the latest startup log and a copy of the config first. Don’t uninstall, clear the config directory, or delete archives yet; that could remove the most useful evidence. Start with a minimal config, then restore the working config, data files, and interception settings one layer at a time.
Use the first persistent error to distinguish a port conflict, config problem, or app issue
If the window is available, check the client log and core status page first. If the window crashes, search by time for the process in Windows Event Viewer under Windows Logs → Application, macOS Console crash reports, or Linux user-session logs. If the first lines show resource notices and the last line is an exit status, look earlier for the actual error; the exit status only describes the result. address already in use indicates a listener conflict. Check whether the error refers to the mixed port, controller interface, or DNS listener instead of checking only the port shown in the interface.
For a mixed-port conflict, first quit any duplicate client instance or confirm that another legitimate service is using the port. Don’t force-quit an unfamiliar process. If you need to change the port, update the system proxy, app-specific proxy, and diagnostic commands too. On Windows, use the query below to check listening ports and their process IDs. If it returns nothing, check the actual port mentioned in the error or whether the core exits as soon as it starts. No output doesn’t prove that no conflicts exist.
Get-NetTCPConnection -LocalPort 7890 -State Listen |
Select-Object LocalAddress, LocalPort, OwningProcess
If you run mihomo independently, use the core’s -t option to test a config. If the command isn’t on your search path, run the executable from the installed core directory. If the config references relative file paths, rule data, or provider caches, run the test with the same working resource directory as the live instance. Copying the config elsewhere may cause missing-file errors. A passing test means only that the core completed this load check; it doesn’t guarantee that it can bind a port or create a virtual adapter at startup.
mihomo -t -f ./config.yaml
Start with a minimal config, then restore settings one layer at a time
Save your current config, then use a temporary config without remote providers, DNS interception, or TUN to test the core. The example below is for mihomo versions that support mixed-port and is for local direct-connection diagnostics only; it won’t use a node. If the port is already in use, choose an available one. Leave system-level interception off during the test to avoid affecting other apps.
mixed-port: 7890
allow-lan: false
mode: rule
log-level: info
rules:
- MATCH,DIRECT
If the minimal config starts, restore policy groups and rules first, then add remote rule sets and node providers, and finally restore DNS, the system proxy, or TUN. Check the first error after each load. If it appears when you restore a particular layer, check that layer’s fields and resources. If even the minimal config fails, check that the install package matches your operating system and CPU architecture, that the install directory is complete, and that the data directory is writable. Check permissions only when the error specifically mentions service installation, a virtual adapter, or routing. Don’t use elevated permissions as a general fix. If system security software quarantines the app, verify its source and follow your administrator’s process; don’t disable system protection.
If you need to reinstall, choose a package for your operating system and architecture on the client download page. For supported platforms, check Clash Plus first. On Linux, choose from the Linux clients listed on the download page. Restore only configs you’ve confirmed work; don’t copy a potentially corrupted cache directory back wholesale. For more detailed startup-log troubleshooting, see How to Fix a Clash Client Startup Crash. If the issue happens only at startup, note whether the network isn’t ready, the data directory isn’t mounted, or another instance starts first. Compare that with a manual launch; it’s more useful than repeatedly reinstalling.
08 / Android and iOS: Permissions, Background Disconnects, and Network Changes
On mobile, start by separating issues by when they occur: an immediate connection failure, a connection that works in the foreground but drops when the screen locks, or a failure after switching from Wi-Fi to mobile data. These point to different causes, such as permissions or config, background restrictions, or network reconnection. First complete a brief test in the foreground, then test screen lock and network switching separately. Reproduce one change per test and note the system VPN status, any stop or reconnect entries in the client, and whether the first request after waking the screen succeeds. A status icon doesn’t guarantee a healthy outbound connection, and a missing icon needs to be checked against both system and client logs.
Android: Check VpnService and background activity
The first time you connect, Android displays a VPN connection request. Approve it so the client can create a virtual network. Search for VPN in system settings and check which app owns the active connection; another VPN app in the same user profile may replace the current session. If the device has a managed always-on VPN, confirm the policy with your administrator instead of changing organization settings. If only certain apps are affected, check whether the client’s per-app proxy list means “proxy only these apps” or “exclude these apps”—the two list types work in opposite ways. After changing the list, reconnect and start a new session in the affected app.
If the issue occurs only after the screen locks, open the app’s info page and find the battery or background activity controls. Check whether the client is restricted on this device. Manufacturers place these options under battery optimization, auto-start, or background activity, and the labels vary. If your device policy allows it, adjust only this client, keep its running notification visible, and repeat the same screen-lock test. Battery settings may affect when the system stops a service, but they can’t fix a bad node or an invalid subscription. For more details, see Android VPN Permissions and Battery Settings.
If the notification still shows the client running, open it and check connection times and outbound errors from before and after it went into the background. If the process is still running but all requests time out after a network change, check the outbound on the new network instead of changing background permissions. Conversely, if the system stopped the client, a new speed test proves only that it works after being restarted. If Android’s “Block connections without VPN” setting is enabled, the service stopping may disconnect every app. Check whether that setting was enabled by you or by a management policy, and restore it according to your original security requirements.
iOS: Check VPN configuration, on-demand connections, and network changes
Using Clash Plus as an example, first allow it to add a VPN configuration when prompted. Then go to Settings → General → VPN & Device Management and check the relevant VPN entry and connection status. Follow your organization’s requirements for managed configs; don’t delete profiles you don’t recognize. If the client offers on-demand or automatic connection, check whether its trigger conditions match the current network. If it reconnects after you disconnect manually, an on-demand rule may have triggered again. To test the effect, compare settings one at a time in a personal config you’re authorized to use, then restore them. Whether the app is visible in the foreground doesn’t tell you whether the tunnel is working; don’t use the open app screen as your connection status.
When switching between Wi-Fi and mobile data, first verify a direct connection on the new network, then restore interception and reopen the target app. Existing connections commonly drop during a network change. Continue troubleshooting only if new connections keep failing: check mobile data permissions, captive portal sign-in on the new network, and whether the node hostname resolves. If Wi-Fi works but mobile data doesn’t, keep the same node and target while testing each factor. Don’t change networks and subscriptions at the same time. Conversely, if foreground tests work on both networks but fail only after the screen has been off for a while, revisit background activity and on-demand settings instead of using DNS changes to compensate for the system stopping the client.
Before finishing, retest at least three times: reconnect in the foreground, wake the device after locking the screen, and make a new request after switching networks. If the issue affects only one device, compare the VPN app, per-app scope, and system management status on both devices, while accounting for differences in location and network. To choose a different installation source, see the Android client or iOS client. If multiple devices start failing at the same time, check shared causes first: subscription updates, upstream outbound connections, and rule data. Then decide whether local permissions need to change.