SCORM times out when user clicks the final button ...

Re: SCORM times out when user clicks the final button ...

by Dan Marsden -
Number of replies: 4
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

1) Timeout - Check the Browser console and make sure no javascript errors are being reported. If nothing is showing, try enabling the SCORM debugger and see what SCORM calls are being made when it times out.

2) Auto-commit - unlikely to help much in this case - many SCORM packages aren't set to report any data back to the LMS until the final slide (which I suspect is the case in your package.)

3) Did you find that auto-commit setting under "admin > plugins > activites > SCORM - and did it have a title of "default settings"? - if so then it would be changing the default value for any new SCORM packages you add to your course. smile

4) Task/Cron for SCORM does 2 things:

  • You can add a SCORM package in quite a few different ways see these posts if interested: (1, 2) If you have set a SCORM package to update every day, the task will update those SCORM packages as configured.
  • Clean up old AICC HACP sessions - SCORM supports AICC HACP which has implements it's own session handling - if AICC HACP is enabled the task will clean up the old aicc sessions.a

In reply to Dan Marsden

Re: SCORM times out when user clicks the final button ...

by Ken Task -
Picture of Particularly helpful Moodlers

Thanks, Dan.   Appreciate it.

Do have debugger for SCORM on ... forgot to ask about that also... can there be multiple admins designated in the box for who sees?

It's so sporadic, I, myself, have never seen the issue ... and the fact this is load balanced, a user could have the issue on just one of the nodes and not on all 4. :|

Will have to ask the person who builds the 1.2 compat SCORM's if they can include autocomits.

So the setting for 'autocomit' would be on only for *NEW* courses that contained SCORM's ... hmmm, looks like some direct DB for a couple of those course/SCORM's to see if it helps any.

Hmmmm the task/cron job ... no wonder it shows nothing ... no AICC HACP contained therein.  But if that has it's own auto-commits might be the way they need to go.   Unfortunately, this is their 'prime time' right now and don't have the time to explore that as well.   They do have a test setup LB, one node, but it's not accessible from the outside world.

Referenced links?   1 and 2?  URL's please.

Thanks, again! Ken



In reply to Ken Task

Re: SCORM times out when user clicks the final button ...

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

fixed the links in the post above.

I'm pretty sure scorm debug mask accepts commas to allow multiple users to be set but it's been a while since I've used that setting so you might need to test it out and see.

it can be hard to diagnose issues with SCORM - it's even worse if you can't reproduce the conditions. JavaScript can be really fragile.

Good luck!

In reply to Dan Marsden

Re: SCORM times out when user clicks the final button ...

by Ken Task -
Picture of Particularly helpful Moodlers

Thanks for the links.

Yep ... very difficult to diagnose if one cannot reproduce ... backed up one course that had one of those SCORM's in it, restored to another server ... OS and versions of everything very close.  Did that cause the live logs on a node scroll so fast one can't really see anything!!!  And even tail -f on logs with a grep for IP address and anything that had 'scorm' in the URL didn't lead to any clue ... might have picked an ip and user behind that ip wasn't having any issues. sad

Course over there had no issues - but wasn't a node in an LB system either.

Will continue to dig however.

'spirit of sharing', Ken


In reply to Ken Task

Re: SCORM times out when user clicks the final button ...

by Ken Task -
Picture of Particularly helpful Moodlers

Follow Up to own posting ... how sick is that!!!

Thought I'd share what have learned so far ... and a method to test the SCORM with debugging on ... NOT in the LMS (however).

Specifics may apply so:

The SCORM am investigating  ....

Created using Storyline 360
version: 3.16.15842.0
ADL SCORM 1.2


Community discussion about a bug related to autocomit

https://community.articulate.com/discussions/articulate-storyline/forced_commit_time-value-of-60000-60k

A page tha describes using SCORM cloud.

https://community.articulate.com/articles/how-to-troubleshoot-your-lms-with-scorm-cloud

Note it does say that the URL method ... ie, linking that in the Moodle,
will not share the data back to the Moodle.   But, is that important?
Just interested in passing score to be able to move on.

****
Debugging
https://community.articulate.com/articles/the-secret-to-lms-debugging

'spirit of sharing', Ken