Cordova advanced http plugin shows HTTP_1_1_REQUIRED when download file with SSLCertMode set to 'nocheck'

287 views Asked by At

I'm developing an Ionic v3 application, the Android app download files using cordova advanced http plugin. The server uses https.

I use setSSLCertMode('nocheck'). However when calling downloadFile I'm getting error: stream is reset HTTP_1_1_REQUIRED.

The server is running ASP.NET WebApi.

this.http.setSSLCertMode('nocheck');
this.http.downloadFile(url, {}, headers, fileName);
0

There are 0 answers