Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Rate limit whith Pro Account #32382

Closed
wuast94 opened this issue Nov 7, 2024 · 3 comments
Closed

Docker Rate limit whith Pro Account #32382

wuast94 opened this issue Nov 7, 2024 · 3 comments
Labels
needs-discussion Issue requires a GitHub Discussion first priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others

Comments

@wuast94
Copy link

wuast94 commented Nov 7, 2024

Describe the proposed change(s).

I have a Docker pro account, the password is the pat token.
for some reason i run every time in a rate limit, but when i look at the usage on docker im far away of any limit.
was thinking about an IP rate limit thing but im running from an privte unshared IP.

log parts:

DEBUG: Using RE2 regex engine
DEBUG: Parsing configs
DEBUG: Checking for config file in /usr/src/app/config.js
DEBUG: File config
       "config": {
         "endpoint": "https://domain.tld/api/v1",
         "gitAuthor": "Renovatebot <renovatebot@wuast24.de>",
         "platform": "gitea",
         "token": "***********",
         "autodiscover": true,
         "optimizeForDisabled": true,
         "forkProcessing": "disabled",
         "dryRun": null,
         "binarySource": "install",
         "prConcurrentLimit": 0,
         "prHourlyLimit": 0,
         "hostRules": [
           {
             "hostType": "docker",
             "matchHost": "docker.io",
             "username": "wuast94",
             "password": "***********"
           },
           {"hostType": "github", "matchHost": "github.com", "token": "***********"}
         ]
       }
DEBUG: CLI config
       "config": {}
DEBUG: Env config
       "config": {"hostRules": [], "binarySource": "global"}
DEBUG: Combined config
       "config": {
         "endpoint": "https://domain.tld/api/v1",
         "gitAuthor": "Renovatebot <renovatebot@wuast24.de>",
         "platform": "gitea",
         "token": "***********",
         "autodiscover": true,
         "optimizeForDisabled": true,
         "forkProcessing": "disabled",
         "dryRun": null,
         "binarySource": "global",
         "prConcurrentLimit": 0,
         "prHourlyLimit": 0,
         "hostRules": [
           {
             "hostType": "docker",
             "matchHost": "docker.io",
             "username": "wuast94",
             "password": "***********"
           },
           {"hostType": "github", "matchHost": "github.com", "token": "***********"}
         ]
       }
DEBUG: Adding trailing slash to endpoint
DEBUG: Found valid git version: 2.47.0
DEBUG: Setting global hostRules
DEBUG: Adding password authentication for docker.io (hostType=docker) to hostRules
DEBUG: Adding token authentication for github.com (hostType=github) to hostRules
DEBUG: hostRules: authentication already set for domain.tld
DEBUG: Using queue: host=domain.tld, concurrency=16
DEBUG: Using configured gitAuthor (Renovatebot <renovatebot@wuast24.de>)
DEBUG: Adding token authentication for domain.tld (hostType=gitea) to hostRules
DEBUG: Using baseDir: /tmp/renovate
DEBUG: Using cacheDir: /tmp/renovate/cache
DEBUG: Initializing Renovate internal cache into /tmp/renovate/cache/renovate/renovate-cache-v1
DEBUG: Commits limit = null
DEBUG: Setting global hostRules
DEBUG: Adding password authentication for docker.io (hostType=docker) to hostRules
DEBUG: Adding token authentication for github.com (hostType=github) to hostRules
DEBUG: Adding token authentication for domain.tld (hostType=gitea) to hostRules
DEBUG: validatePresets()
DEBUG: Auto-discovering Gitea repositories
DEBUG: hostRules: applying Bearer authentication for domain.tld
DEBUG: Autodiscovered 2 repositories
 INFO: Autodiscovered repositories
       "length": 2,
       "repositories": ["renovatebot/renovate-config", "wuast94/swarm"]
DEBUG: Reinitializing hostRules for repo
DEBUG: Clearing hostRules
DEBUG: Adding password authentication for docker.io (hostType=docker) to hostRules
DEBUG: Adding token authentication for github.com (hostType=github) to hostRules
DEBUG: Adding token authentication for domain.tld (hostType=gitea) to hostRules
 INFO: Repository started (repository=renovatebot/renovate-config)
       "renovateVersion": "39.7.1"
