JnNanghty opened a new issue, #388: URL: https://github.com/apache/cordova-plugin-file-transfer/issues/388
# Bug Report ## Problem I download a file larger than 1G (1.07G). ### What is expected to happen? Download file success. ### What does actually happen? Download failed and throw an Exception. Android Logcat: 12-11 16:23:15.354 8552 8760 E FileTransfer: java.net.ProtocolException: unexpected end of stream 12-11 16:23:15.354 8552 8760 E FileTransfer: at com.android.okhttp.internal.http.Http1xStream$FixedLengthSource.read(Http1xStream.java:398) 12-11 16:23:15.354 8552 8760 E FileTransfer: at com.android.okhttp.okio.RealBufferedSource$1.read(RealBufferedSource.java:372) 12-11 16:23:15.354 8552 8760 E FileTransfer: at java.io.FilterInputStream.read(FilterInputStream.java:133) 12-11 16:23:15.354 8552 8760 E FileTransfer: at org.apache.cordova.filetransfer.FileTransfer$SimpleTrackingInputStream.read(FileTransfer.java:157) 12-11 16:23:15.354 8552 8760 E FileTransfer: at java.io.FilterInputStream.read(FilterInputStream.java:107) 12-11 16:23:15.354 8552 8760 E FileTransfer: at org.apache.cordova.filetransfer.FileTransfer$2.run(FileTransfer.java:812) 12-11 16:23:15.354 8552 8760 E FileTransfer: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 12-11 16:23:15.354 8552 8760 E FileTransfer: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 12-11 16:23:15.354 8552 8760 E FileTransfer: at java.lang.Thread.run(Thread.java:923) ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> If file size smaller than 1G, It will download success. ### Command or Code <!-- What command or code is needed to reproduce the problem? --> None ### Environment, Platform, Device And Version information <!-- In what environment, on what platform or on which device are you experiencing the issue? --> device: rk3568 file-transer plugin version: 1.7.1 os: Android 11 webview version: 134.0.6998.4 cordova version: 10.0.0 angular version: 10.0.14 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [ ] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
