Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2022 02:30:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 261350] https://docs.freebsd.org chunks content and so breaks downloads with fetch
Message-ID:  <bug-261350-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261350

            Bug ID: 261350
           Summary: https://docs.freebsd.org chunks content and so breaks
                    downloads with fetch
           Product: Documentation
           Version: Latest
          Hardware: Any
               URL: https://docs.freebsd.org/pgpkeys/pgpkeys.txt
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Website
          Assignee: doc@FreeBSD.org
          Reporter: tech-lists@zyxst.net

Hi,

The symptoms of this appear to be like the problem described in=20
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223065

It seems https://docs.freebsd.org is chunking content needlessly. This resu=
lts
in  broken downloads with fetch.
The problem is intermittent. It's not happening right now, it was happening=
 a
lot yesterday though.

So if one follows the instructions to patch in, for example,
https://www.freebsd.org/security/advisories/FreeBSD-EN-22:06.libalias.asc

one first has to get the latest pgpkeys.txt to verify the patch.

But this happened when trying to get the keys:

[...]
# fetch https://docs.freebsd.org/pgpkeys/pgpkeys.txt
pgpkeys.txt                                     4% of 5579 kB  530 kBps=20=
=20
  00s
fetch: pgpkeys.txt appears to be truncated: 265358/5713861 bytes

# fetch https://docs.freebsd.org/pgpkeys/pgpkeys.txt
pgpkeys.txt                                     3% of 5579 kB  500 kBps=20=
=20
  28s
fetch: pgpkeys.txt appears to be truncated: 195386/5713861 bytes

# fetch https://docs.freebsd.org/pgpkeys/pgpkeys.txt
pgpkeys.txt                                     4% of 5579 kB  589 kBps=20=
=20
  21s
fetch: pgpkeys.txt appears to be truncated: 252506/5713861 bytes
[...]

one has to auto-resume with a utility like wget:

[...]
# wget https://docs.freebsd.org/pgpkeys/pgpkeys.txt
--2022-01-19 16:59:41--  https://docs.freebsd.org/pgpkeys/pgpkeys.txt
Resolving docs.freebsd.org (docs.freebsd.org)... 96.47.72.106,=20
2610:1c1:1:606c::50:3
Connecting to docs.freebsd.org (docs.freebsd.org)|96.47.72.106|:443...=20
connected.
HTTP request sent, awaiting response... 200 OK
Length: 5713861 (5.4M) [text/plain]
Saving to: =E2=80=98pgpkeys.txt=E2=80=99

pgpkeys.txt                        3%[=3D>=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                      ] 210.33K   551KB/s    in 0.4s=20=20=20=20

2022-01-19 16:59:42 (551 KB/s) - Connection closed at byte 215378.=20
Retrying.

--2022-01-19 16:59:43--  (try: 2)=20=20
https://docs.freebsd.org/pgpkeys/pgpkeys.txt
Connecting to docs.freebsd.org (docs.freebsd.org)|96.47.72.106|:443...=20
connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 5713861 (5.4M), 5498483 (5.2M) remaining [text/plain]
Saving to: =E2=80=98pgpkeys.txt=E2=80=99

pgpkeys.txt                        7%[++=3D>=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                      ] 422.84K   609KB/s    in 0.3s=20=20=20=20

2022-01-19 16:59:43 (609 KB/s) - Connection closed at byte 432986.=20
Retrying.

--2022-01-19 16:59:45--  (try: 3)=20=20
https://docs.freebsd.org/pgpkeys/pgpkeys.txt
Connecting to docs.freebsd.org (docs.freebsd.org)|96.47.72.106|:443...=20
connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 5713861 (5.4M), 5280875 (5.0M) remaining [text/plain]
Saving to: =E2=80=98pgpkeys.txt=E2=80=99

pgpkeys.txt                       11%[++++=3D>=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                      ] 639.38K   509KB/s    in 0.4s=20=20=20=20

2022-01-19 16:59:46 (509 KB/s) - Connection closed at byte 654726.=20
Retrying.

--2022-01-19 16:59:49--  (try: 4)=20=20
https://docs.freebsd.org/pgpkeys/pgpkeys.txt
Connecting to docs.freebsd.org (docs.freebsd.org)|96.47.72.106|:443...=20
connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 5713861 (5.4M), 5059135 (4.8M) remaining [text/plain]
Saving to: =E2=80=98pgpkeys.txt=E2=80=99

pgpkeys.txt=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20
100%[++++++=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D>]   5.45M=20=20
4.06MB/s    in 1.2s=20=20=20=20

2022-01-19 16:59:51 (4.06 MB/s) - =E2=80=98pgpkeys.txt=E2=80=99 saved [5713=
861/5713861]
[...]

--=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-261350-9>