Bug #80369
closedcURL option for IP4 needed
0%
Description
The Extension Manager could not resolve https://repositories.typo3.org/mirrors.xml.gz. "curlUse=1" was set in Install Tool. When I tried my shell with "$ curl https://repositories.typo3.org/mirrors.xml.gz", the URL was perfectly resolvable.
I found out that adding
curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
to
/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 2.473 solved the problem. So I guess TYPO3 is missing a configuration option for IP4 here?
I am using TYPO3 7.6.16 with PHP Version 7.0.15-0ubuntu0.16.04.4
Updated by Riccardo De Contardi about 6 years ago
- Status changed from New to Closed
Sorry for the late answer, but we close this one for now:
The problem you experience can be either a misconfiguration of the server you try to connect to (for example: the DNS shows it has an IPv6 address, but the server isn't configured to listen to that address; the connection will time out), or it's a misconfiguration of your server where TYPO3 is running.
We tend to exclude the first hypothesis as more people would have complained.
We're sorry, but we cannot accept the solution you proposed, as will restrict the connection to IPv4 only and will fail when IPv6-only servers will be available.
If you experience the issue again, please reopen the issue or open a new one with a reference to this one and more information about your configuration and how to reproduce the problem. Thank you!