Received status code 502 from server: Bad Gateway
Izocel opened this issue · comments
Raphael Vigneault Ð. commented
Describe the bug
Seems a package deployment/hosting issue.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not resolve net.lingala.zip4j:zip4j:2.+.
Required by:
project :app > project :react-native-zip-archive
> Failed to list versions for net.lingala.zip4j:zip4j.
> Unable to load Maven meta-data from https://oss.sonatype.org/content/repositories/snapshots/net/lingala/zip4j/zip4j/maven-metadata.xml.
> Could not HEAD 'https://oss.sonatype.org/content/repositories/snapshots/net/lingala/zip4j/zip4j/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 -PreactNativeDebugArchitectures=arm64-v8a -PreactNativeArchitectures=arm64-v8a FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':app:processDebugResources'. > Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. > Could not resolve net.lingala.zip4j:zip4j:2.+. Required by: project :app > project :react-native-zip-archive > Failed to list versions for net.lingala.zip4j:zip4j. > Unable to load Maven meta-data from https://oss.sonatype.org/content/repositories/snapshots/net/lingala/zip4j/zip4j/maven-metadata.xml. > Could not HEAD 'https://oss.sonatype.org/content/repositories/snapshots/net/lingala/zip4j/zip4j/maven-metadata.xml'. Received status code 502 from server: Bad Gateway * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 15s.
To Reproduce
Steps to reproduce the behavior:
- Build debugApp
Expected behavior
Compile and build run
Env (please complete the following information):
- Android
- Package Version: 6.1.0
- react-native "^0.73.0", --> 0.73.5
snailcatcher commented
Had the same issue for like an hour, but it's gone now.
Raphael Vigneault Ð. commented
I can confirm that the 'fetch' is ok now :)
Closing the issue