Found a similar problem reported on android Cordova app:
http://stackoverflow.com/questions/20036260/phonegap-android-app-ajax-requests-to-https-fail-with-status-0/22676570#22676570
Also curl request to the reported website fails:
~$ curl https://m.luas.ie/ curl: (60) SSL certificate problem: unable to get local issuer certificate ...
Curl and javascript XMLHttprequest https calls to well known and trusted URLs such as https://google.com and https://www.wikipedia.org works correctly.
Since now I have no idea how to fix the certificate problem... I will probably implement an alternative URL test for websites which https request fails with status=0.
Found a similar problem reported on android Cordova app:
http:// stackoverflow. com/questions/ 20036260/ phonegap- android- app-ajax- requests- to-https- fail-with- status- 0/22676570# 22676570
Also curl request to the reported website fails:
~$ curl https:/ /m.luas. ie/
curl: (60) SSL certificate problem: unable to get local issuer certificate
...
Curl and javascript XMLHttprequest https calls to well known and trusted URLs such as https:/ /google. com and https:/ /www.wikipedia. org works correctly.
Since now I have no idea how to fix the certificate problem... I will probably implement an alternative URL test for websites which https request fails with status=0.