[10:42:36] Hi. What is the recommended way to pre-generate thumbnails when using the 404 handler? Is it using https://github.com/samwilson/RenderThumbnails - this seems in beta/non official though [12:18:28] Hallo, dear people. I have a small mediawiki site. Somehow InstantCommons does not work there. Maybe you can help me? I will turn on the debug information and show you the case. Thank you. [12:46:28] RSPS: what version of MediaWiki? I'm guessing it's due to the WMF's User-Agent policy, see https://www.mediawiki.org/wiki/InstantCommons#Set_custom_user_agent for more info [12:47:38] MediaWiki 1.30.2, under PHP 5.6.24. [12:48:07] Thank you for the link, will check soon. [12:49:06] yeah, wow, that's ancient, I'd recommend upgrading ASAP; per https://www.mediawiki.org/wiki/Version_lifecycle 1.30 series reached its end-of-life back in 2019 [12:50:39] (and I'm fairly confident that PHP 5.6 hasn't been supported in a while either, given that everything's on PHP 8+ these days) [12:51:30] 1.30 is the latest that works with PHP 5.6. [12:51:31] PHP 5.6 is the latest that works with Windows XP. [12:51:31] This is why I cannot update. [12:52:34] whoa, definitely sounds like Windows XP is your problem, as much as I and many others loved that OS back in the day, it's been EOL since...2014? or something like that. i.e. over a decade ago [13:02:49] Now I added the user agent settings, and nothing changes. Looks like the trouble is somewhere else. [13:48:21] RSPS: that is a very dangerous system to keep online [13:49:26] Cant you install a newer php anyway? [14:05:40] Well, we all are well acquainted with business sites, where business owner pays for updates. But let's imagine a site that earns no money, and has no business underneath, and cannot pay for updates. I'm thinking about changing from XP to some Linux, but this means about two weeks of time, an amount hard to find. So, let us state that the server [14:05:41] cannot be moved forward. [14:06:06] PHP 5.6 is the latest that works with Windows XP, pity to say. [14:17:17] sure you cant run a newer? [14:17:32] or a docker/podman or vm option? [14:20:29] VM will hardly work on 2 GB of RAM. [14:25:39] :o [14:25:44] Using that old PHP will likely have old openssl... So it wouldn't be a surprise if you're having cipher issues.. [14:25:50] I think XP should do TLS 1.2 [14:27:19] you can stick caddy infront of it to handle tls [14:28:20] I'm not sure MITM-ing the server for its requests to commons really helps [14:30:59] Well, the site on this machine does not interact with users, so does not need HTTPS. [14:34:02] it still needs to be able to speak it [14:34:21] you can't access images from commons using HTTP [14:38:03] Okey, so I see the trouble is about OpenSSL and HTTPS interaction with Commons. Thank you. Will investigate this way. [14:38:36] It's a guess [14:39:45] I may show the debug data. [14:40:40] Looks like you are right, because of: [14:41:03] PhpHttpRequest: error opening connection: fopen(): SSL operation failed with code 1. [14:41:04] OpenSSL Error messages: [14:41:04] error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed [14:41:05] [http] HTTP request failed due to unknown error. [14:42:20] Looks like I need to update root certificates.