Verify applecdn is available。
curl -v https://app-site-association.cdn-apple.com/a/v1/YourDomain
eg. fail request
curl -v https://app-site-association.cdn-apple.com/a/v1/www.123.com
* Trying 59.108.139.130:443...
* Connected to app-site-association.cdn-apple.com (59.108.139.130) port 443 (#0)
* schannel: disabled automatic use of client certificate
* ALPN: offers http/1.1
* ALPN: server accepted http/1.1
* using HTTP/1.1
> GET /a/v1/www.123.com HTTP/1.1
> Host: app-site-association.cdn-apple.com
> User-Agent: curl/8.0.1
> Accept: */*
>
* schannel: remote party requests renegotiation
* schannel: renegotiating SSL/TLS connection
* schannel: SSL/TLS connection renegotiated
* schannel: remote party requests renegotiation
* schannel: renegotiating SSL/TLS connection
* schannel: SSL/TLS connection renegotiated
< HTTP/1.1 404 Not Found
< Content-Type: text/plain; charset=utf-8
< Content-Length: 10
< Connection: keep-alive
< Server: nginx
< Date: Mon, 03 Jul 2023 07:50:28 GMT
< Expires: Mon, 03 Jul 2023 07:50:38 GMT
< Age: 2774
< Apple-Failure-Details: {"cause":"dial tcp: lookup www.123.com on 10.100.53.53:53: no such host"}
< Apple-Failure-Reason: SWCERR00304 DNS error
< Apple-From: https://www.123.com/.well-known/apple-app-site-association
< Apple-Try-Direct: true
< Via: http/1.1 jptyo5-vp-vst-010.ts.apple.com (acdn/87.14301), https/1.1 jptyo5-vp-vfe-008.ts.apple.com (acdn/87.14301)
< X-Cache: MISS KS-CLOUD
< CDNUUID: 6a2ef8f4-e479-4204-8d60-7407afe5597a-2780390327
< x-link-via: bjfd01:443;xymp07:443;gzun11:443;xg02:443;
< x-b2f-cs-cache: no-cache
< X-Cache-Status: MISS from KS-CLOUD-XG-02-08
< X-Cache-Status: MISS from KS-CLOUD-GZ-UN-11-09
< X-Cache-Status: MISS from KS-CLOUD-XY-MP-07-08
< X-Cache-Status: MISS from KS-CLOUD-BJ-FD-01-11
< CDN-Server: KSFTF
< X-KSC-Request-ID: 5f040404d3ae915ce539ef3ae0c5840d
< X-Cdn-Request-ID: 5f040404d3ae915ce539ef3ae0c5840d
<
Not Found
* Connection #0 to host app-site-association.cdn-apple.com left intact
< HTTP/1.1 404 Not Found
this is origin domain error
you need check your domain
curl -v https://YourDomain/apple-app-site-association --header 'User-Agent: AASA-Bot/1.0.0'
AASA-Bot is apple cdn header.
If successful, the correct result is returned to you
<
{
"applinks":{
"apps":[
],
xxxxxxxxx
}* Connection #0 to host xxxx left intact
Topic:
Code Signing
SubTopic:
Entitlements
Tags: