googleapis / googleapis/google-cloud-java

Maven 429: Too many requests

Open
#14,171 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

```
17:00:17:803 [ERROR] The project com.google.cloud:google-cloud-core-parent:2.74.0 (/home/runner/work/google-cloud-java/google-cloud-java/sdk-platform-java/java-core/pom.xml) has 4 errors
17:00:17:803 [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: com.google.cloud:first-party-dependencies:pom:3.66.0 (absent): com.google.cloud:first-party-dependencies:pom:3.66.0 failed to transfer from https://repo1.maven.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-central has elapsed or updates are forced. Original error: Could not transfer artifact com.google.cloud:first-party-dependencies:pom:3.66.0 from/to maven-central (https://repo1.maven.org/maven2): status code: 429, reason phrase: Too Many Requests (429) @ com.google.cloud:google-cloud-shared-dependencies:3.66.0, /home/runner/work/google-cloud-java/google-cloud-java/sdk-platform-java/java-shared-dependencies/pom.xml, line 31, column 19 -> [Help 2]
17:00:17:803 [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: com.fasterxml.jackson:jackson-bom:pom:2.18.3 (absent): com.fasterxml.jackson:jackson-bom:pom:2.18.3 failed to transfer from https://repo1.maven.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-central has elapsed or updates are forced. Original error: Could not transfer artifact com.fasterxml.jackson:jackson-bom:pom:2.18.3 from/to maven-central (https://repo1.maven.org/maven2): status code: 429, reason phrase: Too Many Requests (429) @ com.google.cloud:third-party-dependencies:3.66.0, /home/runner/work/google-cloud-java/google-cloud-java/sdk-platform-java/java-shared-dependencies/third-party-dependencies/pom.xml, line 136, column 19 -> [Help 2]
17:00:17:803 [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: io.opentelemetry:opentelemetry-bom:pom:1.62.0 (absent): io.opentelemetry:opentelemetry-bom:pom:1.62.0 failed to transfer from https://repo1.maven.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-central has elapsed or updates are forced. Original error: Could not transfer artifact io.opentelemetry:opentelemetry-bom:pom:1.62.0 from/to maven-central (https://repo1.maven.org/maven2): status code: 429, reason phrase: Too Many Requests (429) @ com.google.cloud:third-party-dependencies:3.66.0, /home/runner/work/google-cloud-java/google-cloud-java/sdk-platform-java/java-shared-dependencies/third-party-dependencies/pom.xml, line 148, column 19 -> [Help 2]
17:00:17:803 [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: org.junit:junit-bom:pom:5.11.4 (absent): org.junit:junit-bom:pom:5.11.4 failed to transfer from https://repo1.maven.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-central has elapsed or updates are forced. Original error: Could not transfer artifact org.junit:junit-bom:pom:5.11.4 from/to maven-central (https://repo1.maven.org/maven2): status code: 429, reason phrase: Too Many Requests (429) @ com.google.cloud:third-party-dependencies:3.66.0, /home/runner/work/google-cloud-java/google-cloud-java/sdk-platform-java/java-shared-dependencies/third-party-dependencies/pom.xml, line 254, column 19 -> [Help 2]
17:00:17:803 [ERROR]
17:00:17:803 [ERROR] The project com.google.api:gapic-generator-java-bom:2.76.0 (/home/runner/work/google-cloud-java/google-cloud-java/sdk-platform-java/gapic-generator-java-bom/pom.xml) has 5 errors
17:00:17:803 [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: com.google.http-client:google-http-client-bom:pom:2.2.0 (absent): com.google.http-client:google-http-client-bom:pom:2.2.0 failed to transfer from https://repo1.maven.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-central has elapsed or updates are forced. Original error: Could not transfer artifact com.google.http-client:google-http-client-bom:pom:2.2.0 from/to maven-central (https://repo1.maven.org/maven2): status code: 429, reason phrase: Too Many Requests (429) @ line 53, column 19 -> [Help 2]
17:00:17:803 [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: com.google.guava:guava-bom:pom:33.6.0-jre (absent): com.google.guava:guava-bom:pom:33.6.0-jre failed to transfer from https://repo1.maven.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-central has elapsed or updates are forced. Original error: Could not transfer artifact com.google.guava:guava-bom:pom:33.6.0-jre from/to maven-central (https://repo1.maven.org/maven2): status code: 429, reason phrase: Too Many Requests (429) @ line 65, column 19 -> [Help 2]
17:00:17:803 [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: com.google.protobuf:protobuf-bom:pom:4.33.6 (absent): com.google.protobuf:protobuf-bom:pom:4.33.6 failed to transfer from https://repo1.maven.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-central has elapsed or updates are forced. Original error: Could not transfer artifact com.google.protobuf:protobuf-bom:pom:4.33.6 from/to maven-central (https://repo1.maven.org/maven2): status code: 429, reason phrase: Too Many Requests (429) @ line 72, column 19 -> [Help 2]
17:00:17:803 [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: io.grpc:grpc-bom:pom:1.82.4 (absent): io.grpc:grpc-bom:pom:1.82.4 failed to transfer from https://repo1.maven.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-central has elapsed or updates are forced. Original error: Could not transfer artifact io.grpc:grpc-bom:pom:1.82.4 from/to maven-central (https://repo1.maven.org/maven2): status code: 429, reason phrase: Too Many Requests (429) @ line 79, column 19 -> [Help 2]
17:00:17:803 [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: com.google.api:gax-bom:pom:2.84.0 (absent): com.google.api:gax-bom:pom:2.84.0 failed to transfer from https://repo1.maven.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-central has elapsed or updates are forced. Original error: Could not transfer artifact com.google.api:gax-bom:pom:2.84.0 from/to maven-central (https://repo1.maven.org/maven2): status code: 429, reason phrase: Too Many Requests (429) @ line 93, column 19 -> [Help 2]
17:00:17:804 [ERROR]
17:00:17:804 [ERROR] The project com.google.cloud:google-cloud-shared-dependencies:3.66.0 (/home/runner/work/google-cloud-java/google-cloud-java/sdk-platform-java/java-shared-dependencies/pom.xml) has 4 errors
17:00:17:804 [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: com.google.cloud:first-party-dependencies:pom:3.66.0 (absent): com.google.cloud:first-party-dependencies:pom:3.66.0 failed to transfer from https://repo1.maven.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-central has elapsed or updates are forced. Original error: Could not transfer artifact com.google.cloud:first-party-dependencies:pom:3.66.0 from/to maven-central (https://repo1.maven.org/maven2): status code: 429, reason phrase: Too Many Requests (429) @ line 31, column 19 -> [Help 2]
17:00:17:804 [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: com.fasterxml.jackson:jackson-bom:pom:2.18.3 (absent): com.fasterxml.jackson:jackson-bom:pom:2.18.3 failed to transfer from https://repo1.maven.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-central has elapsed or updates are forced. Original error: Could not transfer artifact com.fasterxml.jackson:jackson-bom:pom:2.18.3 from/to maven-central (https://repo1.maven.org/maven2): status code: 429, reason phrase: Too Many Requests (429) @ com.google.cloud:third-party-dependencies:3.66.0, /home/runner/work/google-cloud-java/google-cloud-java/sdk-platform-java/java-shared-dependencies/third-party-dependencies/pom.xml, line 136, column 19 -> [Help 2]
17:00:17:804 [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: io.opentelemetry:opentelemetry-bom:pom:1.62.0 (absent): io.opentelemetry:opentelemetry-bom:pom:1.62.0 failed to transfer from https://repo1.maven.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-central has elapsed or updates are forced. Original error: Could not transfer artifact io.opentelemetry:opentelemetry-bom:pom:1.62.0 from/to maven-central (https://repo1.maven.org/maven2): status code: 429, reason phrase: Too Many Requests (429) @ com.google.cloud:third-party-dependencies:3.66.0, /home/runner/work/google-cloud-java/google-cloud-java/sdk-platform-java/java-shared-dependencies/third-party-dependencies/pom.xml, line 148, column 19 -> [Help 2]
17:00:17:804 [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: org.junit:junit-bom:pom:5.11.4 (absent): org.junit:junit-bom:pom:5.11.4 failed to transfer from https://repo1.maven.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of maven-central has elapsed or updates are forced. Original error: Could not transfer artifact org.junit:junit-bom:pom:5.11.4 from/to maven-central (https://repo1.maven.org/maven2): status code: 429, reason phrase: Too Many Requests (429) @ com.google.cloud:third-party-dependencies:3.66.0, /home/runner/work/google-cloud-java/google-cloud-java/sdk-platform-java/java-shared-dependencies/third-party-dependencies/pom.xml, line 254, column 19 -> [Help 2]
```

Contributor guide

Open the contributing guide

Research direction

Start with sdk-platform-java/java-shared-dependencies/pom.xml and sdk-platform-java/java-shared-dependencies/third-party-dependencies/pom.xml, then inspect the imported BOMs named in the Maven errors. Identify the affected Maven build or runner command and rerun it to confirm whether dependency resolution still returns HTTP 429; done means the build resolves these dependencies without the reported errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.