Skip to content
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

Connectivity issues with Firestore after 9.22.0 update #7406

Closed
NinitoAS opened this issue Jun 30, 2023 · 6 comments
Closed

Connectivity issues with Firestore after 9.22.0 update #7406

NinitoAS opened this issue Jun 30, 2023 · 6 comments

Comments

@NinitoAS
Copy link

Operating System

iOS 16 & Windows

Browser Version

Chrome + Safari (newest)

Firebase SDK Version

9.23.0

Firebase SDK Product:

Auth, Firestore

Describe your project's tooling

React web app

Describe the problem

Since 9.22.0 we have experienced major connectivity issues with Firestore. We have two projects, one running 9.21.0 with absolutely 0 issues and another project that is deployed in 500+ locations. Around 5% of these locations are reporting issues related to database connectivity, where Firestore stops listening to the database over time.

These devices are running 24/7 and they are subscribed to the database. We have never had any connectivity issues prior to this update, been running these devices for the last 5 years without any issues.

We recently had to invest in highlight.io to try to debug these issues, we are still trying to figure out what is happening exactly, and still waiting for more bug reports and data.

As these are highly valued clients, we are considering downgrading to 9.21.0 to see if this can solve our issues.

Some of the errors we are seeing, but we are not sure are related: ): WebChannelConnection RPC 'Listen' stream 0x651b58f8 transport errored

The reason we are posting this issue is to see if anyone else is experiencing these issues in their production env.

Steps and code to reproduce issue

Upgrade to SDK version 9.22.0 or higher

@NinitoAS NinitoAS added new A new issue that hasn't be categoirzed as question, bug or feature request question labels Jun 30, 2023
@NinitoAS NinitoAS changed the title Title for the bug Connectivity issues with Firestore after 9.22.0 update Jun 30, 2023
@jbalidiong jbalidiong added api: firestore needs-attention and removed api: auth new A new issue that hasn't be categoirzed as question, bug or feature request labels Jun 30, 2023
@luke-rogers
Copy link

luke-rogers commented Jun 30, 2023

We are also seeing similar errors reported. Makes me wonder if it could be related to this change introduced in 9.22.0.

Enabled long-polling networking mode auto detection by default. It can be explicitly disabled by setting FirestoreSettings.experimentalForceLongPolling to false. See Github PR #7236.

@cherylEnkidu cherylEnkidu self-assigned this Jun 30, 2023
@cherylEnkidu
Copy link
Contributor

Hi @NinitoAS and @luke-rogers ,
Could you please try set FirestoreSettings.experimentalAutoDetectLongPolling to false to explicitly disable long polling?

@cherylEnkidu
Copy link
Contributor

Also it would be especially helpful if you could gather logs from https://debug-my.firebaseapp.com/ when you experience this issue. Thanks!

@google-oss-bot
Copy link
Contributor

Hey @NinitoAS. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

@google-oss-bot
Copy link
Contributor

Since there haven't been any recent updates here, I am going to close this issue.

@NinitoAS if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

@tadeumelembe
Copy link

I'm having the same issue using firebase 9.22

@firebase firebase locked and limited conversation to collaborators Aug 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants