DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 49M836aD2776447 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=ryLycsFC X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0387B3857374 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1729584185; bh=bDENwEcPS5UQDUAJFpAciJtmGdOPblk6xDYdFR1gfak=; 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=ryLycsFC/3bVIxDozfhPn1ioLEa9Yg4vECgUxon3dRIZlOZwWff7aKGBXcv0P7qTz k9XDv0wUoo5r4Xwf0tdBN9GBCIL2Tvxm0t8PJm50evts9y0A5YENSRb9ApavxBqK0u e55VW1fl33a/2OfeJIaupE6oGYG4DI+8JjlzyPkU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0D6C63857346 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0D6C63857346 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729584122; cv=none; b=vobPlL8K4f3QDQvWMvxIBJc1l/6j+c4mSK8bn/VrTh5cza41+aad64YLbSWaZeJYCY3KlufvMHX9b0qbindKVMZEg04pnnCNMePLIsE4akV2kzzPzmMjKLitqusMeNv1RFWn/nDD4c+rQ014Z/ZCvTTlMGU5rPew/aXNRBlR268= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729584122; c=relaxed/simple; bh=ACIc4htO4qLtM7twYzVAvxY56jUIs5R3LNx5cmzKHw8=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=ne+CUID8NKkEGv1W60iUeicQgJFl4tqhKfMJE7nt+Og2V5CFpNHpwBbD+Gc0Q5T8eV3HssoSbshU20rBArM5IwaPoAd0m732LpFtHTNSgXdKLA+Yp5oXgta40gARrhTsgVN+5+ziU2uD6AH2cQmCBxcMvfr0SGNk7nvnjATgFe8= ARC-Authentication-Results: i=1; server2.sourceware.org X-Gm-Message-State: AOJu0Yz5mBE17BvC8lR5ln1XZBKY0CBdAFQ5pH/lb5IaKDM3pgzpMAVG ZzElaxhv53t0mbFcBBIgfh/XlNBtHK1+JKzh/pYdY2UqNPiMMNNUO35vFbXJnSvNV/D5tZNTbpB b+8te1SGY/7vdmwGQQwIir/+jmVM= X-Google-Smtp-Source: AGHT+IFbDujpLyPUsKXutthHZjKmY/EDICkM0j2HZANkrzxBn1Gk0yi9Kg0Rm09VoDIQXOZEBeKnIyPLFvA70MUvXmg= X-Received: by 2002:a05:6a00:1405:b0:71e:5033:c6 with SMTP id d2e1a72fcca58-71ea3333d86mr8456746b3a.5.1729584108463; Tue, 22 Oct 2024 01:01:48 -0700 (PDT) MIME-Version: 1.0 References: <52556213-2914-449d-a719-e1a0826f6ba1 AT dronecode DOT org DOT uk> In-Reply-To: Date: Tue, 22 Oct 2024 10:01:37 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Installer freezes in windows-2022 GitHub Action To: cygwin AT cygwin DOT com, Brian Inglis X-CMAE-Envelope: MS4xfHlZhCBj6rL9+MM4wRdHAAYaHVd0b6xg5/n4GMkyQaYiDZtbDHZbzU0pC8M8fHIm5A75D2zxukP7AGMHjnD3EHOn0ezO0wq3a3NxUSyO82V8NbWtW8+i GjWZfJM2sofOqYfVLUmEIh5P5w7MO3WKrM31qNZnjHC2iZSLR8Gh9R7TwVXVLAVb96H8O4ZzzTzur29SiWn1TRLwTIs//d3dXDc= X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_20, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, KAM_EXEURI, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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 AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Michele Locati via Cygwin Reply-To: Michele Locati Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" Il giorno mar 22 ott 2024 alle ore 06:28 Brian Inglis via Cygwin ha scritto: > I typically use wget -N -nv for downloads, without any issues for decades, on > any service. Hello Brian, thanks for the reply! It seems the problem occurs when we require the same URL from the same IP multiple times. This occurs for example in GitHub Actions, where the cygwin server sees just one or few IPs for the whole GitHub system). You can "simulate" it by using curl (or wget or any tool you prefer) by forcing the download of the same file multiple times. Consider for example the following script: #!/bin/bash set -o errexit set -o nounset set -o pipefail url=https://cygwin.com/setup-x86_64.exe filename="$(basename "$url")" printf 'Downloading %s multiple times (press Ctrl+C to stop)\n' "$url" while :; do wget -N -nv $url size=$(cat "$filename" | wc -c) rm "$filename" printf 'Actual size: %s\n\n' $size sleep 1 done Please remark that I used wget like you wrote, with the difference that I delete the downloaded file before performing another wget call. This "simulates" different wget calls from different PCs, but seen by cygwin.com always with the same IP. I always have results similar to the following: Downloading https://cygwin.com/setup-x86_64.exe multiple times (press Ctrl+C to stop) 2024-10-22 09:52:10 URL:https://cygwin.com/setup-x86_64.exe [1407507/1407507] -> "setup-x86_64.exe" [1] Actual size: 1407507 2024-10-22 09:52:14 URL:https://cygwin.com/setup-x86_64.exe [1407507/1407507] -> "setup-x86_64.exe" [1] Actual size: 1407507 2024-10-22 09:52:16 URL:https://cygwin.com/setup-x86_64.exe [0/0] -> "setup-x86_64.exe" [1] Actual size: 0 2024-10-22 09:52:18 URL:https://cygwin.com/setup-x86_64.exe [0/0] -> "setup-x86_64.exe" [1] Actual size: 0 2024-10-22 09:52:20 URL:https://cygwin.com/setup-x86_64.exe [0/0] -> "setup-x86_64.exe" [1] Actual size: 0 2024-10-22 09:52:22 URL:https://cygwin.com/setup-x86_64.exe [0/0] -> "setup-x86_64.exe" [1] Actual size: 0 2024-10-22 09:52:24 URL:https://cygwin.com/setup-x86_64.exe [0/0] -> "setup-x86_64.exe" [1] Actual size: 0 2024-10-22 09:52:26 URL:https://cygwin.com/setup-x86_64.exe [0/0] -> "setup-x86_64.exe" [1] Actual size: 0 ^C I tried the script above on: - WSL from my home PC - WSL from my office PC - bare metal Linux located in my office LAN - DigitalOcean droplet located in New York - DigitalOcean droplet located in Amsterdam - VPS hosted on Aruba located in Italy - Amazon Lightsail located in Frankfurt And I always have similar results... Ciao, 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