apple-app-site-association is not right

hi, can you help me have a look please ,


i just upload the file , see https://m.alibaba.com/apple-app-site-association


But when i validate the website with https://search.developer.apple.com/appsearch-validation-tool/


validater is not right for the reason below,

The apple-app-site-association file was not found. If you already uploaded it, make sure not to include the .json extension on the filename. Learn how to implement the recommended Universal Links.


what's the reason?

i just upload the file …

AFAICT that URL is simply non-responsive.

$ curl -O https://m.alibaba.com/apple-app-site-association
…
curl: (7) Failed to connect to m.alibaba.com port 443: Operation timed out

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

I'm having the same problem, but everything is normal if I try to get the file by curl.



https://ps3looke.ottvs.com.br/apple-app-site-association


What could I be doing wrong?

I'm having the same problem....


Here is the curl result:


curl -I "https://d3xwm9x3ez74b.cloudfront.net/apple-app-site-association"


HTTP/1.1 200 OK

Content-Type: application/pkcs7-mime

Content-Length: 196

Connection: keep-alive

Date: Mon, 02 Nov 2015 12:05:26 GMT

Last-Modified: Mon, 02 Nov 2015 11:30:30 GMT

ETag: "a5a7111baaff5da4e3378386f7fb2ba1"

Accept-Ranges: bytes

Server: AmazonS3

Age: 160

X-Cache: Hit from cloudfront

Via: 1.1 671f0d6e0d2ebbc109dd74f759a93a75.cloudfront.net (CloudFront)

X-Amz-Cf-Id: QXSorcelX6YCP_mGzUk7LPYVqeGliGC-GpSGa-1paJaqt-rkfI3-vw==


Is the content type problem?

Or something else I was doing wrong?

I have the same problem too. how can i fix it ?

do you fix the problem?

If your file is not signed (which it doesn't appear to be) then you need to have the Content-Type be application/json.

"need to have the Content-Type be application/json."


I've seen this reference in the docs. Where do I set the content type of the "apple-app-site-association" file?


~Gene

Where do I set the content type of the "apple-app-site-association" file?

That is typically done via a configuration option on your server. Most servers have a default content type mapping based on the file extension, but

apple-app-site-association
doesn’t hit that mapping because it doesn’t have an extension.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
apple-app-site-association is not right
 
 
Q