Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-56037

iOS10 http 407 error on media download

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0.6, 3.1.2
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
      None
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE

      Description

      Uploaded media in a moodle forum no longer seems to work at all efter iOS 10 updates on iphones and ipads.

      The only difference i can spot in the apache logs are that iOS10 devices get a 407 return from moodle when trying to query the file in question. I have tested this on two different moodle installations.

      If i install a 3rd party browser on either iphone or ipad for example the opera browser, i can access the file without issues. I can't figure out if this is a moodle issue, or if apple has introduced some bug in iOS10 that seem to conflict with the way moodle controls access to files?

      I have attached part of the apache logs below

      On iOS9 requesting the file in question directly:


      xx.xx.xx.xx - - [20/Sep/2016:10:29:48 +0200] "GET /moodle/pluginfile.php/24275/mod_forum/post/860/converting.mp4 HTTP/1.1" 200 78184 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 9_3 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13E230 Safari/601.1"
      xx.xx.xx.xx - - [20/Sep/2016:10:29:49 +0200] "GET /moodle/pluginfile.php/24275/mod_forum/post/860/converting.mp4 HTTP/1.1" 206 601 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 9_3 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13E230 Safari/601.1"
      xx.xx.xx.xx - - [20/Sep/2016:10:29:49 +0200] "GET /moodle/pluginfile.php/24275/mod_forum/post/860/converting.mp4 HTTP/1.1" 206 35048 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 9_3 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13E230 Safari/601.1"
      xx.xx.xx.xx - - [20/Sep/2016:10:29:49 +0200] "GET /moodle/pluginfile.php/24275/mod_forum/post/860/converting.mp4 HTTP/1.1" 206 4578 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 9_3 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13E230 Safari/601.1"
      xx.xx.xx.xx - - [20/Sep/2016:10:29:49 +0200] "GET /moodle/pluginfile.php/24275/mod_forum/post/860/converting.mp4 HTTP/1.1" 206 3842 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 9_3 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13E230 Safari/601.1"
      xx.xx.xx.xx - - [20/Sep/2016:10:29:49 +0200] "GET /moodle/pluginfile.php/24275/mod_forum/post/860/converting.mp4 HTTP/1.1" 206 155518 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 9_3 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13E230 Safari/601.1"


      Requesting the same file using iOS10:


      xx.xx.xx.xx - - [20/Sep/2016:10:34:07 +0200] "GET /moodle/pluginfile.php/24275/mod_forum/post/860/converting.mp4 HTTP/1.1" 200 160172 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_1 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Mobile/14A403 Safari/602.1"
      xx.xx.xx.xx - - [20/Sep/2016:10:34:07 +0200] "GET /moodle/pluginfile.php/24275/mod_forum/post/860/converting.mp4 HTTP/1.1" 407 26464 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_1 like Mac OS X) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Mobile/14A403 Safari/602.1"


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              ajoe Anders Jørgensen
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: