Yet again this problem, I know.
Launching the app on android gives an “application error. The connection to the server was unsuccessful”.
Many topics on this subjects, all pointing out to potential js or css using external link.
However, I have absolutely no file using external link in my code, and mostly not in my index.html
The strangest part is that this problem suddenly happened to all my android users last night for no reason at all. The same build that has been working for weeks sudddenly got this error on every android device. This morning, everything fell into place again. However, I do not want that to ever happen again.
This whole thing just seem so random, how could it happen like that on every device without even needing a database connexion at that point ?
However, I really hope we can find a cleaner solution to this problem.
And on top of it, I would love an explanation why it happened to me in a production app that was working fine for weeks.
I once had similar problem when I used a : in an img tag. I was using angular’s one time binding. Replacing img with ng-img resolved my problem. Hope this helps
The cause of this failure is something that can’t be loaded by any reason. For me, was an external script (it must be external) that was returning a 404.
Solution was fixing this 404 at the server, and adding async defer to script declaration.
LoadUrlTimeoutValue (number in milliseconds, default to 20000 => 20 seconds): When loading a page, the amount of time to wait before throwing a timeout error.