breautek commented on issue #388:
URL: 
https://github.com/apache/cordova-plugin-file-transfer/issues/388#issuecomment-3655890353

   > 12-11 16:23:15.354 8552 8760 E FileTransfer: java.net.ProtocolException: 
unexpected end of stream
   
   This tells is that the stream ended prematurely. But the reason why that 
might be are kind of endless and given this is a network stream there are two 
main places to look.
   
   1) The client. If this is client-side issue, there are likely additional 
errors are logging elsewhere in logcat. Perhaps there is a memory pressure 
issue or some sort.
   
   2) The server, perhaps the server is interrupting the connection early 
before all data is flushed.
   
   We will need to know more to offer any kind of assistance.
   
   Another potential way to help is if you can reproduce the issue with a 
[sample 
reproduction](https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md)
 app. You could include a simple http server build to serve a large file. You 
can also provide a script to generate said large file (opposed to checking it 
into a repository which needs to get downloaded).
   
   If it can reproduced in a very simple tech stack, it will help isolate the 
cause and if it is indeed a client-side issue, then that might be something 
that Apache volunteers can address.


-- 
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]

Reply via email to