[Bug 1928100] [NEW] TLS handshake is fatal, not transient - hence not retried

Julian Andres Klode 1928100 at bugs.launchpad.net
Tue May 11 14:19:38 UTC 2021


Public bug reported:

[Impact]
TLS handshakes are reported as fatal errors rather than transient errors like other connection errors on unencrypted connections. This seems wrong - a server may just be spinning up or down and fail during the handshake, and prevents retrying such downloads

[Test plan]

A test case has been added to the integration test suite that ensures
handshake errors are retried upon configuration.

[Where problems could occur]
Transient errors do not cause an error exit from apt update, so scripts relying on errors from TLS handshakes in such situations will fail.

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1928100

Title:
  TLS handshake is fatal, not transient - hence not retried

Status in apt package in Ubuntu:
  New

Bug description:
  [Impact]
  TLS handshakes are reported as fatal errors rather than transient errors like other connection errors on unencrypted connections. This seems wrong - a server may just be spinning up or down and fail during the handshake, and prevents retrying such downloads

  [Test plan]

  A test case has been added to the integration test suite that ensures
  handshake errors are retried upon configuration.

  [Where problems could occur]
  Transient errors do not cause an error exit from apt update, so scripts relying on errors from TLS handshakes in such situations will fail.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1928100/+subscriptions



More information about the foundations-bugs mailing list