Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Conversation

@iliapolo
Copy link
Contributor

@iliapolo iliapolo commented Apr 9, 2025

We are seeing sporadic throttling errors:

 💻 docker run --net=bridge --rm -v /tmp:/tmp -v /home/runner:/home/runner -v /tmp/cdk-integ-0ffcgkzpab:/tmp/cdk-integ-0ffcgkzpab -e HOME -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN -w /tmp/cdk-integ-0ffcgkzpab --cap-add=NET_ADMIN public.ecr.aws/ubuntu/ubuntu:24.04_stable /tmp/cdk-integ-0ffcgkzpab/script.sh
  Unable to find image 'public.ecr.aws/ubuntu/ubuntu:24.04_stable' locally
  24.04_stable: Pulling from ubuntu/ubuntu
  docker: toomanyrequests: Rate exceeded.
  See 'docker run --help'.
  'docker run --net=bridge --rm -v /tmp:/tmp -v /home/runner:/home/runner -v /tmp/cdk-integ-0ffcgkzpab:/tmp/cdk-integ-0ffcgkzpab -e HOME -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN -w /tmp/cdk-integ-0ffcgkzpab --cap-add=NET_ADMIN public.ecr.aws/ubuntu/ubuntu:24.04_stable /tmp/cdk-integ-0ffcgkzpab/script.sh' exited with error code 125.Error: 'docker run --net=bridge --rm -v /tmp:/tmp -v /home/runner:/home/runner -v /tmp/cdk-integ-0ffcgkzpab:/tmp/cdk-integ-0ffcgkzpab -e HOME -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN -w /tmp/cdk-integ-0ffcgkzpab --cap-add=NET_ADMIN public.ecr.aws/ubuntu/ubuntu:24.04_stable /tmp/cdk-integ-0ffcgkzpab/script.sh' exited with error code 125.
      at ChildProcess.<anonymous> (/home/runner/work/aws-cdk-cli/aws-cdk-cli/lib/shell.ts:109:22)
      at ChildProcess.emit (node:events:524:28)
      at maybeClose (node:internal/child_process:1104:16)
      at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
  ::endgroup::

Login to ECR to increase our throttling limits.

@iliapolo iliapolo temporarily deployed to integ-approval April 9, 2025 08:55 — with GitHub Actions Inactive
@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue Apr 10, 2025
Merged via the queue into main with commit 0716633 Apr 10, 2025
16 checks passed
@aws-cdk-automation aws-cdk-automation deleted the epolon/ecr-throttling branch April 10, 2025 19:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants