Installer freezes in windows-2022 GitHub Action

Michele Locati michele@locati.it
Mon Oct 21 17:36:43 GMT 2024


Il giorno lun 21 ott 2024 alle ore 19:03 Brian Inglis via Cygwin
<cygwin@cygwin.com> ha scritto:
> > I think it was probably an issue caused by a malformed executable in a
> > mirror/CDN (which would explain why it worked sometimes and sometimes
> > not).
>
> That's kind of worrying, but also kind of typical of MS service expectations ;^>

The problem still persists: there's really something wrong in the
distribution of the installer...

Try running this posix script (I just tried it on a bare metal linux machine):


#!/bin/sh
set -o errexit
set -o nounset
url=https://cygwin.com/setup-x86_64.exe
printf 'Downloading %s multiple times (press Ctrl+C to stop)\n' "$url"
while :; do
    printf 'Downloading... '
    size=$(curl -s -o /dev/null -w '%{size_download}' "$url")
    printf 'done: %s bytes\n' $size
    sleep 1
done


Here's what I get:

Downloading https://cygwin.com/setup-x86_64.exe multiple times (press
Ctrl+C to stop)
Downloading... done: 1407507 bytes
Downloading... done: 1407507 bytes
Downloading... done: 0 bytes
Downloading... done: 0 bytes
Downloading... done: 0 bytes
Downloading... done: 0 bytes
Downloading... done: 0 bytes
Downloading... ^C

So, unless the file is served by a Microsoft service, I don't think MS
has anything to do with this issue...

Maybe there's some sort of protection from downloading the installer
multiple times from the same IP?
That would break big companies (who may have many PC internally but
just 1 public IP), as well as services like GitHub Actions (which may
have just a few of public IPs)....

That's really something that should be fixed...

--
Michele


More information about the Cygwin mailing list