Skip to content

DHI registry login flakes on connection reset without retry #1852

Open

Description

@astral-automations-bot

Run: https://github.com/astral-sh/uv/actions/runs/35146172115
Job: https://github.com/astral-sh/uv/actions/runs/35146172115/job/104966364330

Workflow: CI
Job: build-docker / build python:3.12-trixie,python3.12-trixie
Runner: github-ubuntu-24.04-x86_64-4
Attempt: 1

The job failed in the dhi.io docker/login-action step before Dockerfile generation:

Error response from daemon: Get "https://dhi.io/v2/": ... read: connection reset by peer

The preceding Docker Hub login succeeded, and the other executed extra-image matrix jobs passed, including the DHI image jobs. Draft astral-sh#21763 changes resolver source handling and does not modify the Docker workflow, so this isolated reset is unrelated to the proposed change.

The workflow invokes the pinned login action once per matrix job without recovery. A bounded retry for transient registry-login failures would prevent an isolated dhi.io reset from failing an otherwise viable image job.

The run also contains independent deterministic failures attributable to astral-sh#21763: all five cargo-test jobs report extensive resolver snapshot mismatches, and Hawk reports two unreachable public APIs. Those failures do not explain the registry reset.

Related: #1358 tracks Depot status-stream failures after authentication, #1371 tracks invalid Depot temporary tokens, and astral-sh#18247 introduced the DHI images. None tracks dhi.io login connection resets.

Activity

  1. added
    internal:ci-flake
    on Sep 16, 2026
  2. astral-automations-bot commented on Sep 17, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/35279444459

    Another sample occurred in CI attempt 1 at https://github.com/astral-sh/uv/actions/runs/35279444459/job/105401205326, affecting build-docker / build python:3.9-slim-trixie,python3.9-trixie-slim on Ubuntu x86_64. The shared extra-image setup attempted the DHI login even though this matrix entry used a non-DHI base image.

  3. astral-automations-bot commented on Sep 24, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/36057959613

    Another sample occurred in CI attempt 1 at https://github.com/astral-sh/uv/actions/runs/36057959613/job/107834378202, affecting the Python 3.13 Alpine 3.23 image job on Ubuntu 24.04 x86_64. This time the dhi.io token request timed out awaiting headers rather than resetting the connection; concurrent DHI logins succeeded.

  4. astral-automations-bot commented on Sep 26, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/36206503072

    Another sample occurred in CI attempt 1 at https://github.com/astral-sh/uv/actions/runs/36206503072/job/108305991446, affecting the Alpine 3.23 DHI image job on Ubuntu 24.04 x86_64. Docker Hub login succeeded before the dhi.io registry connection was reset.

  5. astral-automations-bot commented on Oct 2, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/37067151942

    Another sample occurred in CI attempt 1 at https://github.com/astral-sh/uv/actions/runs/37067151942/job/111041017479, affecting the dhi.io Python 3.13 image job on Ubuntu 24.04 x86_64. Docker Hub login succeeded, but the subsequent dhi.io token request was reset; the other six DHI matrix jobs succeeded.

  6. astral-automations-bot commented on Oct 19, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/39269685881

    Attempt 1 adds an HTTP 401 variant to #1852: build-docker / build dhi.io/debian-base:trixie-debian13,trixie-dhi,debian-dhi failed on Ubuntu 24.04 x86_64 with 'login attempt to https://dhi.io/v2/ failed with status: 401 Unauthorized'. Docker Hub login succeeded, and all six other DHI image jobs authenticated successfully with the same configuration. Unlike earlier reset/timeout samples, this returned an explicit authorization response; its underlying cause remains unknown. Job: https://github.com/astral-sh/uv/actions/runs/39269685881/job/118123196245

  7. astral-automations-bot commented on Oct 26, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/40361266917

    CI attempt 1 adds the non-DHI Alpine 3.23 image job on Ubuntu 24.04 x86_64: https://github.com/astral-sh/uv/actions/runs/40361266917/job/121713895560. Its shared setup failed logging in to dhi.io with 'connection reset by peer' after Docker Hub login succeeded; all seven DHI image jobs passed.

  8. astral-automations-bot commented on Oct 30, 2026

    @astral-automations-bot
    Author

    Another workflow run encountered this failure: https://github.com/astral-sh/uv/actions/runs/41137674262

    CI attempt 1 adds an HTTP 503 login variant to #1852: build-docker / build python:3.12-slim-trixie,python3.12-trixie-slim failed on Ubuntu 24.04 x86_64 with 'Get "https://dhi.io/v2/": received unexpected HTTP status: 503 Service Unavailable'. Shared setup attempted DHI login for this non-DHI image; Docker Hub login and all seven DHI image jobs succeeded. Job: https://github.com/astral-sh/uv/actions/runs/41137674262/job/124347778411

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    internal:ci-flake

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions