[GH-ISSUE #1983] Login failed: https://registry-1.docker.io/v2/catthehacker/ubuntu/manifests/act-latest #950

Closed
opened 2026-03-01 21:47:40 +03:00 by kerem · 4 comments
Owner

Originally created by @renklus on GitHub (Aug 24, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1983

Bug report info

act version:            0.2.49
GOOS:                   windows
GOARCH:                 amd64
NumCPU:                 4
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
        \\.\pipe\docker_engine(broken)
Config files:
        C:\Users\lukas\.actrc:
                -P ubuntu-latest=catthehacker/ubuntu:act-latest
                -P ubuntu-22.04=catthehacker/ubuntu:act-22.04
                -P ubuntu-20.04=catthehacker/ubuntu:act-20.04
                -P ubuntu-18.04=catthehacker/ubuntu:act-18.04
Build info:
        Go version:            go1.20.6
        Module path:           github.com/nektos/act
        Main version:          (devel)
        Main path:             github.com/nektos/act
        Main checksum:
        Build settings:
                -buildmode:           exe
                -compiler:            gc
                -ldflags:             -s -w -X main.version=0.2.49 -X main.commit=d5d854854651c151ecd914bb6e2e370e0057929a -X main.date=2023-08-01T02:21:56Z -X main.builtBy=goreleaser
                CGO_ENABLED:          0
                GOARCH:               amd64
                GOOS:                 windows
                GOAMD64:              v1
                vcs:                  git
                vcs.revision:         d5d854854651c151ecd914bb6e2e370e0057929a
                vcs.time:             2023-08-01T02:21:38Z
                vcs.modified:         false
Docker Engine:
        Engine version:        24.0.5
        Engine runtime:        runc
        Cgroup version:        1
        Cgroup driver:         cgroupfs
        Storage driver:        overlay2
        Registry URI:          https://index.docker.io/v1/
        OS:                    Docker Desktop
        OS type:               linux
        OS version:
        OS arch:               x86_64
        OS kernel:             5.15.90.1-microsoft-standard-WSL2
        OS CPU:                4
        OS memory:             7888 MB
        Security options:
                name=seccomp,profile=unconfined

Command used with act

act push

Describe issue

When act pulls the docker image it tries to use credentials. They are not valid. act then retries without credentials and this works.

When I use act multiple times in quick succession the failed login seems to hit a rate limit. act now does not retry without credentials and exits.

No response

Workflow content

name: "Dummy Workflow"
on:
    push:
        tags:
          - "**"
jobs:
    dummy-job:
        name: "Dummy Job"
        runs-on: "ubuntu-latest"
        steps:
          - name: "Dummy Step"
            run: echo "Hello World"

Relevant log output

Output for first few runs:

[Dummy Workflow/Dummy Job] 🚀  Start image=catthehacker/ubuntu:act-latest
[Dummy Workflow/Dummy Job]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true
[Dummy Workflow/Dummy Job] [DEBUG]   🐳  docker pull catthehacker/ubuntu:act-latest
[Dummy Workflow/Dummy Job] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:act-latest' ()
[Dummy Workflow/Dummy Job] using DockerAuthConfig authentication for docker pull
[Dummy Workflow/Dummy Job] pulling image 'docker.io/catthehacker/ubuntu:act-latest' () failed with credentials Error response from daemon: Head "https://registry-1.docker.io/v2/catthehacker/ubuntu/manifests/act-latest": unauthorized: incorrect username or password retrying without them, please check for stale docker config files
time="2023-08-24T01:52:08+01:00" level=debug msg="Saving notices etag=b72f7fb5-429a-4948-a468-f9dad91ff249"
time="2023-08-24T01:52:08+01:00" level=debug msg="No new notices"
[Dummy Workflow/Dummy Job] [DEBUG] Pulling from catthehacker/ubuntu :: act-latest
[Dummy Workflow/Dummy Job] [DEBUG] Digest: sha256:6d3a4260acda04196766c084491a8f2111e28941ecdebe926b92df87cbf64402 ::
[Dummy Workflow/Dummy Job] [DEBUG] Status: Image is up to date for catthehacker/ubuntu:act-latest ::
[Dummy Workflow/Dummy Job]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]

act continues successfully after above output

Output when running multiple times in quick succession:

[Dummy Workflow/Dummy Job] 🚀  Start image=catthehacker/ubuntu:act-latest
[Dummy Workflow/Dummy Job]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true
[Dummy Workflow/Dummy Job] [DEBUG]   🐳  docker pull catthehacker/ubuntu:act-latest
[Dummy Workflow/Dummy Job] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:act-latest' ()
[Dummy Workflow/Dummy Job] using DockerAuthConfig authentication for docker pull
Error: Error response from daemon: Head "https://registry-1.docker.io/v2/catthehacker/ubuntu/manifests/act-latest": toomanyrequests: too many failed login attempts for username or IP address

act exits after above output

Additional information

Workaround:

docker pull image=catthehacker/ubuntu:act-latest
act --pull=false
Originally created by @renklus on GitHub (Aug 24, 2023). Original GitHub issue: https://github.com/nektos/act/issues/1983 ### Bug report info ```plain text act version: 0.2.49 GOOS: windows GOARCH: amd64 NumCPU: 4 Docker host: DOCKER_HOST environment variable is not set Sockets found: \\.\pipe\docker_engine(broken) Config files: C:\Users\lukas\.actrc: -P ubuntu-latest=catthehacker/ubuntu:act-latest -P ubuntu-22.04=catthehacker/ubuntu:act-22.04 -P ubuntu-20.04=catthehacker/ubuntu:act-20.04 -P ubuntu-18.04=catthehacker/ubuntu:act-18.04 Build info: Go version: go1.20.6 Module path: github.com/nektos/act Main version: (devel) Main path: github.com/nektos/act Main checksum: Build settings: -buildmode: exe -compiler: gc -ldflags: -s -w -X main.version=0.2.49 -X main.commit=d5d854854651c151ecd914bb6e2e370e0057929a -X main.date=2023-08-01T02:21:56Z -X main.builtBy=goreleaser CGO_ENABLED: 0 GOARCH: amd64 GOOS: windows GOAMD64: v1 vcs: git vcs.revision: d5d854854651c151ecd914bb6e2e370e0057929a vcs.time: 2023-08-01T02:21:38Z vcs.modified: false Docker Engine: Engine version: 24.0.5 Engine runtime: runc Cgroup version: 1 Cgroup driver: cgroupfs Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Docker Desktop OS type: linux OS version: OS arch: x86_64 OS kernel: 5.15.90.1-microsoft-standard-WSL2 OS CPU: 4 OS memory: 7888 MB Security options: name=seccomp,profile=unconfined ``` ### Command used with act ```sh act push ``` ### Describe issue When act pulls the docker image it tries to use credentials. They are not valid. act then retries without credentials and this works. When I use act multiple times in quick succession the failed login seems to hit a rate limit. act now does not retry without credentials and exits. ### Link to GitHub repository _No response_ ### Workflow content ```yml name: "Dummy Workflow" on: push: tags: - "**" jobs: dummy-job: name: "Dummy Job" runs-on: "ubuntu-latest" steps: - name: "Dummy Step" run: echo "Hello World" ``` ### Relevant log output **Output for first few runs:** ```sh [Dummy Workflow/Dummy Job] 🚀 Start image=catthehacker/ubuntu:act-latest [Dummy Workflow/Dummy Job] 🐳 docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true [Dummy Workflow/Dummy Job] [DEBUG] 🐳 docker pull catthehacker/ubuntu:act-latest [Dummy Workflow/Dummy Job] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:act-latest' () [Dummy Workflow/Dummy Job] using DockerAuthConfig authentication for docker pull [Dummy Workflow/Dummy Job] pulling image 'docker.io/catthehacker/ubuntu:act-latest' () failed with credentials Error response from daemon: Head "https://registry-1.docker.io/v2/catthehacker/ubuntu/manifests/act-latest": unauthorized: incorrect username or password retrying without them, please check for stale docker config files time="2023-08-24T01:52:08+01:00" level=debug msg="Saving notices etag=b72f7fb5-429a-4948-a468-f9dad91ff249" time="2023-08-24T01:52:08+01:00" level=debug msg="No new notices" [Dummy Workflow/Dummy Job] [DEBUG] Pulling from catthehacker/ubuntu :: act-latest [Dummy Workflow/Dummy Job] [DEBUG] Digest: sha256:6d3a4260acda04196766c084491a8f2111e28941ecdebe926b92df87cbf64402 :: [Dummy Workflow/Dummy Job] [DEBUG] Status: Image is up to date for catthehacker/ubuntu:act-latest :: [Dummy Workflow/Dummy Job] 🐳 docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] ``` _act continues successfully after above output_ **Output when running multiple times in quick succession:** ```sh [Dummy Workflow/Dummy Job] 🚀 Start image=catthehacker/ubuntu:act-latest [Dummy Workflow/Dummy Job] 🐳 docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true [Dummy Workflow/Dummy Job] [DEBUG] 🐳 docker pull catthehacker/ubuntu:act-latest [Dummy Workflow/Dummy Job] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:act-latest' () [Dummy Workflow/Dummy Job] using DockerAuthConfig authentication for docker pull Error: Error response from daemon: Head "https://registry-1.docker.io/v2/catthehacker/ubuntu/manifests/act-latest": toomanyrequests: too many failed login attempts for username or IP address ``` _act exits after above output_ ### Additional information Workaround: ```sh docker pull image=catthehacker/ubuntu:act-latest act --pull=false ```
kerem 2026-03-01 21:47:40 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 21, 2024):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:1955451274 --> @github-actions[bot] commented on GitHub (Feb 21, 2024): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@mikicho commented on GitHub (Feb 22, 2024):

Se still have this. no stale

<!-- gh-comment-id:1959776382 --> @mikicho commented on GitHub (Feb 22, 2024): Se still have this. no stale
Author
Owner

@oldium commented on GitHub (May 8, 2024):

I am facing the same issue under WSL2. Workaround is to either remove ~/.docker/config.json, or simply rename the credsStore key inside, so that it is not found:

{
        "_credsStore": "desktop.exe"
}

This survives until the Docker Desktop is restarted.

<!-- gh-comment-id:2100731367 --> @oldium commented on GitHub (May 8, 2024): I am facing the same issue under WSL2. Workaround is to either remove `~/.docker/config.json`, or simply rename the `credsStore` key inside, so that it is not found: ``` { "_credsStore": "desktop.exe" } ``` This survives until the Docker Desktop is restarted.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 5, 2024):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:2455960788 --> @github-actions[bot] commented on GitHub (Nov 5, 2024): Issue is stale and will be closed in 14 days unless there is new activity
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#950
No description provided.