Gypsum icon indicating copy to clipboard operation
Gypsum copied to clipboard

update.pike not downloading client

Open gesslar opened this issue 4 years ago • 7 comments

Receiving the following when running update.pike

Downloading latest code...
%% Failed to download latest code
%% Failed to download latest code
%% Failed to download latest code

I can reach it via my browser, however...

https://codeload.github.com/Rosuav/Gypsum/zip/master

gesslar avatar Oct 24 '20 20:10 gesslar

I was able to manually download the file and run it.

gesslar avatar Oct 24 '20 20:10 gesslar

Windows is becoming harder and harder for me to support. I don't know what the issues are, and I suspect it's to do with SSL certificates (since Pike relies on the root certificates provided by Microsoft - it doesn't ship its own, the way browsers do, since that requires constant updates).

One "solution" would be to try to fetch this via an unencrypted connection. Don't know if that's even possible. Another would be to just give up on having automatic updates on Windows. A third would be to actually ask everyone to do things properly and install git.

Windows is a pain.

Rosuav avatar Oct 24 '20 21:10 Rosuav

Sounds like a job for containers!

gesslar avatar Oct 25 '20 00:10 gesslar

If people want to run Gypsum in a container, sure, but they don't help me to develop it, since I don't want to bundle certs with it. The problem is that Microsoft isn't shipping a viable set of root certs. I've seen the Python requests module deal with this too, and it's not an easy thing to fix. Microsoft, pls fix.

Rosuav avatar Oct 25 '20 00:10 Rosuav

I suppose a next best would be if I could guarantee to be able to find a curl or equivalent that could do the downloading for me, but I have no idea what I can actually depend on.

Rosuav avatar Oct 25 '20 01:10 Rosuav

https://4sysops.com/archives/use-powershell-to-download-a-file-with-http-https-and-ftp/

gesslar avatar Oct 25 '20 01:10 gesslar

Wait wait wait.... Microsoft is shipping wget??

Rosuav avatar Oct 25 '20 01:10 Rosuav