metarefresh: Unsupported option "http"

13 views
Skip to first unread message

Joakim Westlund

unread,
Mar 17, 2026, 7:34:38 PM (10 days ago) Mar 17
to SimpleSAMLphp

Hi.

I upgraded my simplesamlphp container from SSPHP 2.4.4, PHP 8.4 to SSPHP 2.5.0 and PHP 8.5.4

After that I noticed that the Metarefresh don’t work anymore.

Is this a bug or any configuration change that is needed with the new version?

Metarefresh gives Error:

07:17:20.602Z SimpleSAML\Error\Exception: User Deprecated - Method SimpleSAML\Utils\HTTP::fetch() is deprecated since 16-12-2025, Use an HTTP client instead (see createHttpClient method) at /var/simplesamlphp/modules/metarefresh/src/MetaLoader.php:114

07:17:20.603Z Backtrace:

07:17:20.603Z 8 /var/simplesamlphp/src/SimpleSAML/Error/ErrorHandler.php:64 (SimpleSAML\Error\ErrorHandler::customErrorHandler)

07:17:20.603Z 7 /var/simplesamlphp/modules/metarefresh/src/MetaLoader.php:114 (SimpleSAML\Module\metarefresh\MetaLoader::loadSource)

07:17:20.603Z 6 /var/simplesamlphp/modules/metarefresh/src/MetaRefresh.php:129 (SimpleSAML\Module\metarefresh\MetaRefresh::runRefresh)

07:17:20.603Z 5 /var/simplesamlphp/modules/metarefresh/src/Controller/MetaRefresh.php:84 (SimpleSAML\Module\metarefresh\Controller\MetaRefresh::main)

07:17:20.603Z 4 /var/simplesamlphp/vendor/symfony/http-kernel/HttpKernel.php:183 (Symfony\Component\HttpKernel\HttpKernel::handleRaw)

07:17:20.603Z 3 /var/simplesamlphp/vendor/symfony/http-kernel/HttpKernel.php:76 (Symfony\Component\HttpKernel\HttpKernel::handle)

07:17:20.603Z 2 /var/simplesamlphp/vendor/symfony/http-kernel/Kernel.php:193 (Symfony\Component\HttpKernel\Kernel::handle)

07:17:20.603Z 1 /var/simplesamlphp/src/SimpleSAML/Module.php:240 (SimpleSAML\Module::process)

07:17:20.603Z 0 /var/simplesamlphp/public/module.php:17 (N/A)

07:17:20.603Z metarefresh: Unsupported option "http" passed to "Symfony\Component\HttpClient\CurlHttpClient", did you mean "http_version"?

/ Joakim

Miroslav Goldgamer

unread,
Mar 18, 2026, 3:06:27 AM (9 days ago) Mar 18
to SimpleSAMLphp

Joakim Westlund

unread,
Mar 18, 2026, 7:01:41 PM (9 days ago) Mar 18
to SimpleSAMLphp
This was already reported in https://github.com/simplesamlphp/simplesamlphp-module-metarefresh/issues/62  I have tried the patch and it works for me.
Reply all
Reply to author
Forward
0 new messages