I know that this issue has been raised a lot, but I have not found any solution. I try to upload a large file using https, but I get the exception "I / O error during a system call, Broken pipe", the same code works when I upload it using http.
I read that this problem was detected on Android 2.3, I am using Android 4.3, and this is still happening ...
This also happens when I upload a small file. this does not happen with a small file if I delete con.setChunkedStreamingMode (1024); and uploading the file in one fragment (which I cannot do with large files).
Sharas
source share