Does anyone have a solution to this problem? I am experiencing the same issue
Post
Replies
Boosts
Views
Activity
Hello @DTS Engineer ,
I still run into the same issue. I also checked my server settings to ensure that it accepts all browser requests and traffic from user-agents curl -I -A "AASA-Bot/1.0" https://yourmomentshub.com/.well-known/apple-app-site-association. I am not quite sure what the issue could be anymore. I did some surfing and learned that maybe I need to switch the AASA file to the newer format and I did that as well.
I have gone through all the steps in the tech note and I think I have exhausted all my options at this point. My application is heavily dependent on universal linking, any guidance will be appreciated. Thank you!
More logs to explain the intermittent issue. These two calls are between 3 seconds.
daramfon@MacBook-Pro-4 MomentsHub % curl -v https://app-site-association.cdn-apple.com/a/v1/yourmomentshub.com
* Host app-site-association.cdn-apple.com:443 was resolved.
* IPv6: (none)
* IPv4: 17.253.27.203, 17.253.13.135, 17.253.7.146, 17.253.97.202, 17.253.7.154, 17.253.13.137, 17.253.97.205, 17.253.27.198
* Trying 17.253.27.203:443...
* Connected to app-site-association.cdn-apple.com (17.253.27.203) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256 / [blank] / UNDEF
* ALPN: server accepted http/1.1
* Server certificate:
* subject: C=US; ST=California; O=Apple Inc.; CN=app-site-association.cdn-apple.com
* start date: Jul 16 18:07:31 2024 GMT
* expire date: Oct 14 18:17:31 2024 GMT
* subjectAltName: host "app-site-association.cdn-apple.com" matched cert's "app-site-association.cdn-apple.com"
* issuer: CN=Apple Public Server ECC CA 12 - G1; O=Apple Inc.; ST=California; C=US
* SSL certificate verify ok.
* using HTTP/1.x
> GET /a/v1/yourmomentshub.com HTTP/1.1
> Host: app-site-association.cdn-apple.com
> User-Agent: curl/8.6.0
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Apple-Failure-Details: {"cause":"read tcp 172.31.150.237:46444-\u003e198.12.247.28:443: read: connection reset by peer"}
< Apple-Failure-Reason: SWCERR00305 Network error
< Apple-From: https://yourmomentshub.com/.well-known/apple-app-site-association
< Apple-Try-Direct: false
< Cache-Control: max-age=3600,public
< Content-Length: 10
< Content-Type: text/plain; charset=utf-8
< Date: Tue, 23 Jul 2024 17:09:02 GMT
< Age: 727
< Via: https/1.1 uschi7-3p-pst-006.ts.apple.com (acdn/252.14441), http/1.1 uschi7-3p-pac-006.ts.apple.com (acdn/252.14441), https/1.1 uschi7-3p-pfe-001.ts.apple.com (acdn/252.14441), http/1.1 uschi5-edge-lx-001.ts.apple.com (acdn/252.14441), https/1.1 uschi5-edge-bx-021.ts.apple.com (acdn/252.14441)
< X-Cache: hit-stale, hit-fresh, miss, hit-fresh, hit-stale
< CDNUUID: d962cde9-ed20-4314-801f-9fa2396a5e8a-2171469140
< Expires: Tue, 23 Jul 2024 17:09:12 GMT
< Connection: keep-alive
<
Not Found
* Connection #0 to host app-site-association.cdn-apple.com left intact
daramfon@MacBook-Pro-4 MomentsHub % curl -v https://app-site-association.cdn-apple.com/a/v1/yourmomentshub.com
* Host app-site-association.cdn-apple.com:443 was resolved.
* IPv6: (none)
* IPv4: 17.253.97.202, 17.253.13.135, 17.253.7.146, 17.253.97.205, 17.253.13.137, 17.253.7.154, 17.253.27.203, 17.253.27.198
* Trying 17.253.97.202:443...
* Connected to app-site-association.cdn-apple.com (17.253.97.202) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256 / [blank] / UNDEF
* ALPN: server accepted http/1.1
* Server certificate:
* subject: C=US; ST=California; O=Apple Inc.; CN=app-site-association.cdn-apple.com
* start date: Jul 16 18:07:31 2024 GMT
* expire date: Oct 14 18:17:31 2024 GMT
* subjectAltName: host "app-site-association.cdn-apple.com" matched cert's "app-site-association.cdn-apple.com"
* issuer: CN=Apple Public Server ECC CA 12 - G1; O=Apple Inc.; ST=California; C=US
* SSL certificate verify ok.
* using HTTP/1.x
> GET /a/v1/yourmomentshub.com HTTP/1.1
> Host: app-site-association.cdn-apple.com
> User-Agent: curl/8.6.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Apple-From: https://yourmomentshub.com/.well-known/apple-app-site-association
< Apple-Origin-Format: json
< Cache-Control: max-age=21600,public
< Content-Length: 861
< Content-Type: application/json
< Date: Tue, 23 Jul 2024 16:19:23 GMT
< Age: 3708
< Via: https/1.1 usqas4-vp-vst-002.ts.apple.com (acdn/252.14441), https/1.1 usqas4-vp-vfe-006.ts.apple.com (acdn/252.14441), http/1.1 usewr1-edge-lx-011.ts.apple.com (acdn/252.14441), http/1.1 usewr1-edge-bx-006.ts.apple.com (acdn/252.14441)
< X-Cache: hit-stale, miss, hit-fresh, hit-fresh
< CDNUUID: 80ba6fd1-82da-403f-bbc1-aa99da486fac-14511833217
< Connection: keep-alive
<
{
"applinks": {
"details": [
{
"appIDs": [ "9BEUBEN9L7.com.daramfon.MomentsHub" ],
"components": [
{
"/": "/moments/*",
"comment": "Matches any URL with a path that starts with /moments/."
},
{
"/": "/polls/*",
"comment": "Matches any URL with a path that starts with /polls/."
},
{
"/": "/profile/*",
"comment": "Matches any URL with a path that starts with /profile/."
},
{
"/": "/verified/*",
"comment": "Matches any URL with a path that starts with /verified/."
}
]
}
]
},
"webcredentials": {
"apps": [ "9BEUBEN9L7.com.daramfon.MomentsHub" ]
},
"appclips": {
"apps": [ "9BEUBEN9L7.com.daramfon.MomentsHub.Clip" ]
}
}
* Connection #0 to host app-site-association.cdn-apple.com left intact