Getting Started 7 min read

Clash Subscription Update Failed? Common Errors and Auto-Update Intervals

Troubleshoot failed Clash subscription updates, from invalid URLs and certificate or network timeouts to format issues. Find the auto-update setting and recommended intervals.

Try one manual update first to pinpoint where it fails

Open the Configuration or Subscriptions page and manually update the affected remote subscription once. Note the time and full error message, then look for a log entry from the same time. A successful node latency test only shows that existing nodes could connect during the test; it doesn't confirm that the client can reach the subscription domain. Likewise, nodes in an older configuration may still work even when subscription updates fail.

Error or symptomCheck first
401、403、404Check the subscription status, URL, and export format in your provider's dashboard.
429 Too Many RequestsStop retrying repeatedly and wait according to your provider's rate-limit guidance. If the response includes Retry-After, use that header as a guide.
no such host、i/o timeoutCheck DNS resolution, the connection route, and the proxy used for update requests separately.
x509: certificate signed by unknown authorityCheck the trusted root certificates on the device and whether the current network inspects HTTPS traffic.
YAML parsing error after 200 OKMake sure the response is a Clash configuration, not a login page, error page, or generic list of nodes.
Update reports success, but the nodes haven't changedMake sure this subscription is the one currently enabled, and check whether the proxy group gets its nodes from a separate proxy provider.

Subscription returns 401, 403, or 404: check the URL and authorization

401 usually points to an authentication issue. 403 means the request was denied, possibly because of authorization status or a provider restriction. 404 means the address returned a not-found response; a service migration or retired URL could be the cause. Status codes can narrow down the issue, but a 403 alone doesn't prove that the subscription has expired.

  1. Sign in to your provider's dashboard, check the subscription status, and copy the full URL from the import page. Choose an export format compatible with your current core, such as Clash or Mihomo if your provider offers them.
  2. Replace the URL in the existing subscription's edit screen. Make sure no query parameters are missing and there are no extra spaces or line breaks at the end. If the client doesn't let you edit the URL, add the subscription as a new entry and verify it before removing the old one.
  3. Save and update manually. Once the update succeeds, check the active configuration and confirm that the proxy groups, nodes, and local overrides match your expectations before deleting the old entry. If your provider rotates the token when regenerating a URL, update the subscription on your other devices too.

Update times out or certificate error: troubleshoot the network and TLS separately

First, find out which route the update request takes

For no such host, check whether the domain resolves. If the log shows dial tcp followed by a timeout, focus on the TCP connection. If it says TLS handshake timeout, the timeout occurred during the handshake. Keep the same subscription URL and retry once using your phone's hotspot. If it updates over the hotspot but not on the original network, check that network's DNS, proxy, or connection restrictions first.

Check whether the subscription has its own proxy settings for updates. A provider's homepage opening in your browser doesn't mean the client uses the same route to fetch the subscription. If updates use a local HTTP proxy, such as 127.0.0.1:7890, verify the actual listening address and port; 7890 is only an example. If you see connection refused, first check whether anything is listening on that port. If the client needs an existing node to download the subscription and all those nodes are down, restore a working network route first. Shortening the update interval won't fix this dependency loop.

Address the specific certificate error

  • For an expired or not-yet-valid certificate, enable automatic date and time synchronization on your device, then try again. If the device time is correct and the error persists, ask your provider to check the subscription site's certificate validity.
  • For a certificate name mismatch, check the subscription URL and the domain after any redirects. Don't replace the HTTPS domain supplied by your provider with an IP address.
  • For an untrusted issuer, test on a trusted network to distinguish between the device's certificate store, HTTPS inspection on the current network, and a problem with the server's certificate chain. On managed devices, follow your administrator's instructions; don't disable certificate verification.

Download succeeds but the configuration doesn't work: check the format, core, and active configuration

200 OK only means the server returned a successful response. If the content starts with <!doctype html> or <html>, it's probably a webpage, not a configuration. A string of Base64-encoded text or a line-by-line list of node URIs such as ss:// also can't be imported as a complete Clash YAML configuration. In either case, go back to your provider's dashboard and choose the right format. Copying a webpage URL from the provider's homepage or simply changing the file extension to .yaml won't change the content.

A complete configuration usually includes top-level fields such as proxies, proxy-groups, and rules. It can also reference a remote set of nodes through proxy-providers. A file containing only proxies may be a node list for a proxy provider, not a complete configuration with policy groups and rules. If the log says a proxy type isn't supported, check which core the client is actually running and its version. The version shown in the client interface may differ from the core version.

  1. If a parsing error includes a line number, check that line and the one before it. Compare the original subscription with the configuration after local overrides to determine whether the source file is malformed or a local change introduced an indentation, field, or reference issue.
  2. After a successful update, check which entry is selected on the Configuration page. If the proxy group still shows old nodes, see whether its use field references a proxy provider, then check that provider's update history.
  3. If the error occurs when applying the configuration—for example, the log says a rule references a nonexistent policy group—fix the configuration reference first. Repeatedly downloading the same file won't fix a loading error.

Clash Auto-Update Interval: Where to Set It and What to Choose

Start by confirming that a manual update works. In Clash Verge Rev desktop 2.x, for example, open Configuration from the left sidebar, right-click the remote subscription card, and select Edit Info to find the Update Interval field. The menu name or location may differ between builds, so check the unit shown next to the field before saving. A locally imported YAML file without a remote subscription URL can't use that subscription entry's timer to download the source file again.

Update frequencyIntervalMinutesSeconds
For routine use when changes are infrequent24 hours144086400
When the provider makes several changes a day6 hours36021600
When you need updates sooner and the provider allows it1 hour603600

If you don't have a specific need, start with 24 hours. Follow your provider's guidance if it sets a minimum interval, and avoid frequent refreshes across multiple devices using the same subscription. After saving, there's no need to keep clicking Update. Wait one full interval, then check the entry's last-updated time and the corresponding log. Keep the client or its update process running during testing, and account for sleep, shutdown, and mobile OS background restrictions.

The client's subscription interval isn't the same as Mihomo's provider interval

The client's Update Interval setting downloads the entire remote configuration again. In Mihomo, a proxy-providers entry with type: http uses its interval to refresh the remote node set it references; the unit is seconds. For example, 86400 means 24 hours. A proxy provider's health-check.interval controls node health checks, not node-list downloads. If the client updates the configuration remotely, changes to a locally generated file may be overwritten the next time the configuration is applied. Use an override mechanism supported by the client or edit a configuration source you manage yourself.

Download Clash