Having an issue with Android deeplinks being validated - we have 3 servers which are all provisioned identically - the only difference is where they are physically located. One hosted in the US, one hosted in Europe, and one hosted in Australia. The first 2 validate fine, the last one times out as below when fetching
(note I've removed the actual URLs that are being targetted)
{
"maxAge": "599.999999916s",
"debugString": "********************* ERRORS \n Error: deadline_exceeded: Timeout occurred while fetching Web statements from https://xxx.au./.well-known/assetlinks.json (which is equivalent to ' using download from the web (ID 1).\n* INFO MESSAGES ********************\n Info: No statements were found that match your query\n"
}
If we refresh the digitalassetlinks URL a second time then it works fine, but my understanding is that the SingleHostVerifier on the device will only call the digitalassetlinks API once, and if it fails, then that's the end of it.
I did some repeated timings with curl to retrieve the assetlinks.json from a Google VM based in the US:
xxx.com: 0.364976 0.375002 0.367658
xxx.co.uk: 0.489308 0.410593 0.460412
xxx.com.au: 0.883220 0.822720 0.880201
which are theoretically within the 1 second timeout which there 'seems' to be for the digiialassetlinks URLs.
Anyone any suggestions how to resolve this? If I remove the .com.au host link from our AndroidManifest.xml then everything works perfectly, but that would then break deep links for our APAC customers.
Cheers,
Alex.