Skip to content

iOS 15.2 Could not reach Cloud Firestore backend #7858

@elongberg

Description

@elongberg

Operating System

iOS 15.2

Browser Version

Safari/604.1

Firebase SDK Version

10.7.1

Firebase SDK Product:

Auth, Firestore

Describe your project's tooling

Angular 17

Describe the problem

Unable to use recent versions of firebase on iOS 15.2. With firebase versions 10.7.0 and 10.7.1, we get the below error.

Could not reach Cloud Firestore backend. Connection failed 1 times. Most recent error: FirebaseError: [code=unavailable]: The operation could not be completed This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.

This is followed (and preceded) by a trickle of warnings like so:
WebChannelConnection RPC 'Listen' stream 0x8c3e05c0 transport errored

We're having an unrelated error with firebase that also makes it unusable on any older versions since 10.0.0 (if we decide it's not just an oddity in our setup, we may post a separate issue for that, but that issue did go away in 10.7.0). Last known-working firebase was 9.17.2 (haven't been able to test yet on newer version 9's).

Enabling experimentalForceLongPolling has no effect. No issue when running in iOS 15.5 or later (unsure about 15.3/15.4). We don't have physical devices with these older iOS versions, but this happens consistently in iOS simulators/not just a network issue, and their are reports of this in the field as well.

Steps and code to reproduce issue

See above

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions