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.

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

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
TBaoNguyencommented, Mar 16, 2021

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

2reactions
Lexical-Lukecommented, Dec 10, 2021

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Received status code 502 from server: Bad Gateway ... - GitHub
Unable to load Maven meta-data from https://google.bintray.com/exoplayer/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml. > Could not ...
Read more >
Ask Question - Stack Overflow
Could not GET 'https://jcenter.bintray.com/com/google/' Received status code 502 from server: Bad Gateway [duplicate] · Ask Question. Asked 3 ...
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 >
HTTP 502 when fetching artifacts from jcenter.bintray.com
Running wget https://jcenter.bintray.com/ in a CircleCI container ... Received status code 502 from server: Bad Gateway.
Read more >
How To Fix a 502 Bad Gateway Error - Kinsta
The 502 bad gateway error specifically means that server received an invalid response from an inbound server. Check out these common causes ...
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