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.

build error: 502 from https://consensys.bintray.com

See original GitHub issue

Description

Can not build application as dependencies are unavailable.

Steps to Reproduce (Bug)

./gradlew distDocker

[...]
> Task :storage:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :ethereum:weaksubjectivity:compileJava
Note: /home/legogris/dev/homelab/dockerfiles/teku/ethereum/weaksubjectivity/src/main/java/tech/pegasys/teku/weaksubjectivity/WeakSubjectivityCalculator.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :ethereum:statetransition:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :networking:p2p:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':networking:p2p:compileJava'.
> Could not resolve all files for configuration ':networking:p2p:compileClasspath'.
   > Could not resolve tech.pegasys.discovery:discovery:0.4.2-dev-c8f2d6d9.
     Required by:
         project :networking:p2p
      > Skipped due to earlier error
      > Could not resolve tech.pegasys.discovery:discovery:0.4.2-dev-c8f2d6d9.
         > Could not get resource 'https://consensys.bintray.com/pegasys-repo/tech/pegasys/discovery/discovery/0.4.2-dev-c8f2d6d9/discovery-0.4.2-dev-c8f2d6d9.pom'.
            > Could not GET 'https://consensys.bintray.com/pegasys-repo/tech/pegasys/discovery/discovery/0.4.2-dev-c8f2d6d9/discovery-0.4.2-dev-c8f2d6d9.pom'. Received status code 502 from server: Bad Gateway

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.5.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2m 56s
32 actionable tasks: 32 executed

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
3nprobcommented, Feb 22, 2022

Correct, works fine on later tags. Thanks!

0reactions
ajsuttoncommented, Feb 22, 2022

Agreed, this looks like an old version of Teku. We don’t use bintray for anything in the latest version as it has become less reliable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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