setup-uv: Connect Timeout Error on GHE with v5.2.2

After the latest update (v5.2.1 → v5.2.2), we experience some issues in one of our GH Actions pipelines running on GHE.

For some reason, a Connect Timeout Error occurs, when uv is about to get installed:

##[debug]ID=ubuntu
##[debug]ID_LIKE=debian
##[debug]Running JavaScript Action with default external tool: node20
Error: Connect Timeout Error
##[debug]Node Action run completed with exit code 1
##[debug]Finished: run
##[debug]Finishing: Setup Ubuntu Machine

Rolling back to v5.2.1 makes our pipeline work again.

Our settings are: enable-cache: true ignore-nothing-to-cache: true & a custom github-token

Is there anything I am missing? Thanks in advance for your help!

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 20

Commits related to this issue

Most upvoted comments

Could you please also test the branch always-fallback-if-token-invalid-no-ghes-url to make sure it works on your Gitea and GHES instances?

Working fine on Gitea šŸ‘šŸ½

Works on our side again with always-fallback-if-token-invalid-no-ghes-url! šŸš€

@dennis-m-e @PaarthShah I pushed new changed to always-fallback-if-token-invalid can you please try again?

I’m running into the same issue. Steps entry (occurs with and without enable-cache):

      - name: Install the latest version of uv
        uses: astral-sh/setup-uv@v5.3.0
        with:
          enable-cache: true

Debug logging:

Run astral-sh/setup-uv@v5.3.0
/usr/bin/ldd --version
ldd (Debian GLIBC 2.36-9+deb12u7) 2.36
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
##[debug]Trying to find required-version for uv in: pyproject.toml
##[debug]Resolving version: latest
##[debug]Getting latest version...
Error: Connect Timeout Error
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Install the latest version of uv