New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
502 Bad Gateway: Unable to load Maven meta-data from Bintray #32734
Comments
Has anyone found a solution to this? |
Not yet,I am also facing same issue.
|
I found a solution that worked for us. I replaced all the instances where it shows If you run
Also, because jscFlavor was using Hopefully, once react-native is on mavenCentral, we can remove the version lock. |
As mentioned, this is happening as you have There is currently an outage that is affecting those builds. So potentially as this is resolved, your builds will also get back green.
We're not looking into publishing RN on mavenCentral anytime soon. RN is distributed as a NPM package and you don't need any Maven repo to look into. The package is available inside the |
@cortinico - would it be possible to publish older versions of related packages to maven central? the following dependency versions are missing from maven central and so react-native@64 apps won't build if jcenter is unavailable:
it appears that any dependency on jcenter was resolved in 65+ however. |
i was working on the app and it was working fine but suddenly i am getting this and unable to build my app
|
That's doable. You should open specific issues for each package on its own issue board: However, please note that it will take some time for those maintainers to get back to you and potentially re-release those older packages. The best would be for you to bump them locally. |
Gradle is down |
Any idea when it will up. |
@cortinico - if I'm not mistaken, you are a Meta employee -- would you be able to reach out to those teams to ask them to follow up on this? there are existing issues on those repositories already that are ~6 months old: |
It's up and for me it's working. :) |
I've posted a small update on what happened here: react-native-community/discussions-and-proposals#331 (comment) Closing as this is essentially resolved as the bintray outage is finished
We can definitely look into publishing older version to Maven Central. However, I believe that updating the RN version you're using (either directly or through Expo) is in general a better approach as we're trying to encourage people to migrate rather than being stuck on an older version. |
In case you are debugging similar error for your app (bintray is down again), and upgrading to 0.65+ is not an option for some reason, you can try and force dependencies manually:
allprojects {
repositories {
...
mavenCentral()
configurations.all {
resolutionStrategy {
// versions used by 0.67
force 'com.squareup.okhttp3:okhttp:3.11.0'
force 'com.facebook.yoga:proguard-annotations:1.19.0'
force 'com.facebook.fbjni:fbjni-java-only:0.2.2'
force 'com.facebook.flipper:flipper:0.99.0'
force 'com.facebook.flipper:flipper-network-plugin:0.99.0'
force 'com.facebook.flipper:flipper-fresco-plugin:0.99.0'
}
}
}
} |
@ShikaSD Thanks for solution but it doesn't work for me unfortunately. Forcing
|
@ezze Could you try forcing version of okhttp to one of the 4+ instead? |
i just added mavenCentral() with jcenter() and it worked for me |
worked for me by adding |
worked for me replacing jcenter() to mavenCentral() |
@areebshakeel @cristiandan You made my day, bro! |
Description
Getting such an error, while building the app in release mode:
build.gradle
The problem appeared without any code changes. Bintray status is major outage: https://isdown.app/integrations/bintray
Please advise, which steps do I need to perform, so I can successfully create release builds.
Version
0.65.0
Output of
react-native info
Steps to reproduce
./gradlew assembleRelease
Snack, code example, screenshot, or link to a repository
No response
The text was updated successfully, but these errors were encountered: