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

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.3.0
    • Android, File system
    • 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

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

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.