Bug 257713 - fetch(1) fails to retrieve release files
Summary: fetch(1) fails to retrieve release files
Status: Closed Unable to Reproduce
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.2-STABLE
Hardware: amd64 Any
: --- Affects Some People
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-09 14:51 UTC by Brett Wynkoop
Modified: 2022-07-04 16:06 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brett Wynkoop 2021-08-09 14:51:24 UTC
root@prd4:/tmp # fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/12.2-RELEASE/base.txz
fetch: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/12.2-RELEASE/base.txz: Not Implemented
root@prd4:/tmp # wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/12.2-RELEASE/base.txz
--2021-08-09 03:02:51--  ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/12.2-RELEASE/base.txz
           => 'base.txz'
Resolving ftp.freebsd.org (ftp.freebsd.org)... 96.47.72.116, 2610:1c1:1:606c::15:0
Connecting to ftp.freebsd.org (ftp.freebsd.org)|96.47.72.116|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/FreeBSD/releases/amd64/amd64/12.2-RELEASE ... done.
==> SIZE base.txz ... 183296096
==> PASV ... done.    ==> RETR base.txz ... done.
Length: 183296096 (175M) (unauthoritative)

base.txz                        100%[=====================================================>] 174.80M   673KB/s    in 4m 17s  

2021-08-09 03:07:09 (696 KB/s) - 'base.txz' saved [183296096]


As you can see from the above fetch fails, but wget works.  This is a problem as fetch is used in the port ezjail and this breaks ezjail as well.
Comment 1 Michael Osipov 2021-08-14 21:14:44 UTC
Something is wrong with your fetch/libfetch:
root@bsd1srv:/usr/src
#  fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/12.2-RELEASE/base.txz
base.txz                                       25% of  174 MB 4842 kBps    29s^C
fetch: transfer interrupted

root@bsd1srv:/usr/src
# uname -a
FreeBSD bsd1srv.fritz.box 12.2-STABLE FreeBSD 12.2-STABLE GENERIC  amd64
Comment 2 Jason W. Bacon freebsd_committer freebsd_triage 2021-10-13 17:12:13 UTC
Something appears to be wrong with the download site.

fetch -Fpr (the default ports fetch command) consistently hangs.

fetch, fetch -r, and fetch -pr work intermittently.
Comment 3 Jason W. Bacon freebsd_committer freebsd_triage 2021-10-13 17:24:37 UTC
(In reply to Jason W. Bacon from comment #2)

Scratch that, wrong PR...
Comment 4 Fernando Apesteguía freebsd_committer freebsd_triage 2022-07-04 16:06:38 UTC
The 12.2 release is not in the ftp anymore. Another user stated he was unable to reproduce so am I with 12.3:

fernape@beastie:~$ fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/12.3-RELEASE/base.txz
base.txz                                               174 MB   27 MBps    07s
fernape@beastie:~$ 

Closing.

Feel free to reopen should you find this again.