Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Unable to build conductor server locally due to grpc/build.gradle maven repository 502 #3121

Closed
matteius opened this issue Jul 20, 2022 · 3 comments
Labels
type: bug bugs/ bug fixes

Comments

@matteius
Copy link
Contributor

Describe the bug
Trying to build conductor server locally with gradle, and grpc/build.gradle references maven { url "https://dl.bintray.com/chaos-systems/mvn" } which is getting a 502 bad gateway right now @ https://dl.bintray.com/

Details
Conductor version: latest main branch
Persistence implementation: PostgresSQL
Queue implementation: Postgres
Lock: Redis
Workflow definition:
Task definition:
Event handler definition:

@matteius matteius added the type: bug bugs/ bug fixes label Jul 20, 2022
@matteius
Copy link
Contributor Author

I got the conductor engine to build locally using gradle in IntelliJ by making the following changes to the gradle.build:

Matts-MBP conductor % git diff
diff --git a/grpc/build.gradle b/grpc/build.gradle
index 2a737919..602c47b4 100644
--- a/grpc/build.gradle
+++ b/grpc/build.gradle
@@ -24,25 +24,26 @@ plugins {
 }
 repositories{
-    maven { url "https://dl.bintray.com/chaos-systems/mvn" }
+    maven { url "https://mvnrepository.com/artifact/" }
 }
 dependencies {
     implementation project(':conductor-common')
-    implementation "com.google.protobuf:protobuf-java:${revProtoBuf}"
-    implementation "io.grpc:grpc-protobuf:${revGrpc}"
-    implementation "io.grpc:grpc-stub:${revGrpc}"
+    implementation group: 'com.google.protobuf', name: 'protobuf-java', version: '3.14.0'
+    implementation group: 'com.google.protobuf', name: 'protoc', version: '3.14.0', ext: 'pom'
+    implementation group: 'io.grpc', name: 'grpc-protobuf', version: '1.47.0'
+    implementation group: 'io.grpc', name: 'grpc-stub', version: '1.47.0'
     implementation "javax.annotation:javax.annotation-api:1.3.2"
 }
 protobuf {
     protoc {
-        artifact = "com.google.protobuf:protoc:${revProtoBuf}"
+        artifact = 'com.google.protobuf:protoc:3.14.0:osx-x86_64'
     }
     plugins {
         grpc {
-            artifact = "io.grpc:protoc-gen-grpc-java:${revGrpc}"
+            artifact = "io.grpc:protoc-gen-grpc-java:3.14.0"
         }
     }
     generateProtoTasks {

@jxu-nflx
Copy link
Contributor

Hello @matteius thanks for reporting this! Could you send a PR with the fix of replacing the maven repo from https://dl.bintray.com/chaos-systems/mvn to https://mvnrepository.com/artifact? Thanks

@matteius
Copy link
Contributor Author

@jxu-nflx Sure no problem: #3134

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug bugs/ bug fixes
Projects
None yet
Development

No branches or pull requests

3 participants