-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
3.3.0
-
MOODLE_33_STABLE
The FileTransfer download is throwing the error:
code:3
exception: Connection cosed by peer.
I looked for it and in some places it says that TLS 1.2 is supported but not enabled by default in Android 4.4 and older. The problem is that "enabling" it means changing the native code of FileTransfer, and it could cause problems with other certificates.
In other places it says that it depends on the vendor, some brands might have removed TLS 1.2 support at all so there would be no fix for those.
I also read that these params could fix it, but it didn't work for me, the only change is that the error was thrown later:
Connection: 'close'
chunkMode: false