cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shakhnazarov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6671) File transfer upload over SSL causes SNI error on some Android devices
Date Thu, 12 Nov 2015 07:51:11 GMT

    [ https://issues.apache.org/jira/browse/CB-6671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15001810#comment-15001810
] 

Sergey Shakhnazarov commented on CB-6671:
-----------------------------------------

[~jclist], is this still actual? (There were changes related to OkHttp since that time)

> 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
>              Labels: android, sni, ssl, transfer
>
> 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.3.4#6332)

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


Mime
View raw message