-
Notifications
You must be signed in to change notification settings - Fork 916
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
failure when logging out: "1 errors occurred during unsubscription:1) Error: FIRESTORE (11.4.0) INTERNAL ASSERTION FAILED: Unexpected state" #8856
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Could you please enable Firestore debug logging (by calling |
@dconeybe unfortunately not. We see this happening in our error logging that our users have this in our production environment approximately one time every ?4? days on a userbase of +- 2000 users per day. |
I have a similar problem, I can reproduce it in my app, however not able to reproduce in test repo. I will try to describe what I see:
Firestore configured to use MemoryPersistance. After the "in" error, debug outputs only WebChannelConnection RPC logs, nothing else. The message "1 errors occured during unsubscription" was shown few times just after Unexpected state error, but I wasn't able to reproduce it every single time. Hope that helps. |
@MarkChrisLevy Looking in the source code of Firestore, there are 6 places that are obvious that they could cause a
It is plausible that if one of these lines were to cause the noted TypeError then the unsubscribe error could result. However, I really need some logs or a reproducible scenario to dig in further. @MarkChrisLevy Are you able to reproduce the TypeError with Firestore debug logging enabled, and provide the log? |
Operating System
Apple & Windows, Chrome & Edge
Environment (if applicable)
Chrome versions 111 => 133 - Edge version 134
Firebase SDK Version
11.3.1 and 11.4.0
Firebase SDK Product(s)
Analytics, Firestore
Project Tooling
We have an angular + angularFire + firebase web application.
Detailed Problem Description
Since upgrading from firebase-js-sdk v10 to v11 (now 11.4.0) we see that clients have the following error when logging out:
"1 errors occurred during unsubscription:1) Error: FIRESTORE (11.4.0) INTERNAL ASSERTION FAILED: Unexpected state"
Steps and code to reproduce issue
You can find the application here:
https://www.acro-companion.com/
The text was updated successfully, but these errors were encountered: