react-native: Could not GET 'https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml'. Received status code 502 from server: Bad Gateway

Please provide all the information requested. Issues that do not follow this format are likely to stall.

Description

Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest React Native release to make sure your issue has not already been fixed: https://reactnative.dev/docs/upgrading.html

React Native version:

Run react-native info in your terminal and copy the results here.

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. npx react-native init project 2.yarn react-native run-android

Expected Results

Describe what you expected to happen. [Could not GET ‘https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml’. Received status code 502 from server: Bad Gateway]

Snack, code example, screenshot, or link to a repository:

Please provide a Snack (https://snack.expo.io/), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. You may provide a screenshot of the application if you think it is relevant to your bug report. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve image

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 51

Most upvoted comments

Just run with offline mode. Turn off your connection, run-android and turn it on back.

@arwysyah, Definitely not solved & those are @latusdenis’s creds.

I guess mostly your problem its because you are using intercom package

Try this : In the build.gradle file, it uses the following dependency under repositories:

maven { url ‘https://dl.bintray.com/intercom/intercom-maven’ }

I am facing similar issue:

  • 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

Try to remove maven { url(‘https://dl.bintray.com/maven’) } from build.gradle and check

@Lexical-Luke Same for me. The issue persists for 2 days already and it seems like the server is down: https://isdown.app/integrations/bintray

you can close the issue