Ubuntu Version
Ubuntu 24.04 LTS
Desktop Environment (if applicable)
GNOME
Problem Description
Possible security.ubuntu.com infrastructure issue — TLS timeouts on specific backend IPs
System
Ubuntu 24.04 LTS (Noble)
AMD64
Ubuntu Pro enabled (personal/free entitlement)
IPv6 is intentionally disabled at my router; IPv4 is the only active IP protocol
APT repositories are configured to use HTTPS
Problem
I am experiencing intermittent apt update failures when accessing security.ubuntu.com.
The failure is:
Err:8 Index of /ubuntu noble-security InRelease
Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: 185.125.190.83 443]
W: Failed to fetch https://security.ubuntu.com/ubuntu/dists/noble-security/InRelease
Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: 185.125.190.83 443]
A subsequent attempt may select 185.125.190.82 instead and produce the same error.
Other Ubuntu repositories, including archive.ubuntu.com and the ESM repositories, work normally.
Investigation
I checked DNS resolution:
$ getent ahosts security.ubuntu.com
185.125.190.81
185.125.190.82
185.125.190.83
91.189.91.81
91.189.91.82
91.189.91.83
91.189.92.22
91.189.92.23
91.189.92.24
…
I then tested the individual IPv4 addresses directly using curl --resolve, so that each backend could be tested independently.
The results were:
185.125.190.81 → HTTP 200
185.125.190.82 → SSL connection timeout
185.125.190.83 → SSL connection timeout
91.189.91.81 → HTTP 200
91.189.91.82 → HTTP 200
91.189.91.83 → HTTP 200
91.189.92.22 → HTTP 200
91.189.92.23 → HTTP 200
91.189.92.24 → HTTP 200
For example:
===== 185.125.190.81 =====
attempt 1: HTTP 200 | connect 0.044951s | total 1.141561s
attempt 2: HTTP 200 | connect 0.040735s | total 1.017670s
attempt 3: HTTP 200 | connect 0.042198s | total 1.267111s
===== 185.125.190.82 =====
curl: (28) SSL connection timeout
attempt 1: HTTP 000 | connect 0.043240s | total 5.002164s
curl: (28) SSL connection timeout
attempt 2: HTTP 000 | connect 0.043791s | total 5.002499s
curl: (28) SSL connection timeout
attempt 3: HTTP 000 | connect 0.043791s | total 5.002776s
===== 185.125.190.83 =====
curl: (28) SSL connection timeout
attempt 1: HTTP 000 | connect 0.041845s | total 5.002159s
curl: (28) SSL connection timeout
attempt 2: HTTP 000 | connect 0.040128s | total 5.002344s
curl: (28) SSL connection timeout
attempt 3: HTTP 000 | connect 0.040128s | total 5.002611s
The important characteristic is that the TCP connection itself succeeds very quickly (~40 ms), but TLS does not complete on .82 and .83.
For comparison, a direct HTTPS request to .23 completed normally:
- Connected to security.ubuntu.com (91.189.92.23) port 443
- SSL connection using TLSv1.3
…
< HTTP/1.1 200 OK
So this does not appear to be a general inability to reach security.ubuntu.com, a DNS problem, a CA/certificate problem, or a general HTTPS problem.
Possible correlation with a previous Livepatch issue
A few days ago I experienced a very similar problem with Ubuntu Livepatch.
At that time, Livepatch would not update and appeared to fail with TLS/HTTPS connectivity problems involving only certain Canonical/Ubuntu endpoint addresses. After extensive troubleshooting, the problem appeared to be upstream rather than a local Ubuntu configuration problem, and Livepatch subsequently began working without a significant local configuration change.
The current APT problem has a remarkably similar signature:
TCP connection succeeds
TLS handshake times out
only certain Ubuntu/Canonical IP addresses appear affected
other addresses for the same service work normally
I therefore wonder whether there is currently an infrastructure, routing, peering, or backend-server problem affecting some Canonical endpoints.
Current status
The local package system itself appears healthy:
$ dpkg --audit
returns no output.
There are no held packages:
$ apt-mark showhold
returns no output.
The only remaining upgrade is:
power-profiles-daemon 0.21-1ubuntu2 → 0.21-1ubuntu3
which is currently shown by APT as:
0.21-1ubuntu3 500 (phased 20%)
so I understand that this is unrelated and is being deferred normally due to phased updates.
The actual package upgrades performed before the reboot completed successfully.
Question
Could someone from the Ubuntu/Canonical community confirm whether 185.125.190.82 and 185.125.190.83 are known to have connectivity/TLS problems, or whether there is currently any known issue affecting these security.ubuntu.com backend addresses?
I am particularly interested in whether this could be related to the similar Livepatch connectivity problem I experienced a few days ago.
I have not changed my APT configuration or attempted to work around the problem yet, because I would prefer to preserve the reproducible behavior for diagnosis.