DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 49LHbsLZ2448373
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=ihIDzAIb
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 72A643858C98
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1729532273;
	bh=VdtnGa6ALKuYMxNMc6d5tP/3HrP7cewHChxrOknp0jg=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=ihIDzAIbfd8I9Q7bryFG1Lu0ZBn+CWeER3/BSYi6zaZ0LiFne5QBhh7hZdnxbhF4q
	 sCWpBWQmeUAuwZx3Ij0DxHwXaUxTjBOLQWVVXcCQRI9J+B1lFiX5CDpHPCnnJbybr4
	 5KPg1nvJVNQUT0+ULiakdg3o1oseAKW3gvNH1lFs=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ECDC23858D20
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org ECDC23858D20
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729532220; cv=none;
 b=qpexry94+rkKqWwLkYVLGIqE1bN+CW2f+OLhSxqB7verliwvZVYsyTpaK/Iesf74JV1+VGGjykEuvXonS4k1NRuVtudKq10NB86l5y8qf6dMQtCgmEHyrScCFn9i8px5hFMQWU6cm67iAUa3j1WbnrUFYIyfZLjJoNAYf43/avg=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1729532220; c=relaxed/simple;
 bh=g/W/VQebcPFsgFic5cGQRR0pZ2hJbGeCgfG1Crl66mI=;
 h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
 b=kJsAzYpgL1HnYLnuLaiQPpTVitHBWNuwCo9tRkB2ksuakdovPASVo3AZnA79Q6f/osTrAfmVlYr4RDfKfZ8pnqMNbp2rvnrUUPTPoDHE5LsrIE8LKYsOAViwYp7tdS19gWUrzPlT+9HQk4SHCaUPPoaOpR8oxYd42Gj0EmYTgeY=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Gm-Message-State: AOJu0Yw6nr8DIqPQetYLsLIEuJLBxVvKlF/SI+bl5OnlsU2T2+I1PPCN
 JDmSxhZNN/GOGNUxG1HEx4N3pKfxSlEN7rltrhHS9baLD9vydyCg6g3ASHuqIkuXdFmV0E3pth+
 dLUwnDA1YhgB6WDJuAiihHni99p8=
X-Google-Smtp-Source: AGHT+IGQV1V7f2jhk2Yt1pDG0fItpqBcxnQTzzHMt8WxSlOsWzS6BK2l1TsCA1ultPcNTaJzvsCFKN+hPSWEtNyaG3M=
X-Received: by 2002:a05:6a20:244b:b0:1cf:52f5:dc with SMTP id
 adf61e73a8af0-1d92c4bb1f1mr8089302637.1.1729532214720; Mon, 21 Oct 2024
 10:36:54 -0700 (PDT)
MIME-Version: 1.0
References: <CAGen01ickv9cenzeT3SkV9buugEh5CSGW-JWKkWfHUQUsCoVxg@mail.gmail.com>
 <52556213-2914-449d-a719-e1a0826f6ba1@dronecode.org.uk>
 <CAGen01iESMAAzWL+hdp2nNpCBHiD0fhsuK-Fhw6yyFDSzV388A@mail.gmail.com>
 <CAGen01gf91LXQrLp32DWbVFkAHn2A92WqjQOmwRm3LMtoZR2Nw@mail.gmail.com>
 <d98dc0e8-d6be-47c6-af8f-fae93fd04bbf@SystematicSW.ab.ca>
In-Reply-To: <d98dc0e8-d6be-47c6-af8f-fae93fd04bbf@SystematicSW.ab.ca>
Date: Mon, 21 Oct 2024 19:36:43 +0200
X-Gmail-Original-Message-ID: <CAGen01j1FUAA0XAhH1ygEC30Bjvq2DPaWKhJ5CSoabh7trcSHg@mail.gmail.com>
Message-ID: <CAGen01j1FUAA0XAhH1ygEC30Bjvq2DPaWKhJ5CSoabh7trcSHg@mail.gmail.com>
Subject: Re: Installer freezes in windows-2022 GitHub Action
To: cygwin@cygwin.com, Brian Inglis <brian.inglis@systematicsw.ab.ca>
X-CMAE-Envelope: MS4xfOTq0fk4oRAERIv9MyzMtVnCyg3YgVzvxsWuqpMMai3xKlhVLBybrtyEnErOJ/7rW4fOkUWddCl1ka8Cxrl4sNscupJqcYKIixThWRq8T1vNtCYorV3E
 DmHyOWvri+y1UWdIuEqXK1mCDN/dKm07TSoxm8PALpGGRHZ5wIk4A2JcYarf9AH+2wNl+jr7s+Z39JGinHGJr1fV6qeTtJLbAg0=
X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIMWL_WL_MED,
 DKIM_SIGNED, DKIM_VALID, KAM_EXEURI, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,
 RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Michele Locati via Cygwin <cygwin@cygwin.com>
Reply-To: Michele Locati <michele@locati.it>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>

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

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
