How to Troubleshoot the error Pulling image "harness/ci-addon:1.14.19" Failed to pull image or You have reached your pull rate limit

This article will help you with how to Troubleshoot the error Pulling image “harness/ci-addon:1.14.19” Failed to pull an image or You have reached your pull rate limit

The error message will be something like this in your delegate logs or pipeline execution logs:

Pulling image “harness/ci-addon:1.14.19”
Failed to pull image “harness/ci-addon:1.14.19”: rpc error: code = Unknown desc = failed to pull and unpack image “docker.io/harness/ci-addon:1.14.19”: failed to copy: httpReadSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/harness/ci-addon/manifests/sha256:82bc765c69c01040b430788990848aecda3e72d87ab7036fab9d2af1bea69ba9: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: Docker Hub Rate Limiting - Docker
Error: ErrImagePull

  • You will end up with this error when you use the Harness connector to DockerHub and the connector uses anonymous in Authentication.

  • If that is the case, Dockerhub has a rate limit for anonymous users, and you are probably hitting it.

  • The solution is to use a user in the connector (any Dockerhub user will do).

  • Authenticated users have no rate limit to pull from Dockerhub, which should solve your problem.

  • For anonymous users, the rate limit is set to 100 pulls per 6 hours per IP address. For Authenticated users, it is 200 pulls per 6-hour period. Users with a paid Docker subscription get up to 5000 pulls per day.

You can find more information on What is the download rate limit on Docker Hub here: Download rate limit | Docker Documentation

3 Likes