Kaltura Video Package 4.1 for Moodle 3.x Troubleshooting Guide

Printer-friendly version

Kaltura Troubleshooting Video Package 4.1 for Moodle 3.x 

This article provides information and workarounds for some issues that may arise for the Kaltura Video Package 4.1 for Moodle 3.x and later.

Common Issue

Problem: Grades are not passed to the gradebook after a user submits a video quiz. 

Consumer key is missing.

After submitting a quiz, you may receive the following message: (=KAF) from the Moodle server:

<imsx_description>Consumer key is missing.</imsx_description>

...

This may occur because the Moodle server is not configured to allow the PHP system to access the Authorization header in the messages being sent.  The required 'Authorization' header that Kaltura sends to the Moodle server with each request, to ensure that the quiz grade being sent is valid, may not be passed correctly to an external system.( Moodle server).

The Apache web server may strip the "Authorization'"header, (not giving the Moodle server access to it), which leads to this failure. On some Apache servers, for example, you need to add commands to a .htaccess file to enable access to the Authroization Header

Workaround: Ensure that the Apache server receives and keeps the entire "Authorization" header for Moodle's use.

Add the following commands to an .htaccess file:

RewriteCond %{HTTP:Authorization} ^(.+)

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]. However, we always send this header with the request (which is why it is working elsewhere).

 

Document type: 
Product version: 
(811 reads)