First, distinguish download failures from parse errors and empty proxy lists

Manually update the subscription once, note the update time, then find the first matching error in the client log. “Parse failed” in the interface may be a generic message; the HTTP status, YAML line number, or protocol name in the log is more useful. If the first import fails, check the remote config download. If the main config is already enabled but only a proxy-providers update fails, check that provider’s URL—not necessarily the main subscription URL.

  • no such host, connection refused, x509, or a connection timeout: Start by troubleshooting DNS, connectivity, or certificates. The request may not have received a response body to parse.
  • If the server returns HTTP successfully and then reports an error such as yaml: line 12, first confirm the response body is a config, then inspect the reported line and the line before it. The file extension or status code alone can’t identify the format.
  • If the update succeeds but the list is empty, confirm the new config is enabled, its proxy sources have loaded, and the active proxy group actually references those proxies. If proxies appear but latency tests time out, that’s a separate issue.

Verify the subscription URL and final HTTP response

  1. Sign in to the subscription management page and copy the full URL again from the Clash or mihomo section. Don’t copy the plan details page or a chat preview that truncates the URL with an ellipsis. Keep all query parameters and their encoding intact, and check for trailing spaces, line breaks, or periods.
  2. Confirm that your account and URL are still valid. Renewals, subscription URL resets, and revoked tokens can all invalidate an old link. If the management page has generated a new URL, test it as a separate entry in the client and keep the working config for now.
  3. Check the final status of the request. For 301 or 302 responses, check whether the redirect leads to a login, verification, or error page. A URL that opens in a browser where you’re signed in may not work in the client, which may not share that login session.
Final statusWhat to check next
200 OKCheck whether the response body contains the expected config. A server can return a login page or error message with a 200 status.
401 / 403Check the token, account permissions, or server access restrictions. A 403 alone doesn’t prove that the subscription has expired.
404 / 410Copy the URL again from the management page to rule out a truncated path or a retired endpoint.
429Stop retrying repeatedly. If the response includes Retry-After, wait for the specified interval before trying again.
5xxNote the time and status code, then retry manually later. If the issue persists, ask the subscription provider to check the service status.

Confirm the response body matches the import method

First check the raw response provided by the client or a config copy saved locally. If the client doesn’t expose the response, use a browser only for comparison: the request headers and login session may differ. Identify the format from the body’s structure, not the filename or Content-Type; some services return valid YAML as text/plain.

  • Full config: Usually YAML with top-level fields such as proxies, proxy-groups, and rules. Not every field is required; some configs use proxy-providers to fetch proxies, so they can be valid without an embedded proxies list.
  • Provider proxy file: A common YAML format lists proxies under the top-level proxies field for a main config to reference through proxy-providers. Even if the proxies can be read, the file may not include the original plan’s proxy groups and routing rules.
  • Share links or an encoded list: If you see lines beginning with vmess:// or trojan://, or a long block of what looks like Base64, first check the output format specified by the provider. Decoding share links doesn’t turn them into Clash YAML. Only use an import option that explicitly supports that format.
  • Web page or API error: If the response starts with <!doctype html> or <html, or the JSON contains only an error code and message, check authentication, redirects, or format settings. Renaming the file to config.yaml won’t change its contents.

Troubleshoot YAML errors by layer

For indentation, list, or mapping errors, check the colons, quotes, and list hyphens before the reported line. Use spaces for indentation, not tabs. If the syntax is valid but the log reports an unsupported node type or field, check which core is actually running and its version. The client version and core version are different; don’t assume an older Clash core supports a config intended for mihomo. Keep the original file and troubleshoot a local copy to avoid having your changes overwritten by the next update.

Check whether the User-Agent changes the subscription output

Some subscription services choose the output format based on the User-Agent. The same URL can return a list of share links in a browser and YAML in a Clash client. Conversely, seeing YAML in a browser doesn’t prove the client received the same content.

  1. Choose an output option clearly labeled “Clash” or “mihomo” on the subscription management page, then import the generated URL. Don’t guess format parameter names or modify signed URLs.
  2. Change the subscription’s User-Agent only if the provider explicitly specifies a required header and the client lets you set it in the subscription editor. Keep the original value, update once manually, then compare the final status and response format. Avoid changing the URL, core, and network at the same time.
  3. If the client doesn’t offer this setting, ask the provider for a URL with a fixed output format. The main config download and proxy-provider fetches may be handled by different components; changing the request header in one place doesn’t mean it changes in the other.

Check which network the update request uses

Being able to access websites through the current config doesn’t mean subscription downloads use the same route. The client may request the subscription directly or send the request through a local proxy. The latter can cause problems on first import: the config needed for connectivity hasn’t loaded yet, but the update depends on it. If you see a timeout, connection refusal, or DNS error, check the following in order.

  1. Manually update once on your current network and once using a phone hotspot, keeping the URL the same and changing only the network. If the hotspot works but the original network doesn’t, check the original network’s DNS, captive portal, and proxy settings before changing the YAML.
  2. If the log shows a connection to a local proxy, confirm the port matches the client’s current listening port. For example, if the log points to 127.0.0.1:7890 but the actual mixed port is 7897, fix the setting used by the updater rather than copying the example port. In Windows 11, check the manual system proxy under Settings → Network & Internet → Proxy. If the client has a separate proxy setting for subscription downloads, check that too.
  3. For certificate errors, first check the system date, time, and time zone. Then check whether the network requires a sign-in or uses an organization-managed HTTPS proxy. Don’t disable certificate verification to update a subscription; testing on a trusted network can help isolate whether the issue is local, network-related, or server-side.

If the update succeeds but the proxy list is still empty

  1. Confirm that the config currently running is the one you just updated. A successful download only means the file was retrieved; the core may still reject it when you switch or apply the config. Check the core log for the same time period.
  2. Check the proxy source. If the response explicitly contains proxies: [] and has no provider, check whether you chose the wrong subscription option or whether the server assigned any proxies. If it uses proxy-providers, check that the provider downloaded successfully on its own and loaded at least one proxy.
  3. If a provider has proxies but a proxy group is empty, check whether the group’s use references the correct provider name and whether its filter excludes every proxy. For embedded proxies, compare the group’s proxies list with each proxy’s name; the names must match, and you can’t use a server address in place of a proxy name.