Clash node timeouts: Troubleshooting from subscription updates to local ports

When every node test times out, check subscription status, system time, local port conflicts, and kernel logs in order. Most causes can be identified in about ten minutes.

Tell node-test timeouts apart from browser connection failures

A timeout on the Clash Nyanpasu “Proxies” page means a node latency test did not finish within the allotted time. An HTTP(S) latency test involves connecting to the node and getting a response from the test URL; it is not the same as running ping against the node server. If a page will not load in your browser, the system proxy address may be wrong, or a rule may be routing the request through another outbound. First check whether both symptoms occur. They are not necessarily the same problem.

  1. On the “Profiles” page, note which profile is active. Then pick two nodes that worked before on the “Proxies” page and test each once. If you have nodes in multiple regions, pick one from each; do not repeatedly test the entire group.
  2. Note the time and network used for the test, for example, “14:32, office Wi-Fi, both nodes timed out.” When you check the logs later, focus on entries around this test.
  3. If the nodes return latency results but the browser cannot open pages, check the local port and the final traffic-capture checks in this article. If both nodes time out, start with the subscription update.

Step 1: Update the current subscription and confirm the profile loaded

Open “Profiles” in Clash Nyanpasu, find the active remote profile, and update it manually using the button or menu on its card. Check the update message, then confirm that the same profile is still active. If the app reports that applying the profile failed, or the “Proxies” page still shows the old groups, check for profile-loading errors first. Fetching the file successfully and loading it into the kernel are separate steps.

  • 401 or 403: Open your subscription provider’s account page and check the expiration date, remaining data, and whether the link has been reset. The server may also be rejecting the request based on its access policy, so a status code alone does not prove that the subscription has expired.
  • 404: Check whether the current link still matches the one shown on your account page. If the provider has changed the link, save a copy as a separate profile first, then confirm it loads and passes a node test before handling the old profile.
  • Subscription update timed out: First confirm that your current network can open ordinary websites, then check the provider’s service status. If other sites also fail to load, troubleshoot your local network. If only the subscription fetch fails, try again over a phone hotspot and compare the results.

A valid subscription link and timed-out nodes can occur at the same time: the subscription service delivers the configuration, while node servers forward traffic. A response from the former does not mean the latter is working. After a successful update, test the same two nodes again. If they still time out, continue below. A local YAML profile has no remote subscription to update, so check whether the most recent changes loaded successfully. If you need to import a profile again, see the profile import steps in the getting started guide.

Step 2: Check the system time and certificate errors

Compare your computer’s clock with a phone that has synced its time online. Check that the date, year, and time are correct. An inaccurate system clock can affect HTTPS subscription updates and nodes that use TLS. A common log message is certificate has expired or is not yet valid. Keep in mind that the time zone and system clock are not the same thing: displaying a different time zone does not necessarily affect certificate checks, but manually setting the clock to the local time of another time zone can make the system’s actual time incorrect.

  • Windows 11: Open “Settings” → “Time & language” → “Date & time,” turn on “Set time automatically,” then select “Sync now” under “Additional settings.” If syncing fails, first check your network and confirm the system time service is available.
  • macOS 13 and later: Open “System Settings” → “General” → “Date & Time.” Check the automatic date and time settings and make sure the current time zone is correct.
  • Linux with systemd: Run timedatectl status in a terminal. If the output includes System clock synchronized: no, check your distribution’s time-sync service and then confirm whether the system time has been corrected.

Step 3: Check the local proxy port and the process using it

In Clash Nyanpasu, look for the mixed port under “Settings” → “Preferences.” If the menu is named differently in your version, search Settings for “Mixed Port” and check the kernel startup log to confirm the actual listening port. For example, Mihomo’s mixed-port uses one port for both HTTP and SOCKS proxy connections; it is not the remote node’s server port. The commands below check listening ports on your local machine. If the client uses a different port, replace the number in the command first.

Windows: identify the process by its process ID

Get-NetTCPConnection -State Listen -LocalPort 7890 |
  Select-Object LocalAddress, LocalPort, OwningProcess

