Hi, today I noticed that accessing snapshots.d.o via apt-cacher-ng from bookworm (3.7.4-1) is broken. TL;DR: we need a backport of this fix (bug #1074404) to bookworm and bullseye.
Technical details: The reason is a change in how files are served by the snapshot mirror (via a redirect, example given below). A quick comparison with the apt- cacher-ng version from sid showed that it is fixed there. I then bisected the git repo and found that c1ea0fff92 seems to be the only missing piece to make apt-cacher-ng work on bookworm again. I was only able to observe this behavior on the mirror node "185.213.153.170" / snapshot-mlm-01.debian.org. Can we please get a backport of this fix, so snapshot.d.o can be accessed via the cache again? The strict rate-limiting makes it impossible to access the mirror directly. Example (check the Location response): curl -vvv http://snapshot.debian.org/archive/debian/20240702T082400Z/dists/bookworm/Release * Trying 185.213.153.170:80... * Connected to snapshot.debian.org (185.213.153.170) port 80 (#0) > GET /archive/debian/20240702T082400Z/dists/bookworm/Release HTTP/1.1 > Host: snapshot.debian.org > User-Agent: curl/7.88.1 > Accept: */* > < HTTP/1.1 302 FOUND < Date: Thu, 31 Oct 2024 16:04:37 GMT < Server: Apache < X-Content-Type-Options: nosniff < X-Frame-Options: sameorigin < Referrer-Policy: no-referrer < X-Xss-Protection: 1 < Permissions-Policy: interest-cohort=() < Content-Length: 279 < Location: /file/29f81c7a3136f4aed7ff6e28198f51f00b37d6c3 Best regards, Felix Moessbauer -- Siemens AG, Technology Linux Expert Center
