You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/03/05 09:19:11 UTC

[GitHub] [cordova-plugin-file-transfer] Mr-Anonymous opened a new issue #225: SSLHandshakeException: Chain validation failed

Mr-Anonymous opened a new issue #225: SSLHandshakeException: Chain validation failed
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/225
 
 
   ## Problem
   SSL Handshake is failing. When a file is uploaded to the server, I am getting the error: `W/FileTransfer: Error getting HTTP status code from connection.
       javax.net.ssl.SSLHandshakeException: Chain validation failed`
   
   ### What is expected to happen?
   
   The SSL is valid until April 2019. The SSL is generated by Let's Encrypt Authority X3. Chrome or other browsers does not have this error. So the upload should work since the SSL is valid and v1.2 is enabled.
   
   ### What does actually happen?
   
   If I upload from ionic mobile app using the native XHR method, it works. If I upload using the File Transfer plugin, the SSL Handshake fails. Particularly, it appears users with Android phones are having this issue.
   
   ## Information
   
   I did a scan using ssllabs.com and the only 2 things I found in that are:
   
   1. OCSP STAPLING ERROR: OCSP response expired on Mon Mar 04 16:00:00 UTC 2019
   
   2. TLS 1.1 and TLS 1.0 is not enabled. I am not sure if we need that since most of the users who have reported this uses Android 8+.
   
   Can any of the above cause this SSL Handshake issue? Can an expired OCSP stapling cause this handshake error on uploads in File Transfer plugin?
   
   ### Environment, Platform, Device
   ```
   User 1:
   OS: android 9 
   Browser: chrome 72.0.3626.105 
   
   User 2: 
   OS: android 8.0.0 
   Browser: chrome 72.0.3626.105 
   
   User 3: 
   OS: android 8.1.0 
   Browser: chrome 72.0.3626.105 
   ```
   
   ### Version information
   ```
   code-push 2.0.4 "CodePushAcquisition"
   cordova-android-support-gradle-release 1.4.2 "cordova-android-support-gradle-release"
   cordova-plugin-appcenter-analytics 0.1.4 "App Center Analytics for Cordova"
   cordova-plugin-appcenter-crashes 0.1.4 "App Center Crashes for Cordova"
   cordova-plugin-appcenter-shared 0.1.3 "App Center shared code for Cordova"
   cordova-plugin-camera 4.0.3 "Camera"
   cordova-plugin-code-push 1.11.10 "CodePush"
   cordova-plugin-device 2.0.2 "Device"
   cordova-plugin-dialogs 2.0.1 "Notification"
   cordova-plugin-file 6.0.1 "File"
   cordova-plugin-file-opener2 2.0.19 "File Opener2"
   cordova-plugin-file-transfer 1.7.1 "File Transfer"
   cordova-plugin-headercolor 1.0 "HeaderColor"
   cordova-plugin-ignore-lint-translation 0.0.1 "cordova-plugin-ignore-lint-translation"
   cordova-plugin-ionic-webview 2.3.1 "cordova-plugin-ionic-webview"
   cordova-plugin-ios-camera-permissions 1.2.0 "iOS Permissions"
   cordova-plugin-mediapicker-dmcbig 2.3.8 "MediaPicker"
   cordova-plugin-network-information 2.0.1 "Network Information"
   cordova-plugin-splashscreen 5.0.2 "Splashscreen"
   cordova-plugin-statusbar 2.4.2 "StatusBar"
   cordova-plugin-whitelist 1.3.3 "Whitelist"
   cordova-plugin-zip 3.1.0 "cordova-plugin-zip"
   ionic-plugin-deeplinks 1.0.15 "Ionic Deeplink Plugin"
   ionic-plugin-keyboard 2.2.1 "Keyboard"
   ```
   
   ```
   cli packages: (/usr/local/lib/node_modules)
   
       @ionic/cli-utils  : 1.19.2
       ionic (Ionic CLI) : 3.20.0
   
   global packages:
   
       cordova (Cordova CLI) : 8.0.0 
   
   local packages:
   
       Cordova Platforms : android 7.0.0 ios 4.5.5
       Ionic Framework   : ionic1 1.3.3
   
   System:
   
       ios-deploy : 1.9.2 
       ios-sim    : 5.0.13 
       Node       : v9.3.0
       npm        : 5.7.1 
       OS         : macOS
       Xcode      : Xcode 10.1 Build version 10B61 
   
   Environment Variables:
   
       ANDROID_HOME : not set
   
   Misc:
   
       backend : pro
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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