googleapis / googleapis/google-cloud-java
Maven 429: Too many requests
- Ngôn ngữ chính
- Java
- Star
- 2.1k
- Fork
- 1.2k
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 157
Mô tả
```
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]
```
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với sdk-platform-java/java-shared-dependencies/pom.xml và sdk-platform-java/java-shared-dependencies/third-party-dependencies/pom.xml, sau đó kiểm tra các BOM đã import được nêu trong các lỗi Maven. Xác định lệnh build hoặc runner Maven bị ảnh hưởng và chạy lại lệnh đó để xác nhận liệu việc phân giải dependency có vẫn trả về HTTP 429 hay không; hoàn tất khi build phân giải được các dependency này mà không có các lỗi đã báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- build-system
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100