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

Add an admin setting to toggle off the checknet.txt checking

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.7.18, 2.9.9, 3.0.8, 3.1.4, 3.2.1
    • SCORM
    • None
    • MOODLE_27_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
    • wip-MDL-57804-master
    • Hide
      1. Provision a Moodle site using the appropriate wip- branch.
      2. Create a course and add a SCORM module (use the attached if you like) to the course.
      3. Navigate to Site Administration > Plugins > Activity Modules > SCORM and check the Disable network checks checkbox.
      4. Enter the SCORM activity and launch the SCORM content.
      5. Activate your browser developer tools and watch the network requests.
      6. There should be no network requests to checknet.txt.
      7. Navigate to Site Administration > Plugins > Activity Modules > SCORM and uncheck the Disable network checks checkbox.
      8. Enter the SCORM activity and launch the SCORM content.
      9. Activate your browser developer tools and watch the network requests.
      10. There should be regular network requests to checknet.txt.
      Show
      Provision a Moodle site using the appropriate wip- branch. Create a course and add a SCORM module (use the attached if you like) to the course. Navigate to Site Administration > Plugins > Activity Modules > SCORM and check the Disable network checks checkbox. Enter the SCORM activity and launch the SCORM content. Activate your browser developer tools and watch the network requests. There should be no network requests to checknet.txt. Navigate to Site Administration > Plugins > Activity Modules > SCORM and uncheck the Disable network checks checkbox. Enter the SCORM activity and launch the SCORM content. Activate your browser developer tools and watch the network requests. There should be regular network requests to checknet.txt.

      Some of our clients have learners that are accessing content mainly through ship-based or extreme northern hemisphere satellite connections. The higher latency of these connections causes the checknet alert to be thrown when the user's network connection hasn't been dropped. I think it's a good idea to provide a setting (with very strongly worded precautions) allowing admin users to disable the network check. I See Dan's resistance to the change in MDL-48419. We happen to have a couple of high-profile clients for whom occasional loss of data resulting from dropped network connection is preferable to their users having to repeatedly close the alert. Finally, I have to acknowledge some degree of situational irony in submitting this improvement, since I pushed very hard for the implementation of the checknet funct for a very long time (and it has dramatically reduced our SCORM support workload). We would probably disable this setting by default for most clients using the config file, but providing an admin setting allows us to avoid having 15 or 20 sites with their own custom repositories. This issue is fairly common in some rural Alaska villages where online learning is one of the only avenues for professional development/career advancement, and I would hate for this very important functionality to become another obstacle for those learners.

      Alternatives I've considered:

      • An admin setting allowing admin users to bump up the timeout for the checknet request. (Seems kind of scorched-earth to me, but we could provide a dropdown with preset options so admins couldn't set it really high...)
      • Stop throwing alerts after the third (?) or so alert. We've done or due diligence and warned the learner numerous times, if they want to continue, that's up to them.

            agroshek Amy Groshek
            agroshek Amy Groshek
            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.