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.

502 error during the build for android

See original GitHub issue

Recently, I can’t build my project. The error is appearing referring to the repo is not available.

https://dl.bintray.com/intercom/intercom-maven/com/facebook/react/react-native/maven-metadata.xml is returning 504 status code.

Error:

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':react-native-intercom:generateReleaseRFile'.
> Could not resolve all task dependencies for configuration ':react-native-intercom:releaseRuntimeClasspath'.
   > Could not resolve com.facebook.react:react-native:+.
     Required by:
         project :react-native-intercom
      > Failed to list versions for com.facebook.react:react-native.
         > Unable to load Maven meta-data from https://dl.bintray.com/intercom/intercom-maven/com/facebook/react/react-native/maven-metadata.xml.
            > Could not get resource 'https://dl.bintray.com/intercom/intercom-maven/com/facebook/react/react-native/maven-metadata.xml'.
               > Could not GET 'https://dl.bintray.com/intercom/intercom-maven/com/facebook/react/react-native/maven-metadata.xml'. Received status code 502 from server: Bad Gateway

Environment

npm version: 18 io.intercom.android:intercom-sdk-base:7.+

Tried different versions and the result is the same

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
browniefedcommented, Dec 9, 2021

This will be the last PR that I merge for this project.

Please migrate to https://github.com/intercom/intercom-react-native as soon as you can

4reactions
lzakrzewskicommented, Dec 8, 2021

hello @dmackinn, your PR seems to be fixing the issue 🙏

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not resolve Android dependency due to Bad Gateway ...
I solved the issue by upgrading my Gradle version to v4.1.0. android/build.gradle:
Read more >
Android build getting HTTP 502 (Bad Gateway) #679 - GitHub
Received the following error when doing an Android build: [flutter_background_geolocation] Purging debug resources in release build FAILURE: ...
Read more >
What is a 502 Bad Gateway and how do you fix it? - IT PRO
An Error 502 Bad Gateway means there is a problem with the website's server, rather than your computer, router, or internet connection. It's...
Read more >
502 Bad Gateway - HTTP - MDN Web Docs
The HyperText Transfer Protocol (HTTP) 502 Bad Gateway server error response code indicates that the server, while acting as a gateway or proxy, ......
Read more >
Received status code 502 from server: Bad Gateway in React ...
I have found the solution follow below steps: kill terminal; open project in Android Studio (Android folder location). Click on sync in logcat...
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