Picture of Rob Mausser
Adapt 5 and Moodle
by Rob Mausser - Tuesday, 23 August 2022, 8:56 PM
 

We are having issues with our courses loading on Moodle for a client.

These are the issues i'm seeing in the console:

Uncaught Error: Load timeout for modules: underscore.results
http://requirejs.org/docs/errors.html#timeout
at F (require.min.js:7:290)
at H (require.min.js:13:56)
at require.min.js:13:227
F @ require.min.js:7
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13
setTimeout (async)
H @ require.min.js:13
(anonymous) @ require.min.js:13

 

GEThttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/react.production.min.js[HTTP/2 500 Internal Server Error 43ms]
 
GEThttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/react-dom.production.min.js[HTTP/2 500 Internal Server Error 34ms]
 
GEThttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/semver.js[HTTP/2 500 Internal Server Error 41ms]
 
Uncaught Error: Script error for "react-dom" http://requirejs.org/docs/errors.html#scripterror
    Fhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:7
    onScriptErrorhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:30
    loadhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:34
    loadhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:29
    loadhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:17
    fetchhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:17
    checkhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:17
    enablehttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:23
    enablehttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:27
    enablehttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:22
    zhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:7
    yhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:6
    enablehttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:21
    inithttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:16
    mhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:26
    setTimeout handler*g.nextTick<https://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:32
    mhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:26
    requirejshttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:32
    loadFoundationLibrarieshttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:78
    setupModernizrhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:73
    checkJQueryStatushttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:64
    loadScripthttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:8
    loadJQueryhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:56
    setupRequireJShttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:51
    loadScripthttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:8
    <anonymous>https://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:128
    <anonymous>https://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:130
require.min.js:7:290
 
Uncaught Error: Script error for "react" http://requirejs.org/docs/errors.html#scripterror
    Fhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:7
    onScriptErrorhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:30
    loadhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:34
    loadhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:29
    loadhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:17
    fetchhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:17
    checkhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:17
    enablehttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:23
    enablehttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:27
    enablehttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:22
    zhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:7
    yhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:6
    enablehttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:21
    inithttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:16
    mhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:26
    setTimeout handler*g.nextTick<https://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:32
    mhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:26
    requirejshttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:32
    loadFoundationLibrarieshttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:78
    setupModernizrhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:73
    checkJQueryStatushttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:64
    loadScripthttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:8
    loadJQueryhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:56
    setupRequireJShttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:51
    loadScripthttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:8
    <anonymous>https://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:128
    <anonymous>https://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:130
require.min.js:7:290
 
Uncaught Error: Script error for "semver" http://requirejs.org/docs/errors.html#scripterror
    Fhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:7
    onScriptErrorhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:30
    loadhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:34
    loadhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:29
    loadhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:17
    fetchhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:17
    checkhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:17
    enablehttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:23
    enablehttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:27
    enablehttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:22
    zhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:7
    yhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:6
    enablehttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:21
    inithttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:16
    mhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:26
    setTimeout handler*g.nextTick<https://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:32
    mhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:26
    requirejshttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:32
    loadFoundationLibrarieshttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:78
    setupModernizrhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:73
    checkJQueryStatushttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:64
    loadScripthttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:8
    loadJQueryhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:56
    setupRequireJShttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:51
    loadScripthttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:8
    <anonymous>https://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:128
    <anonymous>https://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/adapt/js/scriptLoader.js:130
require.min.js:7:290
 
Uncaught Error: Load timeout for modules: underscore.results,backbone,backbone.es6,velocity,imageReady,inview,jqueryMobile,libraries/jquery.resize,scrollTo http://requirejs.org/docs/errors.html#timeout
    Fhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:7
    Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    setTimeout handler*Hhttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
    bahttps://lih-cai.cse-cst.gc.ca/pluginfile.php/16012/mod_scorm/content/1/libraries/require.min.js:13
require.min.js:7:290
 
 
 
 
 
 
 Does anyone know whats going on here?
 
Thanks 
Picture of Ignacio Cinalli
Re: Adapt 5 and Moodle
by Ignacio Cinalli - Wednesday, 24 August 2022, 3:33 PM
 

Hi Rob,

It seems that the problem may be related to https://github.com/adaptlearning/adapt-contrib-core/issues/80.
That was fixed on FWv5.19.3
Which version of the framework do you use?

 

Picture of Rob Mausser
Re: Adapt 5 and Moodle
by Rob Mausser - Wednesday, 24 August 2022, 4:09 PM
 

We used 5.17 but I just tested with the latest Adapt demo (adapt create course) and issues still persist. 

Some files fail to load

{
"pageref": "page_1",
"startedDateTime": "2022-08-24T10:45:59.273-04:00",
"request": {
"bodySize": 0,
"method": "GET",
"url": "https://lih-cai.cse-cst.gc.ca/pluginfile.php/16045/mod_scorm/content/1/libraries/react-dom.production.min.js",
"httpVersion": "HTTP/2",
"headers": [
{
"name": "Host",
"value": "lih-cai.cse-cst.gc.ca"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.5"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Referer",
"value": "https://lih-cai.cse-cst.gc.ca/pluginfile.php/16045/mod_scorm/content/1/index_lms.html"
},
{
"name": "Cookie",
"value": "MoodleSession=lqdue77n6mgvusg4nlg6mdqqvi"
},
{
"name": "Sec-Fetch-Dest",
"value": "script"
},
{
"name": "Sec-Fetch-Mode",
"value": "no-cors"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "Pragma",
"value": "no-cache"
},
{
"name": "Cache-Control",
"value": "no-cache"
},
{
"name": "TE",
"value": "trailers"
}
],
"cookies": [
{
"name": "MoodleSession",
"value": "lqdue77n6mgvusg4nlg6mdqqvi"
}
],
"queryString": [],
"headersSize": 592
},
"response": {
"status": 500,
"statusText": "Internal Server Error",
"httpVersion": "HTTP/2",
"headers": [
{
"name": "date",
"value": "Wed, 24 Aug 2022 14:45:59 GMT"
},
{
"name": "content-type",
"value": "text/html; charset=UTF-8"
},
{
"name": "content-length",
"value": "0"
},
{
"name": "strict-transport-security",
"value": "max-age=31536000; includeSubDomains"
},
{
"name": "X-Firefox-Spdy",
"value": "h2"
}
],
"cookies": [],
"content": {
"mimeType": "text/html; charset=UTF-8",
"size": 0,
"text": ""
},
"redirectURL": "",
"headersSize": 216,
"bodySize": 216
},
"cache": {},
"timings": {
"blocked": -1,
"dns": 0,
"connect": 0,
"ssl": 0,
"send": 0,
"wait": 33,
"receive": 0
},
"time": 33,
"_securityState": "secure",
"serverIPAddress": "40.86.226.35",
"connection": "443"
},
{
"pageref": "page_1",
"startedDateTime": "2022-08-24T10:45:59.274-04:00",
"request": {
"bodySize": 0,
"method": "GET",
"url": "https://lih-cai.cse-cst.gc.ca/pluginfile.php/16045/mod_scorm/content/1/libraries/html-react-parser.min.js",
"httpVersion": "HTTP/2",
"headers": [
{
"name": "Host",
"value": "lih-cai.cse-cst.gc.ca"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.5"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Referer",
"value": "https://lih-cai.cse-cst.gc.ca/pluginfile.php/16045/mod_scorm/content/1/index_lms.html"
},
{
"name": "Cookie",
"value": "MoodleSession=lqdue77n6mgvusg4nlg6mdqqvi"
},
{
"name": "Sec-Fetch-Dest",
"value": "script"
},
{
"name": "Sec-Fetch-Mode",
"value": "no-cors"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "Pragma",
"value": "no-cache"
},
{
"name": "Cache-Control",
"value": "no-cache"
},
{
"name": "TE",
"value": "trailers"
}
],
"cookies": [
{
"name": "MoodleSession",
"value": "lqdue77n6mgvusg4nlg6mdqqvi"
}
],
"queryString": [],
"headersSize": 589
},
"response": {
"status": 500,
"statusText": "Internal Server Error",
"httpVersion": "HTTP/2",
"headers": [
{
"name": "date",
"value": "Wed, 24 Aug 2022 14:45:59 GMT"
},
{
"name": "content-type",
"value": "text/html; charset=UTF-8"
},
{
"name": "content-length",
"value": "0"
},
{
"name": "strict-transport-security",
"value": "max-age=31536000; includeSubDomains"
},
{
"name": "X-Firefox-Spdy",
"value": "h2"
}
],
"cookies": [],
"content": {
"mimeType": "text/html; charset=UTF-8",
"size": 0,
"text": ""
},
"redirectURL": "",
"headersSize": 216,
"bodySize": 216
},
"cache": {},
"timings": {
"blocked": -1,
"dns": 0,
"connect": 0,
"ssl": 0,
"send": 0,
"wait": 38,
"receive": 0
},
"time": 38,
"_securityState": "secure",
"serverIPAddress": "40.86.226.35",
"connection": "443"
},
{
"pageref": "page_1",
"startedDateTime": "2022-08-24T10:45:59.276-04:00",
"request": {
"bodySize": 0,
"method": "GET",
"url": "https://lih-cai.cse-cst.gc.ca/pluginfile.php/16045/mod_scorm/content/1/libraries/semver.js",
"httpVersion": "HTTP/2",
"headers": [
{
"name": "Host",
"value": "lih-cai.cse-cst.gc.ca"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.5"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Referer",
"value": "https://lih-cai.cse-cst.gc.ca/pluginfile.php/16045/mod_scorm/content/1/index_lms.html"
},
{
"name": "Cookie",
"value": "MoodleSession=lqdue77n6mgvusg4nlg6mdqqvi"
},
{
"name": "Sec-Fetch-Dest",
"value": "script"
},
{
"name": "Sec-Fetch-Mode",
"value": "no-cors"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "Pragma",
"value": "no-cache"
},
{
"name": "Cache-Control",
"value": "no-cache"
},
{
"name": "TE",
"value": "trailers"
}
],
"cookies": [
{
"name": "MoodleSession",
"value": "lqdue77n6mgvusg4nlg6mdqqvi"
}
],
"queryString": [],
"headersSize": 574
},
"response": {
"status": 500,
"statusText": "Internal Server Error",
"httpVersion": "HTTP/2",
"headers": [
{
"name": "date",
"value": "Wed, 24 Aug 2022 14:45:59 GMT"
},
{
"name": "content-type",
"value": "text/html; charset=UTF-8"
},
{
"name": "content-length",
"value": "0"
},
{
"name": "strict-transport-security",
"value": "max-age=31536000; includeSubDomains"
},
{
"name": "X-Firefox-Spdy",
"value": "h2"
}
],
"cookies": [],
"content": {
"mimeType": "text/html; charset=UTF-8",
"size": 0,
"text": ""
},
"redirectURL": "",
"headersSize": 216,
"bodySize": 216
},
"cache": {},
"timings": {
"blocked": -1,
"dns": 0,
"connect": 0,
"ssl": 0,
"send": 0,
"wait": 40,
"receive": 0
},
"time": 40,
"_securityState": "secure",
"serverIPAddress": "40.86.226.35",
"connection": "443"
},
{
"pageref": "page_1",
"startedDateTime": "2022-08-24T10:46:23.744-04:00",
"request": {
"bodySize": 57,
"method": "POST",
"url": "https://lih-cai.cse-cst.gc.ca/lib/ajax/service.php?sesskey=css1PMU2b5&info=core_session_touch",
"httpVersion": "HTTP/2",
"headers": [
{
"name": "Host",
"value": "lih-cai.cse-cst.gc.ca"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0"
},
{
"name": "Accept",
"value": "application/json, text/javascript, */*; q=0.01"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.5"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "X-Requested-With",
"value": "XMLHttpRequest"
},
{
"name": "Content-Length",
"value": "57"
},
{
"name": "Origin",
"value": "https://lih-cai.cse-cst.gc.ca"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Referer",
"value": "https://lih-cai.cse-cst.gc.ca/mod/scorm/player.php"
},
{
"name": "Cookie",
"value": "MoodleSession=lqdue77n6mgvusg4nlg6mdqqvi"
},
{
"name": "Sec-Fetch-Dest",
"value": "empty"
},
{
"name": "Sec-Fetch-Mode",
"value": "cors"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "Pragma",
"value": "no-cache"
},
{
"name": "Cache-Control",
"value": "no-cache"
},
{
"name": "TE",
"value": "trailers"
}
],
"cookies": [
{
"name": "MoodleSession",
"value": "lqdue77n6mgvusg4nlg6mdqqvi"
}
],
"queryString": [
{
"name": "sesskey",
"value": "css1PMU2b5"
},
{
"name": "info",
"value": "core_session_touch"
}
],
"headersSize": 707,
"postData": {
"mimeType": "application/json",
"params": [],
"text": "[{\"index\":0,\"methodname\":\"core_session_touch\",\"args\":{}}]"
}
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/2",
"headers": [
{
"name": "date",
"value": "Wed, 24 Aug 2022 14:46:23 GMT"
},
{
"name": "content-type",
"value": "application/json; charset=utf-8"
},
{
"name": "expires",
"value": "Thu, 19 Nov 1981 08:52:00 GMT"
},
{
"name": "cache-control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "pragma",
"value": "no-cache"
},
{
"name": "content-encoding",
"value": "br"
},
{
"name": "strict-transport-security",
"value": "max-age=31536000; includeSubDomains"
},
{
"name": "X-Firefox-Spdy",
"value": "h2"
}
],
"cookies": [],
"content": {
"mimeType": "application/json; charset=utf-8",
"size": 29,
"text": "[{\"error\":false,\"data\":true}]"
},
"redirectURL": "",
"headersSize": 317,
"bodySize": 351
},
"cache": {},
"timings": {
"blocked": 0,
"dns": 0,
"connect": 0,
"ssl": 0,
"send": 0,
"wait": 178,
"receive": 0
},
"time": 178,
"_securityState": "secure",
"serverIPAddress": "40.86.226.35",
"connection": "443"
}
]
}
}

