On this page
Ask the address yourself
Put your subscription link in place of the example. The answer is the key to your servers, so don't paste it into chats: the first lines, the status and the headers, are enough.
curl -sS -L -o NUL -D - -A "v2rayN/7.0" "https://sub.example.com/sub/TOKEN"Prints the status and headers only. HTTP/2 200 means the address answers. Any other number is the one the app got.
curl -sS -L -o /dev/null -D - -A "v2rayN/7.0" "https://sub.example.com/sub/TOKEN"The same. -A names the app: without it curl introduces itself as curl, and some services refuse it.
curl -sS -L -A "v2rayN/7.0" "https://sub.example.com/sub/TOKEN" | head -c 60<!DOCTYPE html> is a web page, not a subscription. Letters and digits with no spaces are a base64 list, proxies: or { Clash or JSON. Nothing at all is an empty list. In cmd there is no head: drop everything after the link.
curl: (6)— the name doesn't resolve: a typo, a dead domain, or DNS that blocks it.curl: (7)or(28)— the address doesn't answer or is too slow: the server is down, or your network blocks it.curl: (35)— the secure connection broke off: often a block by name on the way.curl: (60)— the certificate isn't trusted: the clock, an antivirus that checks HTTPS, or a certificate that ran out.
What you see, why, and what to do
403 Forbidden
CauseThe service refuses: the plan is over, the device limit is reached, this app isn't allowed, or protection took you for a bot
What to doCheck the plan and devices in the account or bot; turn the VPN off and try; use an app the service names
404 Not Found
CauseThe link was reset or cut off when copied, or the subscription was removed
What to doCopy a fresh link from the account or bot
401, 410, 429
CauseThe link is revoked, gone, or asked too often
What to doA fresh link; for 429 wait and set a longer interval
500, 502, 503, 504
CauseThe panel on the service's side is down or restarting
What to doWait, then write to the service: nothing on your side fixes it
A certificate error,
x509: certificate signed by unknown authorityCauseAn antivirus or a work network opens HTTPS, the certificate is self-signed or lacks its chain
What to doTry mobile data; ask the service to fix the certificate
x509: certificate has expired or is not yet validCauseThe device's clock, or a certificate nobody renewed
What to doTurn on automatic time; if other sites open, it's the service
Timeout,
context deadline exceeded,no such hostCauseThe subscription's address is blocked or down; the servers themselves may work
What to doUpdate while connected to one of the servers, or through mobile data; ask for another address
200, but zero servers
CauseThe plan or traffic is over, or the list has only protocols the app can't read
What to doCheck the plan; update the app
200, but a web page
CauseIt's the service's page for people, not the subscription
What to doFind “Copy link” on it and paste that
It updates, but the geo files don't download
CauseThe app fetches them from another place, usually GitHub
What to doSee the section on geo files below
How the apps put it
The same refusal reads differently in each program:
Clash Verge Rev
What it says
failed to fetch remote profile with status 403 ForbiddenWhat it meansThe status is the service's answer
Clash Verge Rev
What it says
the remote profile data is invalid yamlWhat it meansA page or a base64 list came instead of YAML
Clash Verge Rev
What it saysprofile does not contain
proxiesorproxy-providersWhat it meansThe YAML has no servers: often the plan is over
v2rayN
What it saysFailed to import subscription content; Invalid subscription content
What it meansThe answer isn't a list of links
v2rayNG
What it saysImport subscription failed
What it meansNothing that looks like servers came back
Hiddify
What it saysSubscription not found; The VPN provider refused this link
What it means404 and a refusal
sing-box
What it says
unexpected status: 404 Not FoundWhat it meansNot the subscription: a rule set it downloads
Why one app updates and another doesn't
Every app introduces itself with a User-Agent, such as v2rayN/7.0 or clash-verge. Many panels answer by that name: YAML for Clash, JSON for sing-box, a base64 list for the rest. Some services let in only the apps they know, and some send the device's ID and count devices by it. So the same link can work in one app and give 403 or an empty list in another.
To see it, run the command above twice with different names: -A "clash-verge", then -A "v2rayN/7.0". Different statuses mean the service picks by app. Most clients have a User-Agent field in the subscription's settings. An address like happ://crypt… is encrypted for one app: ask the service for the plain https:// link.
The other difference is the road. An app can download the subscription directly or through the tunnel that is up. If the service's site is blocked in your network, turn the VPN on and update; if its protection doesn't like the VPN server's address, turn the VPN off and update.
Geo files and a core that doesn't start
Two more failures only look like a broken subscription: the app has the list, then stops at the files with sites and countries or at starting the core.
- Geo files don't download. mihomo writes
can't download GeoIP.datorcan't download MMDB. Xray writesfailed to open geosite.dat, orlist not found in geosite.datwhen the file is older than the rules. They come from GitHub: download through mobile data or another VPN, or set another source in the app's settings. - A rule set doesn't download. sing-box stops with
initial rule-set:and the set's name. Until it downloads once, the core won't start. - The core doesn't start. v2rayN says Failed to run Core, please check the prompt information, v2rayNG Failed to start service. Read the line above:
bind: address already in use, or on WindowsOnly one usage of each socket address, means a second client holds the port. Close it. - The config needs a newer core. Update the app.
What to tell the service
With these lines the service finds the cause at once:
- The status: 403, 404, 502, or the curl number in brackets.
- The app with its version and the system.
- Whether it updates on another network and with the VPN on.
- The time of the attempt with the time zone. Not the link itself: whoever sees it can use your access.
- Ask for a second address of the subscription on another domain, and for the plain
https://link rather than a button for one app.
When nothing helps
- Remove and add the subscription again. It helps when the app remembers an old address. Save the servers you use first: some apps delete them with it.
- Try a browser. If the link opens in the browser on the same device and not in the app, the cause is the app or its User-Agent, not the network.
- Ask whether the service still works. A domain that doesn't resolve from any network and a silent bot mean that it doesn't.