.......
DEBUG: GET https://hub.docker.com/v2/repositories/openspeedtest/latest/tags?page_size=1000&ordering=last_updated = (code=ERR_NON_2XX_3XX_RESPONSE, statusCode=429 retryCount=0, duration=109) (repository=wuast94/swarm)
DEBUG: Retry-After: delay 1730960836 seconds exceeds maxRetryAfter 60 seconds for https://hub.docker.com/v2/repositories/openspeedtest/latest/tags?page_size=1000&ordering=last_updated (repository=wuast94/swarm)
DEBUG: Docker: error fetching data from DockerHub (repository=wuast94/swarm)
       "err": {
         "name": "HTTPError",
         "code": "ERR_NON_2XX_3XX_RESPONSE",
         "timings": {
           "start": 1730960776903,
           "socket": 1730960776904,
           "lookup": 1730960776904,
           "connect": 1730960776904,
           "secureConnect": 1730960776904,
           "upload": 1730960776905,
           "response": 1730960777012,
           "end": 1730960777012,
           "phases": {
             "wait": 1,
             "dns": 0,
             "tcp": 0,
             "tls": 0,
             "request": 1,
             "firstByte": 107,
             "download": 0,
             "total": 109
           }
         },
         "message": "Response code 429 (Too Many Requests)",
         "stack": "HTTPError: Response code 429 (Too Many Requests)\n    at Request.<anonymous> (/usr/local/renovate/node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/as-promise/index.js:118:42)\n    at processTicksAndRejections (node:internal/process/task_queues:105:5)",
         "options": {
           "headers": {
             "user-agent": "RenovateBot/39.7.1 (https://github.com/renovatebot/renovate)",
             "accept": "application/json",
             "accept-encoding": "gzip, deflate, br"
           },
           "url": "https://hub.docker.com/v2/repositories/openspeedtest/latest/tags?page_size=1000&ordering=last_updated",
           "hostType": "docker",
           "username": "",
           "password": "",
           "method": "GET",
           "http2": false
         },
         "response": {
           "statusCode": 429,
           "statusMessage": "Too Many Requests",
           "body": {"detail": "Rate limit exceeded", "error": false},
           "headers": {
             "date": "Thu, 07 Nov 2024 06:26:16 GMT",
             "content-type": "application/json",
             "transfer-encoding": "chunked",
             "x-ratelimit-limit": "180",
             "x-ratelimit-reset": "1730960836",
             "x-ratelimit-remaining": "-13",
             "x-ratelimit-ip": "79.200.179.109",
             "retry-after": "1730960836",
             "x-frame-options": "deny",
             "x-content-type-options": "nosniff",
             "x-xss-protection": "1; mode=block",
             "strict-transport-security": "max-age=31536000"
           },
           "httpVersion": "1.1",
           "retryCount": 0
         }
       }
@wuast94 wuast94 added needs-discussion Issue requires a GitHub Discussion first priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others labels Nov 7, 2024
Copy link
Contributor

github-actions bot commented Nov 7, 2024

Please create a GitHub Discussion instead of this issue.

Issues in this repository are for creation by Maintainers only - please create a GitHub Discussion instead. If needed, a Renovate maintainer will create an Issue after your Discussion been triaged and confirmed.

This Issue will now be closed and locked. We may later batch-delete this issue. This way we keep Issues actionable, and free of duplicates or wrong bug reports.

Thanks, the Renovate team

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2024
@rarkins
Copy link
Collaborator

rarkins commented Nov 7, 2024

@wuast94 this was never appropriate for an issue, and you should have not ignored the templates and clicked "Administrators only" either

@wuast94
Copy link
Author

wuast94 commented Nov 7, 2024

@rarkins true, misunderstood that administrators are maintainers and not people administrating a selfhosted renovate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-discussion Issue requires a GitHub Discussion first priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others
Projects
None yet
Development

No branches or pull requests

2 participants