From owner-freebsd-bugs@freebsd.org Tue Nov 17 16:50:47 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F0B0C468DB4 for ; Tue, 17 Nov 2020 16:50:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CbBlW6JZwz4s7t for ; Tue, 17 Nov 2020 16:50:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D86E4468DB3; Tue, 17 Nov 2020 16:50:47 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D8341469015 for ; Tue, 17 Nov 2020 16:50:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbBlW5f92z4sPJ for ; Tue, 17 Nov 2020 16:50:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B4BE6232A1 for ; Tue, 17 Nov 2020 16:50:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0AHGolxM037645 for ; Tue, 17 Nov 2020 16:50:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0AHGolc1037644 for bugs@FreeBSD.org; Tue, 17 Nov 2020 16:50:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 251216] fetch(1) not able to fetch file Date: Tue, 17 Nov 2020 16:50:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2020 16:50:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251216 --- Comment #3 from vermaden@interia.pl --- Just tried again, same results: % fetch https://github.com/amir/sctd/archive/0.2.0.tar.gz=20 fetch: https://github.com/amir/sctd/archive/0.2.0.tar.gz: Moved Temporarily % uname -a FreeBSD w520.local 12.2-RELEASE FreeBSD 12.2-RELEASE r366954 GENERIC amd64 % freebsd-version -u 12.2-RELEASE % freebsd-version -k 12.2-RELEASE % host github.com github.com has address 140.82.121.3 github.com mail is handled by 1 aspmx.l.google.com. github.com mail is handled by 10 alt3.aspmx.l.google.com. github.com mail is handled by 10 alt4.aspmx.l.google.com. github.com mail is handled by 5 alt1.aspmx.l.google.com. github.com mail is handled by 5 alt2.aspmx.l.google.com. % dog !$ dog github.com A github.com. 54s 140.82.121.3 Its just that fetch(1) has a problem with HTTP 302 redirection. When you see the wget(1) output then after redirection it is downloaded from https://codeload.github.com/amir/sctd/tar.gz/0.2.0 location and this one wo= rks even with fetch(1).=20 % fetch https://codeload.github.com/amir/sctd/tar.gz/0.2.0 fetch: https://codeload.github.com/amir/sctd/tar.gz/0.2.0: size of remote f= ile is not known 0.2.0 8629 B 10 MBps = 00s % ls -l 0.2.0 0.2.0.tar.gz -rw-r--r-- 1 vermaden vermaden 8629 2020-11-17 17:49 0.2.0 -rw-r--r-- 1 vermaden vermaden 8629 2020-11-17 14:31 0.2.0.tar.gz % file 0.2.0 0.2.0.tar.gz 0.2.0: gzip compressed data, from Unix, original size modulo 2^32 40= 960 0.2.0.tar.gz: gzip compressed data, from Unix, original size modulo 2^32 40= 960 --=20 You are receiving this mail because: You are the assignee for the bug.=