deedey / moodle-block_annulab_lrs

This block for Moodle gives access to a user’s own historical data sent by the moodle's logstore_xapi and tincanlaunch plugins to the LRS of Annulab in a graphical format and data table. It requires a free subscription at https://lrsdata.com. The LRS enables anyone who is connected to import his/her own data in a JSON format file archived into a ZIP file.
1 stars 0 forks source link

Emit task failed #13

Open jackeapen opened 4 years ago

jackeapen commented 4 years ago

Hi

I installed logstore_xapi plugin in Moodle 3.8 and gave the API credentials. when I run the emit records task, below message is received. How do I troubleshoot?

Execute scheduled task: Emit records to LRS (logstore_xapi\task\emit_task) 30 event(s) have failed to send to the LRS. 0 event(s) have been successfully processed. ... used 9 dbqueries ... used 1.7226519584656 seconds Scheduled task complete: Emit records to LRS (logstore_xapi\task\emit_task)

Regards,

Jack

deedey commented 4 years ago

Hello @Jakeapen This is a message from Logstore_xapi which fails to send all of the JSON requests at once. This is a transmission problem, not a reception problem. Avoid sending packets in blocks and with CRON because of the size of the JSON requests. Avoid checking this option and allow sending JSON requests as soon as they are created. In the configuration of Logstore_xapi and to the question: Send statements by scheduled task? answer "NO" And if you answer "YES" also validate: Resend failed batches. Annulab_LRS works perfectly

I hope this answer will help you Regards Dey