You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The below is the data we got.
For desktop users:
4.18% users wait authStateReady for more than 3 seconds (including below)
2.4% users wait authStateReady for more than 6 seconds
1.42% users wait authStateReady for more than 9 seconds
...
For mobile users:
6.86% users wait authStateReady for more than 3 seconds (including below)
3.6% users wait authStateReady for more than 6 seconds
2.41% users wait authStateReady for more than 9 seconds
...
Waiting for 3/6/9 seconds doesn't mean authStateReady will stuck forever. We do have data showing authStateReady got resolved after 10+ seconds, however most of users won't wait that long.
Steps and code to reproduce issue
We recently ( read, last night ) finally found out that you can get this behavior by having multiple tabs open of site for a couple of hours ( we managed to get it after waiting 2h, we don't know if you can get it sooner ), and then opening a new tab to the site. This tab will be stuck. Refreshing any of the other tabs will also result in them being stuck. Closing some of the tabs will result in a stuck tab to become unstuck.
Version info
React: 18.3.1
Firebase: 10.12.2
ReactFire: not used
Other (e.g. Node, browser, operating system) (if applicable):
Test case
We have the code below placed outside of react
Steps to reproduce
The below is the data we got.
For desktop users:
4.18% users wait authStateReady for more than 3 seconds (including below)
2.4% users wait authStateReady for more than 6 seconds
1.42% users wait authStateReady for more than 9 seconds
...
For mobile users:
6.86% users wait authStateReady for more than 3 seconds (including below)
3.6% users wait authStateReady for more than 6 seconds
2.41% users wait authStateReady for more than 9 seconds
...
Waiting for 3/6/9 seconds doesn't mean authStateReady will stuck forever. We do have data showing authStateReady got resolved after 10+ seconds, however most of users won't wait that long.
Similar issue: firebase/firebase-js-sdk#8019
Expected behavior
auth.authStateReady()
/auth.onAuthStateChanged()
shouldn't stuckActual behavior
auth.authStateReady()
/auth.onAuthStateChanged()
stuckThe text was updated successfully, but these errors were encountered: