[bug #68031] wget exits with success on "416 Requested Range Not Satisfiable" on retry after initial failure
Sam James <[email protected]> Sat, 7 Feb 2026 20:25:02 -0500 (EST)
| Newsgroups | gmane.comp.web.wget.general |
|---|---|
| Message-ID | <[email protected]> |
--8323329-1714636915-1770513902=:3161494
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline
URL:=0A <https://savannah.gnu.org/bugs/?68031>=0A=0A Summa=
ry: wget exits with success on "416 Requested Range Not=0ASatisfiable" on r=
etry after initial failure=0A Group: GNU Wget=0A =
Submitter: thesamesam=0A Submitted: Sun 08 Feb 2026 01:=
24:57 AM UTC=0A Category: Program Logic=0A Se=
verity: 3 - Normal=0A Priority: 5 - Normal=0A =
Status: None=0A Privacy: Public=0A Assigned =
to: None=0A Originator Name:=0A Originator Email:=0A =
Open/Closed: Open=0A Discussion Lock: Unlocked=0A =
Release: None=0A Operating System: None=0A Reproducibili=
ty: None=0A Fixed Release: None=0A Planned Release: None=
=0A Regression: None=0A Work Required: None=0A =
Patch Included: None=0A=0A=0A ______________________________________=
_________________=0A=0AFollow-up Comments:=0A=0A=0A------------------------=
-------------------------------=0ADate: Sun 08 Feb 2026 01:24:57 AM UTC By:=
Sam James <thesamesam>=0AWe had a report of a fetch failure with the follo=
wing log in our package=0Amanager (which defaults to calling wget):=0A=0A>>=
> Downloading 'http://distfiles.gentoo.org/distfiles/layout.conf'=0A--2026-=
02-06 22:39:05-- http://distfiles.gentoo.org/distfiles/layout.conf=0AResol=
ving distfiles.gentoo.org... 185.76.11.120, 185.76.11.111, 185.76.11.66,=0A=
...=0AConnecting to distfiles.gentoo.org|185.76.11.120|:80... connected.=0A=
HTTP request sent, awaiting response... 200 OK=0ALength: 38 [text/plain]=0A=
Saving to:=0A=E2=80=98/var/cache/distfiles/.layout.conf.distfiles.gentoo.or=
g.__download__=E2=80=99=0A=0A 0K =
100% 2,98M=3D0s=0A=0A2026-02-06 22:39:06 (2,98 MB/s) -=0A=
=E2=80=98/var/cache/distfiles/.layout.conf.distfiles.gentoo.org.__download_=
_=E2=80=99=0Asaved [38/38]=0A=0A>>> Downloading=0A>>> 'http://distfiles.gen=
too.org/distfiles/f0/lxml-6.0.2.gh.tar.gz'=0A--2026-02-06 22:39:06--=0Ahttp=
://distfiles.gentoo.org/distfiles/f0/lxml-6.0.2.gh.tar.gz=0AResolving distf=
iles.gentoo.org... 185.76.11.120, 185.76.11.111, 185.76.11.66,=0A...=0AConn=
ecting to distfiles.gentoo.org|185.76.11.120|:80... connected.=0AHTTP reque=
st sent, awaiting response... 200 OK=0ALength: 990107 (967K) [application/x=
-gzip]=0ASaving to: =E2=80=98/var/cache/distfiles/lxml-6.0.2.gh.tar.gz.__do=
wnload__=E2=80=99=0A=0A 0K .......... .......... .......... .......... =
.......... 5% 521K 2s=0A 50K .......... .......... .......... ........=
.. .......... 10% 1,08M 1s=0A 100K .......... .......... .......... .....=
..... .......... 15% 1,89M 1s=0A 150K .......... .......... .......... ..=
........ .......... 20% 2,25M 1s=0A 200K .......... .......... ..........=
.......... .......... 25% 3,45M 1s=0A 250K .......... .......... .......=
... .......... .......... 31% 4,08M 0s=0A 300K .......... .......... ....=
...... .......... .......... 36% 5,16M 0s=0A 350K .......... .......... .=
......... .......... .......... 41% 5,05M 0s=0A 400K .......... .........=
. .......... .......... .......... 46% 5,99M 0s=0A 450K .......... ......=
.... .......... .......... .......... 51% 4,20M 0s=0A 500K .......... ...=
....... .......... .......... .......... 56% 11,4M 0s=0A 550K .......... =
.......... .......... .......... .......... 62% 9,00M 0s=0A 600K ........=
.. ......... 64% 1,22M=3D0,3s=0A=0A2026-0=
2-06 22:39:06 (2,17 MB/s) - Read error at byte 634440/990107 (Connection=0A=
reset by peer). Retrying.=0A=0A--2026-02-06 22:39:07-- (try: 2)=0Ahttp://d=
istfiles.gentoo.org/distfiles/f0/lxml-6.0.2.gh.tar.gz=0AConnecting to distf=
iles.gentoo.org|185.76.11.120|:80... connected.=0AHTTP request sent, awaiti=
ng response... 416 Requested Range Not Satisfiable=0A=0A The file is alr=
eady fully retrieved; nothing to do.=0A=0A=0AThe first attempt fails (OK, f=
ine) but on the retry, we get Requested Range=0ANot Satisfiable, and don't =
recognise that we failed earlier, and exit w/=0Asuccess.=0A=0AThis gets cau=
ght by verification down the line but wget should exit with an=0Aerror inst=
ead in that case.=0A=0A=0A=0A=0A=0A=0A=0A ______________________________=
_________________________=0A=0AReply to this item at:=0A=0A <https://savan=
nah.gnu.org/bugs/?68031>=0A=0A_____________________________________________=
__=0AMessage sent via Savannah=0Ahttps://savannah.gnu.org/=0A
--8323329-1714636915-1770513902=:3161494
Content-Type: APPLICATION/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaYfl7gAKCRCqLAuaBUf3
TpqdAQCTgRJAjbFm8a09MpqQFno1OmneYSj85jP6Tvm92awETgD/cyAv17+CClwR
ZSC9TSQHEIyXXm1Snd99uHOpVmTGkAw=
=dapi
-----END PGP SIGNATURE-----
--8323329-1714636915-1770513902=:3161494--