[Ohrrpgce] [ohrrpgce/ohrrpgce] Distribute Game broken due to HTTPS redirect (#1180)

Ralph Versteegen notifications at github.com
Sat Oct 17 01:18:32 PDT 2020


Downloading distrib files with wget/curl is broken on many systems (and all OHRRPGCE versions) because hamsterrepublic.com is now redirecting all http downloads to https. Downloading works for me on a recent Linux but wget.exe is broken on all Windows versions. Recent Win10 versions include curl.exe (which we fallback to when wget fails) but even using that to download doesn't work on some Win10 machines (works for me, not for Prifurin).

We include a very old support/wget.exe (version 1.8.2, from 2002) which doesn't support modern SSL. It prints `"Unable to establish SSL connection."` and returns errorcode 1. The wget.exe we provide supports Win95 and is only 247kB (I think it's [from here](http://gnuwin32.sourceforge.net/packages/wget.htm)). wget 1.19.4 can be had from [here](https://eternallybored.org/misc/wget/), though is unfortunately 3.7MB (1.7MB zipped). I don't know which Windows versions it supports, but it's statically linked.

Older curl versions return errorcode 35 and print `curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version`.

But even if we replace wget.exe with a new version, all previous releases of the OHRRPGCE are broken. To fix that I think the best thing to do is disable the HTTPS redirect. We probably need to upgrade wget.exe, but if that wget build doesn't support older Windows versions I'm against upgrading it.

James, could you disable the https redirect for http://hamsterrepublic.com/ohrrpgce/nightly/, http://hamsterrepublic.com/dl/, http://HamsterRepublic.com/ohrrpgce/support/ and http://hamsterrepublic.com/ohrrpgce/thirdparty ? I think these are all the paths which Custom downloads from.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20201017/041391eb/attachment.html>


More information about the Ohrrpgce mailing list