Seems to have broken like 8 weeks ago.
tools.slf@tools-sgebastion-08:~/SecureLinkFixer$ php maintenance/fetchList.php Warning: file_get_contents(https://hg.mozilla.org/mozilla-central/atom-log/tip/security/manager/ssl/nsSTSPreloadList.inc): failed to open stream: HTTP request failed! in /mnt/nfs/labstore-secondary-tools-project/slf/SecureLinkFixer/includes/ListFetcher.php on line 59 Call Stack: 0.0010 395504 1. {main}() /mnt/nfs/labstore-secondary-tools-project/slf/SecureLinkFixer/maintenance/fetchList.php:0 0.0088 415336 2. MediaWiki\SecureLinkFixer\main() /mnt/nfs/labstore-secondary-tools-project/slf/SecureLinkFixer/maintenance/fetchList.php:45 0.0089 415712 3. MediaWiki\SecureLinkFixer\ListFetcher->getLatestInfo() /mnt/nfs/labstore-secondary-tools-project/slf/SecureLinkFixer/maintenance/fetchList.php:39 0.0089 415712 4. file_get_contents() /mnt/nfs/labstore-secondary-tools-project/slf/SecureLinkFixer/includes/ListFetcher.php:59 Fatal error: Uncaught RuntimeException: Unable to parse revision id/updated date for HSTS preload list in /mnt/nfs/labstore-secondary-tools-project/slf/SecureLinkFixer/includes/ListFetcher.php on line 63 RuntimeException: Unable to parse revision id/updated date for HSTS preload list in /mnt/nfs/labstore-secondary-tools-project/slf/SecureLinkFixer/includes/ListFetcher.php on line 63 Call Stack: 0.0010 395504 1. {main}() /mnt/nfs/labstore-secondary-tools-project/slf/SecureLinkFixer/maintenance/fetchList.php:0 0.0088 415336 2. MediaWiki\SecureLinkFixer\main() /mnt/nfs/labstore-secondary-tools-project/slf/SecureLinkFixer/maintenance/fetchList.php:45 0.0089 415712 3. MediaWiki\SecureLinkFixer\ListFetcher->getLatestInfo() /mnt/nfs/labstore-secondary-tools-project/slf/SecureLinkFixer/maintenance/fetchList.php:39
If I run that file_get_contents locally, it works fine. Using curl from Toolforge also works fine.