You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Rishab Sharma (JIRA)" <ji...@apache.org> on 2015/10/21 06:28:27 UTC

[jira] [Resolved] (CB-9700) https request failing in WP8.1 Cordova App

     [ https://issues.apache.org/jira/browse/CB-9700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rishab Sharma resolved CB-9700.
-------------------------------
    Resolution: Fixed

The problem came out to be very strange:
In first call, Windows Phone 8.1 is not allowing ‘https’ with ‘API Server Credentials’ passed in url . While, It’s allowing https without credentials or http with credentials.

Workaround:
I made a dummy call in start with https and no credentials, followed by normal https calls with credentials. It worked!

> https request failing in WP8.1 Cordova App
> ------------------------------------------
>
>                 Key: CB-9700
>                 URL: https://issues.apache.org/jira/browse/CB-9700
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib, WP8
>    Affects Versions: 3.5.0
>         Environment: Windows 8
>            Reporter: Rishab Sharma
>            Assignee: Jesse MacFadyen
>            Priority: Blocker
>              Labels: cordova, https, sencha, wp8.1
>
> I have developed an app using Sencha Touch 2.4.1 and built using Cordova 3.5.0-0.2.7 for Windows Phones. 
> The app make https OData requests to a Server with valid and Trusted SSL certificate, but these requests are failing in WP8.1 with Status Code 0 and Status Text as blank.
> It works fine with http protocol in WP8.1 and http/https in WP8.0 as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org