If you're running the course from a regular web server use index.html
to run the course and you won't get any 'could not connect to LMS' errors.
Search results: 34
Hi Matt,
I also met this problem, after I uploaded a course to our LMS, I got this error message after I clicked "OK" :
16:19:23.762 ScormWrapper::setVersion:
1.216:19:23.762 ScormWrapper::initialize
16:19:23.851 Course could not connect to the LMS
16:19:47.281 ScormWrapper::commit
16:19:47.282 Course is not connected to the LMS
The attached image is from browser's console.
I had added and enabled the plugin, I've tried both "passed" and "completed" at Tracking success status.
I'm using Spoor 3.3.2 and Framework v4.4.1.
The second image is the log from adapt authoring tool.
Hi Shaneshwar
Not sure what I'm missing here but in the above debug log the course is showing as completed...
If you are using spoor v3.0.0 together with Adapt v2.0.6 then that's going to be a problem because those two versions are incompatible (spoor v3.0.0 requires Adapt v3 as a minimum)
Adapt v2.0.6 is really quite old indeed, it was released nearly 4 years ago now...!
Thanks Matt. I am using
Adapt version : 2.0.6
Spoor version:3.0.0
Close plugin version: 1.1.0
SCORM:1.2
yes. After enabling "_requireContentCompleted": true, and tracking by assessment to false have solve my problem. This is working for CLOUD SCORM but not for moodle I am getting the error. Its showing course not completed in moodle. Is their any compatibility issue in moodle. Please see the snapshot of error
Could you let me know what versions of the:
- adapt framework
- spoor plugin
- close plugin
you are using?
Also, you haven't included the entirety of the SCORM debug log - as you haven't scrolled down the key bit is missing.
As you're running on Moodle you might be better off enabling Moodle's SCORM debug feature, it's generally a lot more detailed than the one in Adapt.
Do I need to set "_requireContentCompleted": false, to true as this course does not have assessment. Do this will solve or do I need to look for some another aspects.
Yes you should absolutely do this. It is not related to the 'Course is not connected to the LMS' error you're getting but you need to have this setting enabled or - as the course does not contain an assessment - the learner will not be able to complete it.
The following search terms occur only in the HTML markup of this message: LMS
Hi Matt,
I found similar issue but the solution that worked for Fergus doesnt work for me.
Here is some description of my issue: This Error comes when i click on close button/icon of adapt-close extension
I have used 1.2 SCORm as default, tried uploading in MOODLE and COUD SCORM both but same issue.
Console output is this:
Hi Bill
I don't know quite at what version of iOS this started occurring but I have noticed an annoying bug that's certainly present in iOS v11.3.x (iPhone only) where, if the SCORM debugger that Moodle/Totara has is enabled, I can't – initially - get it to launch the course at all.
When happens is that Safari prompts you to allow the debugger window to open - but then if you switch back to the main window to get the other prompt (which annoyingly you have to do now since Apple changed the way the allow/block prompts appear) my iPhone just doesn't show it; my iPad, however, does!
If you then leave the debugger window open then try reloading the other page, the course window opens fine and loads no problem – presumably because with the course debugger window already open it only needs to display one allow/block prompt this time.
I've just tried a few Adapt courses on Totara and - when the SCORM debugger is switched off - I haven't had any issues and certainly haven't seen any 'could not connect to LMS' issues - though I am using a relatively old version of Totara (2.9.12)
One thing I have noticed in the past is that occasionally when you use the 'click here to launch this course manually' link (rather than the Enter button) you get a 'could not connect to LMS' error... I think the last time I investigated this it seemed that Moodle/Totara was not actually making the LMS API available at the point the course was loaded and started looking for it. Whenever this happened I noticed that Moodle/Totara would include a sort of weird countdown message in the course window prior to actually going to the course content. Typically, I can't replicate it now despite following the same steps!
Thanks Matt, I'll give that a go.
The 'could not connect to LMS error' only appears after you manually refresh the course after isn't does't continue from the loading wheel.
I'll let you know if I get this sorted!
Yes, you go back to the LMS provider, point out that it works perfectly on SCORM Cloud and other Learning Management Systems and explain that the reason it doesn't on their LMS is because their code is changing double quotes in the suspend_data to HTML entities (why on earth?!) - then ask them to please stop doing that as well as any other forms of modification to the data in suspend_data.
Interesting that the course is throwing a 'could not connect to LMS error', that's a bit misleading. Will see if I can fix that.
Hi Matt, thanks for the reply
When I click Ok, the debug popup returns blank, debugging it shows that it has a single div and a onload JavaScript function.
Changing the course to complete/incomplete was done by removing the assessment extension and setting the Spoor extension to complete/incomplete instead of pass/fail.
Spoor is version 2.0.14, I'm having problems finding the adapt version, typing adapt -v into the linux console returns 0.0.23, but that seems incorrect.
It throws the error regardless of what LMS I use, even launching it without an LMS returns the error.
Thanks,
EDIT: one of my colleagues managed to get the debug information,
14:51:20.684 ScormWrapper::setVersion: 1.2 |
14:51:20.684 ScormWrapper::initialize |
14:51:20.779 ScormWrapper::initTimedCommit |
14:51:20.780 ScormWrapper::getValue: _property=cmi.suspend_data |
14:51:20.780 ScormWrapper::getValue: returning {"lang":"en","a11y":false,"completion":"-1000000001","questions":"","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:20.780 ScormWrapper::getValue: _property=cmi.core.lesson_location |
14:51:20.781 ScormWrapper::getValue: returning 58cbd0b148e21aac2a694da9 |
14:51:20.781 ScormWrapper::getValue: _property=cmi.core.score.raw |
14:51:20.781 ScormWrapper::getValue: returning |
14:51:20.781 ScormWrapper::getValue: _property=cmi.core.lesson_status |
14:51:20.782 ScormWrapper::getValue: returning incomplete |
14:51:20.782 ScormWrapper::getValue: _property=cmi.core.student_name |
14:51:20.782 ScormWrapper::getValue: returning Admin, Jenison |
14:51:20.782 ScormWrapper::getValue: _property=cmi.core.student_name |
14:51:20.782 ScormWrapper::getValue: returning Admin, Jenison |
14:51:20.782 ScormWrapper::getValue: _property=cmi.core.student_id |
14:51:20.783 ScormWrapper::getValue: returning admin |
14:51:20.784 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1000000001","questions":"","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:21.676 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1000000001","questions":"","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:21.718 ScormWrapper::getValue: _property=cmi.core.lesson_location |
14:51:21.718 ScormWrapper::getValue: returning 58cbd0b148e21aac2a694da9 |
14:51:21.718 ScormWrapper::getValue: _property=cmi.core.score.raw |
14:51:21.719 ScormWrapper::getValue: returning |
14:51:21.719 ScormWrapper::getValue: _property=cmi.core.lesson_status |
14:51:21.720 ScormWrapper::getValue: returning incomplete |
14:51:21.720 ScormWrapper::getValue: _property=cmi.core.student_name |
14:51:21.721 ScormWrapper::getValue: returning Admin, Jenison |
14:51:21.721 ScormWrapper::getValue: _property=cmi.core.student_name |
14:51:21.721 ScormWrapper::getValue: returning Admin, Jenison |
14:51:21.722 ScormWrapper::getValue: _property=cmi.core.student_id |
14:51:21.722 ScormWrapper::getValue: returning admin |
14:51:21.866 ScormWrapper::getValue: _property=cmi.core.lesson_location |
14:51:21.867 ScormWrapper::getValue: returning 58cbd0b148e21aac2a694da9 |
14:51:21.903 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694d9b |
14:51:25.026 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694da8 |
14:51:35.470 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694da9 |
14:51:36.923 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1100000001","questions":"","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:40.448 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694daa |
14:51:43.718 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1110000001","questions":"","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:45.466 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694dab |
14:51:45.771 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111000001","questions":"","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:49.746 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694dac |
14:51:50.194 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111100001","questions":"","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:52.064 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694dad |
14:51:53.132 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111100001","questions":"CIhOiBYQGAA4MeCgh","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:53.198 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111110001","questions":"CIhOiBYQGAA4MeCgh","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:56.576 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111111001","questions":"CIhOiBYQGAA4MeCgh","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:56.745 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694dae |
14:51:58.098 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694daf |
14:51:58.791 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111111001","questions":"CIE6IFhAYADgx4KCFOiBYQIAA4MeCgh","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:58.839 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111111101","questions":"CIE6IFhAYADgx4KCFOiBYQIAA4MeCgh","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:52:01.675 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694db0 |
14:52:04.960 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111111111","questions":"CIE6IFhAYADgx4KCFOiBYQIAA4MeCgh","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:52:05.005 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111111111","questions":"CIE6IFhAYADgx4KCFOiBYQIAA4MeCgh","_isCourseComplete":true,"_isAssessmentPassed":false} |
14:52:05.005 ScormWrapper::setValue: _property=cmi.core.lesson_status _value=completed |
14:52:05.006 ScormWrapper::commit |
14:52:08.772 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694da7 |
14:52:08.888 ScormWrapper::finish |
14:52:22.367 ScormWrapper::finish |
14:52:22.367 Course is not connected to the LMS |
14:51:20.684 ScormWrapper::setVersion: 1.2 |
14:51:20.684 ScormWrapper::initialize |
14:51:20.779 ScormWrapper::initTimedCommit |
14:51:20.780 ScormWrapper::getValue: _property=cmi.suspend_data |
14:51:20.780 ScormWrapper::getValue: returning {"lang":"en","a11y":false,"completion":"-1000000001","questions":"","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:20.780 ScormWrapper::getValue: _property=cmi.core.lesson_location |
14:51:20.781 ScormWrapper::getValue: returning 58cbd0b148e21aac2a694da9 |
14:51:20.781 ScormWrapper::getValue: _property=cmi.core.score.raw |
14:51:20.781 ScormWrapper::getValue: returning |
14:51:20.781 ScormWrapper::getValue: _property=cmi.core.lesson_status |
14:51:20.782 ScormWrapper::getValue: returning incomplete |
14:51:20.782 ScormWrapper::getValue: _property=cmi.core.student_name |
14:51:20.782 ScormWrapper::getValue: returning Admin, Jenison |
14:51:20.782 ScormWrapper::getValue: _property=cmi.core.student_name |
14:51:20.782 ScormWrapper::getValue: returning Admin, Jenison |
14:51:20.782 ScormWrapper::getValue: _property=cmi.core.student_id |
14:51:20.783 ScormWrapper::getValue: returning admin |
14:51:20.784 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1000000001","questions":"","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:21.676 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1000000001","questions":"","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:21.718 ScormWrapper::getValue: _property=cmi.core.lesson_location |
14:51:21.718 ScormWrapper::getValue: returning 58cbd0b148e21aac2a694da9 |
14:51:21.718 ScormWrapper::getValue: _property=cmi.core.score.raw |
14:51:21.719 ScormWrapper::getValue: returning |
14:51:21.719 ScormWrapper::getValue: _property=cmi.core.lesson_status |
14:51:21.720 ScormWrapper::getValue: returning incomplete |
14:51:21.720 ScormWrapper::getValue: _property=cmi.core.student_name |
14:51:21.721 ScormWrapper::getValue: returning Admin, Jenison |
14:51:21.721 ScormWrapper::getValue: _property=cmi.core.student_name |
14:51:21.721 ScormWrapper::getValue: returning Admin, Jenison |
14:51:21.722 ScormWrapper::getValue: _property=cmi.core.student_id |
14:51:21.722 ScormWrapper::getValue: returning admin |
14:51:21.866 ScormWrapper::getValue: _property=cmi.core.lesson_location |
14:51:21.867 ScormWrapper::getValue: returning 58cbd0b148e21aac2a694da9 |
14:51:21.903 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694d9b |
14:51:25.026 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694da8 |
14:51:35.470 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694da9 |
14:51:36.923 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1100000001","questions":"","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:40.448 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694daa |
14:51:43.718 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1110000001","questions":"","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:45.466 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694dab |
14:51:45.771 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111000001","questions":"","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:49.746 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694dac |
14:51:50.194 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111100001","questions":"","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:52.064 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694dad |
14:51:53.132 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111100001","questions":"CIhOiBYQGAA4MeCgh","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:53.198 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111110001","questions":"CIhOiBYQGAA4MeCgh","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:56.576 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111111001","questions":"CIhOiBYQGAA4MeCgh","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:56.745 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694dae |
14:51:58.098 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694daf |
14:51:58.791 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111111001","questions":"CIE6IFhAYADgx4KCFOiBYQIAA4MeCgh","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:51:58.839 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111111101","questions":"CIE6IFhAYADgx4KCFOiBYQIAA4MeCgh","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:52:01.675 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694db0 |
14:52:04.960 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111111111","questions":"CIE6IFhAYADgx4KCFOiBYQIAA4MeCgh","_isCourseComplete":false,"_isAssessmentPassed":false} |
14:52:05.005 ScormWrapper::setValue: _property=cmi.suspend_data _value={"lang":"en","a11y":false,"completion":"-1111111111","questions":"CIE6IFhAYADgx4KCFOiBYQIAA4MeCgh","_isCourseComplete":true,"_isAssessmentPassed":false} |
14:52:05.005 ScormWrapper::setValue: _property=cmi.core.lesson_status _value=completed |
14:52:05.006 ScormWrapper::commit |
14:52:08.772 ScormWrapper::setValue: _property=cmi.core.lesson_location _value=58cbd0b148e21aac2a694da7 |
14:52:08.888 ScormWrapper::finish |
14:52:22.367 ScormWrapper::finish |
14:52:22.367 Course is not connected to the LMS |