Open abhinandankhatawane opened 4 years ago
Hi @abhinandankhatawane - can you post the exact version of LL that you're using? The latest is 7.0.0.
Also, which server is the error (above) coming from?
Which plugin are you using to launch the xAPI content from within Moodle?
Hi David,
We are using LL version v6.2.4 which we built using Amazon AMI.
We are using Moodle 3.6 with LogStore xAPI plugin. (https://moodle.org/plugins/logstore_xapi)
We are using GomoLearning as Authoring Platform.
Also we are facing one more issue. The moment we put the LMS and LRS on HTTPS, the connection from LMS to LRS breaks. The statements do not get passed to LRS.
Thanks and regards,
Hi @abhinandankhatawane - based on what you're saying, we can eliminate the logstore_xapi plugin as an issue. If you are launching xAPI-based content, you'll want to use the mod_tincanlaunch plugin (https://github.com/davidpesce/moodle-mod_tincanlaunch). This allows you to launch xAPI-compatible content from within Moodle.
I'd also recommend upgrading your LL instance to 7.0.0.
We have setup Moodle and Learning Locker as follows
Moodle Server: with Apache and MySQL using Moodle version 3.6, (http://zzzlms.net) LL Server: with Nnigix and MongoDB using LL version 2.0, (http://xxxlrs.net) Authoring Tool: Gomolearning (https://www.gomolearning.com/)
We are using LogStore plugin on Moodle.
We are getting error
VM294:8261 Access to XMLHttpRequest at 'http://xxxlrs.net/data/xAPI/activities/state?stateId=courseState&activityId=http%3A%2F%2Fwww.gomolearning.com%2Fxapi%2Factivities%2Fcourse%2Fp100538&agent=%7B%22objectType%22%3A%22Agent%22%2C%22account%22%3A%7B%22name%22%3A%22admin%22%2C%22homePage%22%3A%22http%3A%2F%2Fzzzlms.net%22%7D%2C%22name%22%3A%22Admin%20User%22%7D®istration=72721c23-620a-458b-81a2-81a7ac0b20a9' from origin 'http://zzzlms.net' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.