Configuration -> System -> Proxy activated
Joomla 5.4.x without problems on 6.0.0 updated
Now Joomla obviously ignores the proxy setting. I can no longer search and install updates!
| Labels |
Added:
No Code Attached Yet
|
||
From the amount and level of information you have provided it is really impossible to provide any help or assistance. Please provide as much detail as possible about your proxy and its configuration settings.
| Labels |
Added:
Information Required
|
||
I am experiencing an issue with Joomla 6 where core updates work correctly, but extension update checks fail when the site is behind an HTTP proxy.
I am not an expert on this topic, but I tried to gather as much relevant technical information as possible.
Could not open update siteThis occurs consistently for multiple third-party extensions.
To verify that the proxy and network configuration are working correctly, I performed the following tests via SSH on the same server.
curl -Iv -x http://proxy:3128 https://cdn.akeeba.com/updates/pkgakeebabackuppro.xmlResult: successful response.
php -r '
$ch = curl_init("https://cdn.akeeba.com/updates/pkgakeebabackuppro.xml");
curl_setopt($ch, CURLOPT_PROXY, "proxy:3128");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
var_dump(curl_exec($ch) !== false);
'Result: true.
I checked the Joomla log directory, but no log entries are written when this issue occurs.
It appears that the request fails before anything is logged.
Given that:
it appears that in Joomla 6 the proxy configuration may not be consistently applied to the HTTP requests used for extension update checks.
The same proxy setup worked correctly with latest Joomla 5 on the same infrastructure. The HTTP transport selection option was already removed in Joomla 5, but extension update checks still worked there. The issue only appeared after upgrading to Joomla 6.
Thank you very much for your time and support — I hope this helps.
How can I manually install the update on Joomla 6.0.2? The update check is blocked and ends with a timeout!
How do I check the extensions now?
Is that a security problem?
Can I return to Joomla 5.0.x?
In my case, the update to Joomla 6.0.2 works without any problems. Unfortunately, the extension still does not work.
How can I manually install the update on Joomla 6.0.2? The update check is blocked and ends with a timeout!
You can download and install the Update Package via upload: https://downloads.joomla.org/cms/joomla6/6-0-2
I see connections that do not go over proxy to the following IP addresses:
172.67.74.86
104.26.14.15
And yes, I can download the update manually...
But: In the backend, the Joomla update check runs on an error message, timeout!
And still: No update check for the extensions!
Update:
I tested this directly in the updater code path.
In libraries/src/Updater/UpdateAdapter.php I switched the HTTP client used for
fetching update sites from Joomla\Http\HttpFactory to Joomla\CMS\Http\HttpFactory.
With this change, extension update checks started working behind our proxy
without any env/http_proxy workarounds.
This makes the issue appear closely related to the missing User-Agent problem
addressed in PR #46553 rather than a general proxy configuration issue.
I did a PR for the Joomla framework, which is used since 6.0 to replace deprecated CMS Http Package (used until 5.4)
This should fix update for extensions, when behind proxy or firewall.
Same Problem here with 6.0.1, proxy on server without user and pass.