#993286 apt-cacher-ng: Fail to fetch data from Debian repo at dl.google.com

Package:
apt-cacher-ng
Source:
apt-cacher-ng
Description:
caching proxy server for software repositories
Submitter:
丰
Date:
2021-08-31 09:33:03 UTC
Severity:
normal
#993286#5
Date:
2021-08-30 05:02:08 UTC
From:
To:
Dear Maintainer, on the apt-cacher-ng proxy server, I have seen many errors of
apt-cacher-ng failing to fetch data from dl.google.com .

Is it because Google is using object storage to serve their data?

   * What led up to the situation?
    apt update via an apt-cacher-ng proxy

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
    Just run **apt update** on a client with apt-cacher-ng configured

   * What was the outcome of this action?
    Err:24 http://dl.google.com/linux/chrome/deb stable InRelease
     Connection failed [IP: 10.0.0.102 3142]
    ...
    W: Failed to fetch
http://dl.google.com/linux/chrome/deb/dists/stable/InRelease
Connection failed
    [IP: 10.0.0.102 3142]

    If I try fetching the content with curl, the result is like the following:

    curl -I http://dl.google.com/linux/chrome/deb/stable/Release
    HTTP/1.1 404 Not Found
    ...

    curl -I http://dl.google.com/linux/chrome/deb/dists/stable/InRelease
    HTTP/1.1 200 OK
    ...
    Content-Length: 1811
    In /var/log/apt-cacher-ng/apt-cacher.err , there are quite a few
    lines like the following:

    Mon Aug 30 10:55:10 2021|Failed to move stale item
dl.google.com/linux/chrome/deb/dists/stable/InRelease out of the way:
No such file or directory

   * What outcome did you expect instead?
   Get:24 http://dl.google.com/linux/chrome/deb stable InRelease [xxx kB]

#993286#10
Date:
2021-08-31 08:30:14 UTC
From:
To:

#993286#15
Date:
2021-08-31 08:25:27 UTC
From:
To:
I've got a similar problem, using repositories on deb.debian,org.
'apt update' fails to obtain the InRelease files from acng:

:
Ign:18 http://HTTPS///pkg.jenkins.io/debian binary/ InRelease
Hit:19 http://HTTPS///pkg.jenkins.io/debian binary/ Release
Err:21 http://deb.debian.org/debian bullseye InRelease
   Connection failed [IP: 172.19.96.126 3142]
Err:22 http://deb.debian.org/debian bullseye-updates InRelease
   Connection failed [IP: 172.19.96.126 3142]
Err:23 http://deb.debian.org/debian bullseye-proposed-updates InRelease
   Connection failed [IP: 172.19.96.126 3142]
Fetched 9383 B in 3min 0s (52 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
:

/var/log/apt-cacher-ng/apt-cacher.err shows

Tue Aug 31 10:16:45 2021|Failed to move stale item debrep/dists/buster/InRelease out of the way: No such file or directory
Tue Aug 31 10:16:51 2021|Failed to move stale item debrep/dists/bullseye/InRelease out of the way: No such file or directory
Tue Aug 31 10:17:45 2021|Failed to move stale item debrep/dists/buster-updates/InRelease out of the way: No such file or directory
Tue Aug 31 10:17:51 2021|Failed to move stale item debrep/dists/bullseye-updates/InRelease out of the way: No such file or directory
Tue Aug 31 10:18:11 2021|Failed to move stale item debrep/dists/bullseye/InRelease out of the way: No such file or directory
Tue Aug 31 10:18:45 2021|Failed to move stale item debrep/dists/buster-proposed-updates/InRelease out of the way: No such file or directory
Tue Aug 31 10:18:51 2021|Failed to move stale item debrep/dists/bullseye-proposed-updates/InRelease out of the way: No such file or directory


Regards
Harri

#993286#20
Date:
2021-08-31 09:30:28 UTC
From:
To:
% host deb.debian.org
deb.debian.org is an alias for debian.map.fastlydns.net.
debian.map.fastlydns.net has address 151.101.14.132
debian.map.fastlydns.net has IPv6 address 2a04:4e42:3::644

% host ftp2.de.debian.org
ftp2.de.debian.org is an alias for ftp.halifax.rwth-aachen.de.
ftp.halifax.rwth-aachen.de has address 137.226.34.46
ftp.halifax.rwth-aachen.de has IPv6 address 2a00:8a60:e012:a00::21