Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2041

Android 4.4 and older can't download/upload files with TLS 1.2 certificates

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 3.3.0
    • None
    • Android, File system
    • MOODLE_33_STABLE

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            dpalou Dani Palou
            Juan Leyva
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: