Bug #76053
closedCould not access remote resource https://repositories.typo3.org/mirrors.xml.gz.
0%
Description
Hi,
with the newest release I get the above error when trying to get a list of available extensions.
I am using php 7 with xampp. I have on the same xampp instance a typo3 8.0 and 7.6 running. There the reading of the
extension repository works fine. Only for 8.1 it does not load anything at all. From the timeing of the call it seems that it doesn't even try to connect to the repository since it returns immediately while it takes some time to load the list in 7.6 and 8.0.
Did not find any hints in the phgp logs.
I Isolated the call:
http://localhost:88/typo3_81/typo3/index.php?M=tools_ExtensionmanagerExtensionmanager&moduleToken=81f58c5d26cfe25e50ff1182f3ae56fb610bfff5&tx_extensionmanager_tools_extensionmanagerextensionmanager%5Baction%5D=updateExtensionListFromTer&tx_extensionmanager_tools_extensionmanagerextensionmanager%5Bcontroller%5D=UpdateFromTer&tx_extensionmanager_tools_extensionmanagerextensionmanager%5Bformat%5D=json&tx_extensionmanager_tools_extensionmanagerextensionmanager%5BforceUpdateCheck%5D=1&_=1462394179165
which returns
{
updated: false,
lastUpdateTime: "2012-08-29 00:00:00",
timeSinceLastUpdate: "4 yrs",
errorMessage: "Could not access remote resource https://repositories.typo3.org/mirrors.xml.gz."
}
whereas the call in 8.0
http://localhost:88/typo3_80/typo3/index.php?M=tools_ExtensionmanagerExtensionmanager&moduleToken=727ecba1b956442feaafbb51df42de67f1fb8078&tx_extensionmanager_tools_extensionmanagerextensionmanager%5Baction%5D=updateExtensionListFromTer&tx_extensionmanager_tools_extensionmanagerextensionmanager%5Bcontroller%5D=UpdateFromTer&tx_extensionmanager_tools_extensionmanagerextensionmanager%5Bformat%5D=json&_=1462395251111
returns a positive update message.
If you need some logs or testing a fix let me know.
Best regards
Eckard.
Updated by Philipp Gampe over 8 years ago
- Status changed from New to Needs Feedback
Most likely you have a broken cUrl
php extension configuration. Please make sure that either the cUrl
php extension works or is disabled on your system.
Updated by Nicole Cordes over 8 years ago
Are you really using the same PHP version for the different releases? Mostly the problem (on Windows systems) is that is not allowed to connect to https site if no curl.cainfo in php.ini is defined.
Updated by Eckard Gehrke over 8 years ago
Hi Philipp, hi Nicole,
I do have the very same XAMPP 705 (default with add on ) installation where I have typo3 7.6 8.0 and 8.1 running.
I have switched off curl no change update works for 8.0 but not for 8.1.
I have googled and found what to set for curl.cainfo which is per default commented out and no path set.
curl.cainfo = C:\xampp705\perl\vendor\lib\Mozilla\CA\cacert.pem
With this settings the extension list is working now in all releases.
Eckard.
Updated by Eckard Gehrke over 8 years ago
Hence you can close for me the ticket, can't do it myself.
Updated by Wouter Wolters over 8 years ago
- Status changed from Needs Feedback to Closed
Closed as the reporter resolved the problem him self.