Picture of Rob Mausser
Re: Adapt 5 and Moodle
by Rob Mausser - Wednesday, 24 August 2022, 4:32 PM
 

Even adding this fix of waitSeconds, the issue remains. It is these same 3 files every time. 

 

Picture of Oliver Foster
Re: Adapt 5 and Moodle
by Oliver Foster - Wednesday, 24 August 2022, 9:23 PM
 

Could you confirm that those files exist in your SCO zip please, send screen shots, they will be in the libraries/ folder.

Picture of Rob Mausser
Re: Adapt 5 and Moodle
by Rob Mausser - Monday, 29 August 2022, 7:52 PM
 

Picture of Oliver Foster
Re: Adapt 5 and Moodle
by Oliver Foster - Tuesday, 30 August 2022, 7:19 AM
 

Is the course loaded inside an iframe?

Picture of Rob Mausser
Re: Adapt 5 and Moodle
by Rob Mausser - Tuesday, 30 August 2022, 5:36 PM
 

Yes,

 

Correct me if i'm wrong, but even if you have a popup window in moodle, it is still within an iframe of that popup. 

I don't think  in moodle there is a way to have the course load in a window by itself.

Picture of Oliver Foster
Re: Adapt 5 and Moodle
by Oliver Foster - Wednesday, 31 August 2022, 7:31 AM
 

I'm just wondering if it has any attributes on it that'd block script loading.

Perhaps you could open up the dev tools and send a screen shot of the iframe container for the course?

 

https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy/Using_Feature_Policy#enforcing_best_practices_for_good_user_experiences

Picture of Rob Mausser
Re: Adapt 5 and Moodle
by Rob Mausser - Wednesday, 31 August 2022, 3:11 PM
 

The issue with that Oliver is that after 4 or 5 attempts the course does load, since everything is cached on the local machine and eventually it can load everything without a timeout. 

If I disable caching in the networking tab, the course never loads. It simply doesn't have time. 

Picture of Oliver Foster
Re: Adapt 5 and Moodle
by Oliver Foster - Wednesday, 31 August 2022, 9:56 PM
 

How long is it taking to load? The only part with a timeout is the requirejs config as you've already identified.

Picture of Oliver Foster
Re: Adapt 5 and Moodle
by Oliver Foster - Thursday, 1 September 2022, 8:51 AM
 

It looks to me like an issue with the connection or the server. 31seconds to load some of those files is a bit much. Then you get a 500 Internal Server Error, Which should be a 404 File not found if the file wasn't available.