Bug #27751
closedEM: Scheduler task 'Update Extension List' does not respect mirror selection
100%
Description
I have to deal with a TYPO3 website behind a firewall which basically restrict all outbound connections. I had to ask the administrator to allow a few IPs to be able to use the extension manager and retrieve updates.
So far I decided to restrict the mirror to the main TER repository and then figured out a few other IPs are needed.
List of mirrors¶
http://repositories.typo3.org/mirrors.xml.gz
$ host typo3.org typo3.org has address 217.29.33.147 typo3.org has address 217.29.33.146
Other connections¶
$ host mirror-typo3.vinehosting.com mirror-typo3.vinehosting.com has address 98.100.0.240 $ host ter.mittwald.de ter.mittwald.de has address 188.94.255.111 $ host ter.cablan.net ter.cablan.net has address 67.212.89.2
Launching the update task fails with:
Cannot contact ter.sitedesign.dk
What is strange is that mirror-typo3.vinehosting.com is already one of the mirror and was used although I restricted to the main TER repository only.
Updated by Xavier Perseguers over 13 years ago
Problem found in sysext/em/classes/index.php in method getMirrorURL().
$this->MOD_SETTINGS['selectedMirror'] contains 'typo3.org' (for me). This information is used to restrict the mirror to use by
$mirrors[$this->MOD_SETTINGS['selectedMirror']]
The problem is that $mirrors is indexed by id (0, 1, ...) and not by key ('typo3.org', ...)
Updated by Xavier Perseguers over 13 years ago
- Assignee set to Xavier Perseguers
Check if this has been fixed by subtasks
Updated by Xavier Perseguers about 13 years ago
- Category set to Extension Manager
Updated by Xavier Perseguers about 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Cannot reproduce (tested on a website with a firewall restricted access to mirrors)