payu-intrepos / payu-non-seamless-react

Non-Seamless SDK for React Native
5 stars 9 forks source link

Received status code 502 from server: Bad Gateway #22

Closed sarthak-synclovis closed 1 year ago

sarthak-synclovis commented 2 years ago

Getting this error while building the project after integrating "payu-non-seam-less-react"

Could not GET 'https://phonepe.bintray.com/PhonePeIntentSDK/com/facebook/react/react-native/maven-metadata.xml'. Received status code 502 from server: Bad Gateway Disable Gradle 'offline mode' and sync project

Already added :-

Versions :-

Quick help would be appreciated

mehthabt commented 2 years ago

same issue , any luck?

mehthabt commented 2 years ago

i think bintray is down from May 2021

https://stackoverflow.com/questions/70687342/jcenter-bintray-com-is-down-error-502-bad-gateway

sarthak-synclovis commented 2 years ago

Check in your project if you use anywhere then please comment.

maven { url "https://phonepe.bintray.com/PhonePeIntentSDK" }

mehthabt commented 2 years ago

@code1x0 are you sure that i wont affect the PhonePe SDK ?

i made it working by replacing "https://phonepe.bintray.com/PhonePeIntentSDK" to "https://phonepe.mycloudrepo.io/public/repositories/phonepe-intentsdk-android" in build.gradle inside payu-non-seam-less-react

If there is an error regarding the VERSION_NAME , comment out buildConfigField "String", "VERSION_NAME", "\"$versionName\"" inside the same file

This worked for me ☝️