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

iOS10 http 407 error on media download

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.0.6, 3.1.2
    • Forum
    • None
    • MOODLE_30_STABLE, MOODLE_31_STABLE

      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"


            dobedobedoh Andrew Lyons
            ajoe Anders Jørgensen
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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