A secure (SSL) ajax json service call with https

2 posts, 0 answers
  1. Olafur
    Olafur avatar
    4 posts
    Member since:
    Aug 2013

    Posted 28 Nov 2013 Link to this post

    Hi.

    In my project I have no problem consuming a HTTP json webapi service in both the simulator and on my Android device.  However when I make the service HTTPS the simulator still works but it fails with errorcode 0 and no message on my Android device.

    Is there an issue with the HTTPS on the Icenium (cordova) platform?

    regards,
    Olafur
  2. David Silveria
    David Silveria avatar
    234 posts
    Member since:
    May 2006

    Posted 28 Nov 2013 Link to this post

    If http works, there must be a certificate error for the https ones to fail. I would check with http debugger to see the server's response, bet it is an error. Here is a similar thread: http://stackoverflow.com/questions/14649105/phonegap-android-https-requests-not-working-when-built-through-eclipse

    Cheers!
Back to Top