Hi, I am using Moodle 5.2 and the schedule task failed and it seem that hub-api.org is blocking my site. This is the error I get:
Execute scheduled task: Download available H5P content types from h5p.org (core\task\h5p_get_content_types_task)
... started 09:53:09. Current memory use 12.4 MB.
Debugging increased temporarily due to faildelay of 86400
++ cURL request for "
https://hub-api.h5p.org/v1/sites" failed, HTTP response code: HTTP/1.1 405 Method Not Allowed
++
* line 1670 of /public_html/lib/filelib.php: call to debugging()
* line 380 of /public_html/h5p/classes/core.php: call to download_file_content()
* line 367 of /public_html/h5p/classes/core.php: call to core_h5p\core->register_site()
* line 337 of /public_html/h5p/classes/core.php: call to core_h5p\core->get_site_uuid()
* line 167 of /public_html/h5p/classes/core.php: call to core_h5p\core->get_latest_content_types()
* line 64 of /public_html/lib/classes/task/h5p_get_content_types_task.php: call to core_h5p\core->fetch_latest_content_types()
* line 411 of /public_html/lib/classes/cron.php: call to core\task\h5p_get_content_types_task->execute()
* line 194 of /admin/cli/scheduled_task.php: call to core\cron::run_inner_scheduled_task()
... used 0 dbqueries
... used 0.67382192611694 seconds
... used 18.7 MB peak memory
Scheduled task failed: Download available H5P content types from h5p.org (core\task\h5p_get_content_types_task),Invalid response value detected (No information could be obtained on the H5P content types available. H5P repository connection failure)
Debug info:
No information could be obtained on the H5P content types available. H5P repository connection failure
Backtrace:
* line 411 of /public_html/lib/classes/cron.php: call to core\task\h5p_get_content_types_task->execute()
* line 194 of /admin/cli/scheduled_task.php: call to core\cron::run_inner_scheduled_task()
otacke
Tue, 05/26/2026 - 23:02
Permalink
https://h5p.org/comment/54943
https://h5p.org/comment/54943#comment-54943