Getting hit by rate limits against maven central, even though very conservative settings #34778
-
How are you running Renovate?A Mend.io-hosted app If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.No response Please tell us more about your question or problemI started getting ratelimit failures against maven central, even though i have very conservative settings. Part of the config, with main settings and rate limiting, and the whole can be found here: https://github.com/diggsweden/cose-lib/blob/main/renovate.json {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"osvVulnerabilityAlerts": true,
"dependencyDashboardOSVVulnerabilitySummary": "all",
"extends": [
"config:best-practices",
"workarounds:all",
"security:openssf-scorecard",
":configMigration",
":dependencyDashboard",
":gitSignOff",
":maintainLockFilesWeekly",
":automergeMinor",
":semanticCommits",
"npm:unpublishSafe",
":rebaseStalePrs",
":semanticCommitTypeAll(chore)",
"mergeConfidence:all-badges"
],
"commitMessageLowerCase": "auto",
"minimumReleaseAge": "4 days",
"labels": [
"dependencies"
],
"vulnerabilityAlerts": {
"labels": [
"security",
"dependencies"
]
},
"hostRules": [
{
"hostType": "maven",
"matchHost": "https://repo.maven.apache.org/maven2/",
"concurrentRequestLimit": 1,
"maxRequestsPerSecond": 2
}
], Logs (if relevant)Logs"response": {
"statusCode": 429,
"statusMessage": "Your IP: 35.169.49.18 has hit the rate limit with Maven Central. Too many requests. Find out more in https://www.sonatype.com/blog/maven-central-and-the-tragedy-of-the-commons",
"body": "Your IP: 35.169.49.18 has hit the rate limit with Maven Central. Too many requests. Find out how to address this at https://www.sonatype.com/blog/maven-central-and-the-tragedy-of-the-commons", |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Is that IP address exclusively for your Renovate account, or belongs to your company and may be shared by other systems (developers, CI/CD, etc)? I don't recall seeing Maven rate limiting before - Mend's massive Renovate app doesn't get limited, and nor do I recall any other Renovate user. |
Beta Was this translation helpful? Give feedback.
-
I have reached out to the Maven Central team at Sonatype to ask for a temporary reprieve/lifting of rate limits for our fixed IPs. Although the Renovate service undoubtedly generates as lot of requests, it also caches them for all users so they'd see a 100-1000x increase if users were forced to churn and effectively "DDoS" instead. |
Beta Was this translation helpful? Give feedback.
I have reached out to the Maven Central team at Sonatype to ask for a temporary reprieve/lifting of rate limits for our fixed IPs. Although the Renovate service undoubtedly generates as lot of requests, it also caches them for all users so they'd see a 100-1000x increase if users were forced to churn and effectively "DDoS" instead.