Timeout when getting new plugin gallery file

Describe the issue or problem
The default timeout of 10 seconds leaves the Plugin Gallery hanging. See error below.

I didn’t create an issue because it is not a bug per se, but it is something that could be difficult to fix inside a docker container.

What application are you using?
OJS 3.5.0-5 via docker

Additional information
Here is there relevant error:

[29-Oct-2026 19:35:46 America/Sao_Paulo] cURL error 28: Operation timed out after 10000 milliseconds with 261704 out of 643831 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://pkp.sfu.ca/ojs/xml/plugins.xml?application=ojs2&version=3.5.0.5
[29-Oct-2026 19:35:46 America/Sao_Paulo] PHP Deprecated:  DOMDocument::loadXML(): Passing null to parameter #1 ($source) of type string is deprecated in /var/www/html/lib/pkp/classes/plugins/PluginGalleryDAO.php on line 131
[29-Oct-2026 19:35:46 America/Sao_Paulo] PHP Fatal error:  Uncaught ValueError: DOMDocument::loadXML(): Argument #1 ($source) must not be empty in /var/www/html/lib/pkp/classes/plugins/PluginGalleryDAO.php:131
Stack trace:
#0 /var/www/html/lib/pkp/classes/plugins/PluginGalleryDAO.php(131): DOMDocument->loadXML('')
#1 /var/www/html/lib/pkp/classes/plugins/PluginGalleryDAO.php(61): PKP\plugins\PluginGalleryDAO->_getDocument('https://pkp.sfu...')
#2 /var/www/html/lib/pkp/controllers/grid/plugins/PluginGalleryGridHandler.php(155): PKP\plugins\PluginGalleryDAO->getNewestCompatible(Object(APP\core\Application), NULL, NULL)
#3 /var/www/html/lib/pkp/classes/controllers/grid/GridHandler.php(367): PKP\controllers\grid\plugins\PluginGalleryGridHandler->loadData(Object(APP\core\Request), Array)
#4 /var/www/html/lib/pkp/classes/controllers/grid/GridHandler.php(1189): PKP\controllers\grid\GridHandler->getGridDataElements(Object(APP\core\Request))
#5 /var/www/html/lib/pkp/classes/controllers/grid/GridHandler.php(1065): PKP\controllers\grid\GridHandler->renderGridBodyPartsInternally(Object(APP\core\Request))
#6 /var/www/html/lib/pkp/classes/controllers/grid/GridHandler.php(737): PKP\controllers\grid\GridHandler->doSpecificFetchGridActions(Array, Object(APP\core\Request), Object(APP\template\TemplateManager))
#7 [internal function]: PKP\controllers\grid\GridHandler->fetchGrid(Array, Object(APP\core\Request))
#8 /var/www/html/lib/pkp/classes/core/PKPRouter.php(327): call_user_func(Array, Array, Object(APP\core\Request))
#9 /var/www/html/lib/pkp/classes/core/PKPComponentRouter.php(265): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(APP\core\Request), Array)
#10 /var/www/html/lib/pkp/classes/core/Dispatcher.php(157): PKP\core\PKPComponentRouter->route(Object(APP\core\Request))
#11 /var/www/html/lib/pkp/classes/core/PKPApplication.php(429): PKP\core\Dispatcher->dispatch(Object(APP\core\Request))
#12 /var/www/html/index.php(21): PKP\core\PKPApplication->execute()
#13 {main}
  thrown in /var/www/html/lib/pkp/classes/plugins/PluginGalleryDAO.php on line 131