You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "craig mcmillan (JIRA)" <ji...@apache.org> on 2016/05/15 11:53:12 UTC
[jira] [Created] (CB-11268) android file-transfer upload failing
with some SSL certs
craig mcmillan created CB-11268:
-----------------------------------
Summary: android file-transfer upload failing with some SSL certs
Key: CB-11268
URL: https://issues.apache.org/jira/browse/CB-11268
Project: Apache Cordova
Issue Type: Bug
Components: Plugin File Transfer
Affects Versions: 6.0.0
Environment: tested on :
android 4.2.2 api 17
android 4.4.2 api 19
Reporter: craig mcmillan
i'm using cordova-plugin-file-transfer 1.5.1
on cordova 6.0.0 with android 5.1.1
--
file-upload to an HTTP endpoint works fine on iOS and android... to the same endpoint via HTTPS it only works on iOS, giving errors like those below in the android logs
the cert which seems to be failing is a wildcard cert ( https://devapi.yapsterchat.com/ ), which used to work fine with an earlier version of cordova-file-transfer, and does work fine with cordova-file-transfer on iOS and all other HTTPS requests apart from those from cordova-file-transfer on android
---
https://www.refheap.com/1866a06959e3fcda4c1a4dd9c
05-15 12:43:16.479 4748-4748/com.employeerepublic.yapsterchatdev I/chromium: [INFO:CONSOLE(14809)] "INFO [er-webui.api.ajax:252] - ajax/cordova-upload-file {:trust-all-hosts true, :auth-user {:id #uuid "19898900-4340-11e5-bffc-d5981f3a064d", :token "<removed>", :updated_at #inst "2016-03-14T12:55:23.559-00:00"}, :file-url "/storage/emulated/0/Download/ArticleSharedImage-27911.jpg", :upload-url "https://devapi.yapsterchat.com/api/orgs/f7c3d590-4b33-11e5-8978-fa2a23995eb5/org-users/19898900-4340-11e5-bffc-d5981f3a064d/files", :opts {:fileKey "file", :fileName "profile", :mimeType "image/jpeg", :headers {"Authorization" "Token <removed>"}, :params {:context :conversations-view}}}", source: file:///android_asset/www/js/app.js (14809)
05-15 12:43:16.530 4748-4802/com.employeerepublic.yapsterchatdev I/System.out: propertyValue:true
05-15 12:43:16.532 4748-4802/com.employeerepublic.yapsterchatdev I/System.out: [socket][1] connection devapi.yapsterchat.com/54.229.133.216:443;LocalPort=36924(0)
05-15 12:43:16.532 4748-4802/com.employeerepublic.yapsterchatdev I/System.out: [CDS]connect[devapi.yapsterchat.com/54.229.133.216:443] tm:90
05-15 12:43:16.576 4748-4802/com.employeerepublic.yapsterchatdev I/System.out: [socket][/192.168.1.201:36924] connected
05-15 12:43:16.576 4748-4802/com.employeerepublic.yapsterchatdev I/System.out: [CDS]rx timeout:0
05-15 12:43:16.657 4748-4802/com.employeerepublic.yapsterchatdev E/NativeCrypto: ssl=0x5a7a6510 cert_verify_callback x509_store_ctx=0x52e73ab8 arg=0x0
05-15 12:43:16.658 4748-4802/com.employeerepublic.yapsterchatdev E/NativeCrypto: ssl=0x5a7a6510 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA
--
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