Date: Tue, 17 Nov 2020 16:50:47 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 251216] fetch(1) not able to fetch file Message-ID: <bug-251216-227-pWs0gdAkBO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-251216-227@https.bugs.freebsd.org/bugzilla/> References: <bug-251216-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251216-227-pWs0gdAkBO>