question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docker-compose failure

See original GitHub issue

Any docker-compose fails with an exception.

Reproduction steps

node v10.21.0
npm 6.14.4
Docker version 19.03.8
docker-compose version 1.25.5
(Docker Restart and pruning of containers/images before the build)
  • git clone git@github.com:Netflix/conductor.git

  • cd conductor/docker

  • docker-compose up

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'conductor'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve com.mycila.maven-license-plugin:maven-license-plugin:1.10.b1.
    Required by:
        project : > nebula.netflixoss:nebula.netflixoss.gradle.plugin:5.1.1 > com.netflix.nebula:gradle-netflixoss-project-plugin:5.1.1 > gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.13.1
    > Could not resolve com.mycila.maven-license-plugin:maven-license-plugin:1.10.b1.
        > Could not parse POM https://jcenter.bintray.com/com/mycila/maven-license-plugin/maven-license-plugin/1.10.b1/maven-license-plugin-1.10.b1.pom
            > Could not resolve com.mycila:parent-pom:5.
            > Could not resolve com.mycila:parent-pom:5.
                > Could not get resource 'https://jcenter.bintray.com/com/mycila/parent-pom/5/parent-pom-5.pom'.
                    > Could not GET 'https://jcenter.bintray.com/com/mycila/parent-pom/5/parent-pom-5.pom'. Received status code 504 from server: Gateway Time-out
  • docker-compose up (after successful ./gradlew build)
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':conductor-grpc-server'.
> Could not resolve all artifacts for configuration ':conductor-grpc-server:classpath'.
   > Could not resolve org.ow2.asm:asm-tree:5.0.3.
     Required by:
         project :conductor-grpc-server > com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:1.2.3 > com.github.jengelman.gradle.plugins:shadow:1.2.3 > org.ow2.asm:asm-commons:5.0.3
      > Could not resolve org.ow2.asm:asm-tree:5.0.3.
         > Could not get resource 'https://plugins.gradle.org/m2/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.pom'.
            > Could not GET 'https://plugins.gradle.org/m2/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.pom'. Received status code 504 from server: Gateway Time-out
   > Could not resolve org.apache.ant:ant-launcher:1.9.4.
     Required by:
         project :conductor-grpc-server > com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin:1.2.3 > com.github.jengelman.gradle.plugins:shadow:1.2.3 > org.apache.ant:ant:1.9.4
      > Skipped due to earlier error
  • docker-compose up —build
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'conductor'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve org.apache.httpcomponents:httpmime:4.3.
    Required by:
        project : > com.github.kt3k.coveralls:com.github.kt3k.coveralls.gradle.plugin:2.8.2 > org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.2
    > Could not resolve org.apache.httpcomponents:httpmime:4.3.
        > Could not parse POM https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3/httpmime-4.3.pom
            > Could not resolve org.apache.httpcomponents:httpcomponents-client:4.3.
            > Could not resolve org.apache.httpcomponents:httpcomponents-client:4.3.
                > Could not parse POM https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.3/httpcomponents-client-4.3.pom
                    > Could not resolve org.apache.httpcomponents:project:7.
                        > Could not resolve org.apache.httpcomponents:project:7.
                        > Could not parse POM https://jcenter.bintray.com/org/apache/httpcomponents/project/7/project-7.pom
                            > Could not resolve org.apache:apache:13.
                                > Could not resolve org.apache:apache:13.
                                    > Could not get resource 'https://jcenter.bintray.com/org/apache/apache/13/apache-13.pom'.
                                    > Could not GET 'https://jcenter.bintray.com/org/apache/apache/13/apache-13.pom'. Received status code 504 from server: Gateway Time-out
> Could not resolve org.ajoberstar:grgit:1.9.3.
    Required by:
        project : > nebula.netflixoss:nebula.netflixoss.gradle.plugin:5.1.1 > com.netflix.nebula:gradle-netflixoss-project-plugin:5.1.1 > com.netflix.nebula:nebula-release-plugin:6.3.5 > org.ajoberstar:gradle-git:1.7.2
    > Skipped due to earlier error
    > Could not resolve org.ajoberstar:grgit:1.9.3.
        > Could not get resource 'https://plugins.gradle.org/m2/org/ajoberstar/grgit/1.9.3/grgit-1.9.3.pom'.
            > Could not GET 'https://plugins.gradle.org/m2/org/ajoberstar/grgit/1.9.3/grgit-1.9.3.pom'. Received status code 504 from server: Gateway Time-out
> Could not resolve com.github.zafarkhaja:java-semver:0.9.0.
    Required by:
        project : > nebula.netflixoss:nebula.netflixoss.gradle.plugin:5.1.1 > com.netflix.nebula:gradle-netflixoss-project-plugin:5.1.1 > com.netflix.nebula:nebula-release-plugin:6.3.5 > org.ajoberstar:gradle-git:1.7.2
    > Skipped due to earlier error
    > Could not resolve com.github.zafarkhaja:java-semver:0.9.0.
        > Could not parse POM https://plugins.gradle.org/m2/com/github/zafarkhaja/java-semver/0.9.0/java-semver-0.9.0.pom
            > Could not resolve org.sonatype.oss:oss-parent:9.
            > Skipped due to earlier error
            > Could not resolve org.sonatype.oss:oss-parent:9.
                > Could not get resource 'https://plugins.gradle.org/m2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom'.
                    > Could not GET 'https://plugins.gradle.org/m2/org/sonatype/oss/oss-parent/9/oss-parent-9.pom'. Received status code 504 from server: Gateway Time-out

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Jun 30, 2020

@apanicker-nflx please note that the issue was resolved only partially. docker-compose still “fails”, please see the previous comment: https://github.com/Netflix/conductor/issues/1725#issuecomment-641004069


Swagger not running on http://localhost:8080/


http://localhost:5000/ -> Workflow Defs throws an error: Screenshot_2020-06-30_at_20_50_28

0reactions
ruktercommented, Jul 14, 2021

@apanicker-nflx please note that the issue was resolved only partially. docker-compose still “fails”, please see the previous comment: #1725 (comment)

Swagger not running on http://localhost:8080/

http://localhost:5000/ -> Workflow Defs throws an error: Screenshot_2020-06-30_at_20_50_28

Hi @IanSietro Can you share step for fix this issue ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] Docker-compose failed to read Dockerfile
I am having a strange issue with compose since yesterday (01.12.), where my docker-compose can't read the Dockerfile.
Read more >
node.js - Docker compose fails - Stack Overflow
I wrote a node server and I'd like to wrap it with docker compose for development (later I'll add more services).
Read more >
docker compose build failed · Issue #9405 - GitHub
It seems to be caused by setting usersns-remap , I have two vps with usersns-remap set to default , all of them build...
Read more >
Fail to build images with docker compose - CircleCI Discuss
Currently, using docker compose to build an image fails with this error: listing workers for Build: failed to list workers: Unavailable: ...
Read more >
Solution build fails with docker compose error (in VS 15.3)
yml and fails if return nginx service back. I've prepared github repo with simple solution that failed to build https://github.com/gagabu/dockercomposecrash.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found