Skip to content

[🐛] FirebaseAnalytics v11.12.0 tarball URL returns 502 Bad Gateway #8516

@ThiagoMunich

Description

@ThiagoMunich

Issue

Describe your issue here

I'm using @react-native-firebase/analytics version 22.1.0, which depends on Firebase/Analytics = 11.12.0. Also, I'm using the Expo SDK 53 but I don't think this is the problem here.

When I run npx expo run:ios I get this error:

   ⚠️  Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: Error installing FirebaseAnalytics
[!] /usr/bin/curl -f -L -o /var/folders/19/d_2qhy916bv47b1dtrz5gxs00000gn/T/d20250506-13389-6z0car/file.tgz https://dl.google.com/firebase/ios/analytics/4552003335f1c2d0/FirebaseAnalytics-11.12.0.tar.gz --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.15.2 cocoapods-downloader/2.1'

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

pod install --repo-update --ansi exited with non-zero code: 1

Running npx expo run:android

FAILURE: Build failed with an exception.

* What went wrong:

Could not determine the dependencies of task ':app:processDebugResources'.

> Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.

> Could not resolve com.google.firebase:firebase-bom:33.13.0.

> Could not GET 'https://dl.google.com/dl/android/maven2/com/google/code/gson/gson/2.10.0/gson-2.10.0.pom'. Received status code 502 from server: Bad Gateway

> There are 3 more failures with identical causes.

I'm not able get a 2xx response even when trying on terminal:

curl -I https://dl.google.com/firebase/ios/analytics/4552003335f1c2d0/FirebaseAnalytics-11.12.0.tar.gz

results on this 502 error:

HTTP/2 502 
date: Tue, 06 May 2025 17:51:01 GMT
content-type: text/html; charset=UTF-8
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000

Project Files

Javascript

Click To Expand

package.json:

# N/A

firebase.json for react-native-firebase v6:

# N/A

iOS

Click To Expand

ios/Podfile:

  • I'm not using Pods
  • I'm using Pods and my Podfile looks like:
# N/A

AppDelegate.m:

// N/A


Android

Click To Expand

Have you converted to AndroidX?

  • my application is an AndroidX application?
  • I am using android/gradle.settings jetifier=true for Android compatibility?
  • I am using the NPM package jetifier for react-native compatibility?

android/build.gradle:

// N/A

android/app/build.gradle:

// N/A

android/settings.gradle:

// N/A

MainApplication.java:

// N/A

AndroidManifest.xml:

<!-- N/A -->


Environment

Click To Expand

react-native info output:

 OUTPUT GOES HERE
  • Platform that you're experiencing the issue on:
    • iOS
    • Android
    • iOS but have not tested behavior on Android
    • Android but have not tested behavior on iOS
    • Both
  • react-native-firebase version you're using that has this issue:
    • 22.1.0
  • Firebase module(s) you're using that has the issue:
    • e.g. Instance ID
  • Are you using TypeScript?
    • Y/N & VERSION


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions