You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jordan Clist (JIRA)" <ji...@apache.org> on 2014/05/11 00:00:38 UTC

[jira] [Created] (CB-6671) File transfer upload over SSL causes SNI error on some Android devices

Jordan Clist created CB-6671:
--------------------------------

             Summary: File transfer upload over SSL causes SNI error on some Android devices
                 Key: CB-6671
                 URL: https://issues.apache.org/jira/browse/CB-6671
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin File Transfer
    Affects Versions: 3.4.0
         Environment: Android 4.4
            Reporter: Jordan Clist


Using file transfer upload over SSL on Android 4.4 seems to be canceling/aborting the transfer 
{quote}
D/FileTransfer(17211): Exception: stream was reset: CANCEL
D/FileTransfer(17211): java.io.IOException: stream was reset: CANCEL
D/FileTransfer Platform Android(17211): 	at com.squareup.okhttp.internal.spdy.SpdyStream$SpdyDataOutputStream.waitUntilWritable(SpdyStream.java:664)
D/FileTransfer(17211): 	at com.squareup.okhttp.internal.spdy.SpdyStream$SpdyDataOutputStream.writeFrame(SpdyStream.java:640)
D/FileTransfer(17211): 	at com.squareup.okhttp.internal.spdy.SpdyStream$SpdyDataOutputStream.write(SpdyStream.java:601)
D/FileTransfer(17211): 	at org.apache.cordova.filetransfer.FileTransfer$1.run(FileTransfer.java:420)
D/FileTransfer(17211): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
D/FileTransfer(17211): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
D/FileTransfer(17211): 	at java.lang.Thread.run(Thread.java:864)
{quote}

When I check the logs on the server I get:

{quote}
Hostname X provided via SNI, but no hostname provided in HTTP request
{quote}

When I turn SSL off for the exact same request and server end point it works fine.

Any suggestions, I am using the latest version of the file transfer plugin: 0.4.3



--
This message was sent by Atlassian JIRA
(v6.2#6252)