简体   繁体   English

苹果应用站点关联文件无法为某些用户下载

[英]Apple-app-site-association file fails to download for certain users

A few of our users never seem to download the apple-app-site-association file no matter how many times they delete and reinstall the app. 无论删除或重新安装该应用程序多少次,我们的一些用户似乎从未下载过apple-app-site-association文件。

Redirecting through universal links is essential for our sign in flow so this issue renders the app unusable for the affected users. 通过通用链接进行重定向对于我们的登录流程至关重要,因此,此问题使该应用无法用于受影响的用户。 The number of users this affects is less than 1% and we have never been able to replicate the issue ourselves 受此影响的用户数量不到1%,我们从未能够自己复制问题

The universal links themselves work perfectly well, it is just that for whatever reason the file is never requested from our servers, I have been through the server logs in great detail and identified that the users for whom this issue occurs never request the file, even after deleting and reinstalling the app 4 or 5 times. 通用链接本身可以很好地工作,仅仅是因为无论出于什么原因都从未从我们的服务器请求文件,我已经仔细查看了服务器日志,并确定发生此问题的用户从未请求过该文件,甚至删除并重新安装应用4次或5次后。

Is there any known issue which could cause something like this? 是否有任何已知的问题可能导致这种情况? Should I file a bug with apple? 我应该向苹果提交错误吗? Is it possible that the users are blocking requests to a bank of ip's including ours? 用户是否有可能阻止对包括我们在内的ip银行的请求?

I found an article about a bug in universal links last year which was preventing their correct functioning which seemed to be related to the daemon crashing, could the daemon be crashing in the case of these users? 去年,我发现了一篇有关通用链接中的错误的文章,该错误阻止了它们正常运行,该功能似乎与守护程序崩溃有关,如果这些用户使用,守护程序是否可能崩溃?

As you indicate that you are not seeing the client even hit the server, this is likely due to a firewall blocking the request or the devices running versions of iOS prior to 9, which do not support Universal Linking. 正如您指出的那样,您甚至看不到客户端连服务器都没有看到,这可能是由于防火墙阻止了该请求或运行9之前版本的iOS的设备,这些版本不支持通用链接。

If you are seeing the clients hit the server, then there are a number of potential issues: 如果看到客户端点击服务器,然后也有一些潜在的问题:

  • The user may have inadvertantly disabled Universal Linking on the device by clicking on the breadcrumb in the screen's upper right hand corner 通过单击屏幕右上角的面包屑,用户可能无意中禁用了设备上的通用链接
  • The user may be behind a proxy server that is spoofing the SSL cert. 用户可能在欺骗SSL证书的代理服务器后面。 When this happens, the file will still be downloaded but will not be trusted by the device 发生这种情况时,文件仍会下载但不会被设备信任

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM