502 error during the build for android
See original GitHub issueRecently, 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:
- Created 2 years ago
- Reactions:3
- Comments:10 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
hello @dmackinn, your PR seems to be fixing the issue 🙏