Compare the returned OwningProcess with the PID shown under “Details” in Task Manager. If the command returns no match, it did not find a TCP listener on that port at the time of the query. Next, check whether the kernel has started, whether the profile loaded, and whether the active port is a mixed port or a separate HTTP or SOCKS port.

macOS and Linux: check the listening address and process

In a macOS terminal, run lsof -nP -iTCP:7890 -sTCP:LISTEN; on Linux, run ss -ltnp 'sport = :7890'. On Linux, an unprivileged user may not be able to see processes owned by other users, so an empty process column does not mean the port is free. Also check the listening address: for example, if the app connects to 127.0.0.1:7890, confirm that a listener covers that address instead of checking only the port number.

  1. The current kernel owns the port: The local listener is working, so there is no need to change the port. If node tests still fail, check the connection and DNS logs.
  2. Another proxy client owns the port: Exit that client normally from its system tray menu, then have Clash Nyanpasu apply its settings again. Do not terminate an unfamiliar process based only on its name.
  3. You need to keep both proxy clients: Use the same method to confirm that a candidate port such as 7891 is free, then change the listening port in one client. Afterward, check the system proxy and any apps where you entered a proxy address manually, so they do not keep connecting to the old port.

A local port conflict can prevent the kernel from starting or stop system proxy traffic from reaching it, but node latency tests run by the kernel do not require a browser to connect to that port first. Only attribute the problem to a local port if the startup log also shows a listener error or the browser is connecting to the wrong address.

Step 4: Find the first failure in the kernel logs

Open the “Logs” page in Clash Nyanpasu, test a single node, and find the new entries by time. If the failure occurs during startup, check the startup log first. If the kernel is already running normally, look for errors from the node test. A trailing timeout is often just the result; an earlier DNS, listener, or connection error is more likely to point to the next thing to investigate.

Common errors and what to check next
Log keyword Check first How to verify
address already in use The address and port that failed to bind Check which process is listening on that port. After fixing it, confirm the new startup log has no error.
yaml: unmarshal errors The active profile, overrides, and the field type mentioned in the error Temporarily disable the most recently added override, apply the profile again, and check whether the kernel loads.
no such host Whether the hostname belongs to a node, subscription service, or test URL Check the hostname spelling and how it resolves on the current network. If the system can resolve it but the kernel still fails, check the kernel DNS settings.
i/o timeout Whether the timeout occurred while connecting to the node or waiting for the test response First retry on another network with the same profile, node, and test URL. Change the URL separately only if you need to compare test endpoints.

If all nodes use the same test URL, an issue with that test site can make the entire group show failures. If the client or profile lets you change the URL, try a known-accessible connectivity test endpoint expected to return 204, changing nothing else. If the new endpoint succeeds, that only shows that this node route completed this particular test; it does not prove that every website will work.

Once node tests recover, check that browser traffic uses the right outbound

Select a node that returned a latency result, open a page that previously failed, and check the “Connections” page at the same time. Test one traffic-capture method at a time: to test the system proxy, temporarily turn off TUN and check the system proxy address and port. To test TUN, make sure the virtual network adapter has started and temporarily turn off the system proxy so you can tell whether TUN captured the request.

  • The request does not appear under Connections: Check whether the browser follows the system proxy and whether it has its own proxy settings. When testing TUN, check whether the request is excluded from the traffic-capture rules.
  • The request appears but uses DIRECT or another policy group: In rule mode, check which rule matched, then see which node the corresponding policy group selected. The node selected on the test page is not necessarily the outbound used for that domain.
  • The request appears and uses the expected node: Check the request’s log entries to see whether DNS resolution, the connection, or the TLS handshake failed. There is no need to keep updating the subscription at this point.

If the problem persists on two different networks, save these four results: the subscription update message, system sync status, actual listening port, and the first error from a single-node retest. When reporting the issue to maintainers, include the client and kernel versions, but redact subscription links, tokens, and authentication fields. If the log points to a DNS issue, use the network and DNS glossary to distinguish system resolution from kernel resolution. To check how to update a profile, see subscription management in the full guide.

Download Clash