[Bug 2121151] Re: keyserver.ubuntu.com sporadically unreachable
Sam Darwin
2121151 at bugs.launchpad.net
Thu Oct 9 14:20:38 UTC 2025
The problem is still happening.
What I'd recommend: install at least one other keyserver.ubuntu.com in
California, for the North American market. Use geolocation DNS, anycast,
or similar methods, to route traffic based on region. The idea is to
avoid the hop across the Atlantic Ocean.
Another possibility is a CDN (Cloudflare, Fastly, GCP Cloud CDN, etc)
with points-of-presence everywhere. But Ubuntu might prefer in-house
solutions rather than outside vendors.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2121151
Title:
keyserver.ubuntu.com sporadically unreachable
Status in Ubuntu:
Triaged
Status in apt package in Ubuntu:
Invalid
Bug description:
Hi,
We are running CI tests to support open-source code repositories, and somewhat frequently those will fail with this error:
curl: (7) Failed to connect to keyserver.ubuntu.com port 80 after 4002 ms: Couldn't connect to server
gpg: no valid OpenPGP data found.
Another separate set of log output that sometimes occurs:
>>>>> APT: REPOSITORIES...
Adding repository ppa:ubuntu-toolchain-r/test
VERSION_CODENAME is jammy
curl: (7) Couldn't connect to server
gpg: no valid OpenPGP data found.
The above errors might be different problems, or the same one.
Out of 40 tests, maybe one will get this error. The test suite shows
red instead of green. This continues to happen day after day rather
than being a one-time issue.
The CI servers are hosted Github Actions or self-hosted AWS servers.
This is reminiscent of https://bugs.launchpad.net/ubuntu/+bug/435193
"keyserver.ubuntu.com down all time - (110) Connection timed out",
from many years ago.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2121151/+subscriptions
More information about the foundations-bugs
mailing list