IINTERNAL ASSERTION FAILED: AsyncQueue is already failed: FirebaseError: The current tab is not in the required state to perform this operation. It might be necessary to refresh the browser tab.

[REQUIRED] Describe your environment

  • Operating System version: __ ubuntu
  • Browser version: _ electron 7.1.2
  • Firebase SDK version: __7.6.1
  • Firebase Product: __ firestore (auth, database, storage, etc)

[REQUIRED] Describe the problem

Steps to reproduce:

We’re getting this exception constantly in the wild, but I can’t actually duplicate it locally.

We have about 5k uses and receive this error about 9200 times per month.

Relevant Code:

I don’t have a reduction unfortunately. Is there a better way to reproduce this?

1 possible answer(s) on “IINTERNAL ASSERTION FAILED: AsyncQueue is already failed: FirebaseError: The current tab is not in the required state to perform this operation. It might be necessary to refresh the browser tab.

  1. @cmditch “experimentalTabSynchronization” and “synchronizeTabs” are equivalent.

    It looks like there is indeed an issue with maybeGarbageCollectMultiClientState. We should be able to recover gracefully from that. I will fix this shortly and it should go out with the next release.