-
Notifications
You must be signed in to change notification settings - Fork 875
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
FIRESTORE (10.9.0) INTERNAL ASSERTION FAILED: Unexpected state #8189
Comments
Hi, If you run into this issue when you develop locally. Could you please enable the debug log for us to get more info of this failure? Also, could you please try to downgrade your SDK version to |
@cherylEnkidu - kyle and i are working on this together so i am responding on his behalf. we cannot turn on debug logging for this, as we do not see it locally, and we do not have a recreate case. it happens very intermittently in production with customers (thus why we cannot turn on logging) we are happy to try custom builds with specific logging for this issue if needed (maybe you can add some telemetry or logs right before the offending assert fires?)- but turning on all debug logging is a no-go for us. |
Hi @michaelAtCoalesce , Thank you for the reply! Have you tried to downgrade the SDK version to |
Hey @kmorgan8588. 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! |
@cherylEnkidu we cannot downgrade at this time... |
Hello @cherylEnkidu, Our only way of reproducing this error is by logging in and returning a few days later. After returning, any call to Firestore is met with the error: We have enabled the debug log via the enableLogging(true) function found here: I'm not sure if the function succeeded but here is a sample of what we received: [Error] [2024-05-13T13:38:40.309Z] @firebase/firestore: – "Firestore (10.8.0): FIRESTORE (10.8.0) INTERNAL ASSERTION FAILED: Unexpected state" defaultLogHandler (vendor.js:342310) error (vendor.js:342391) __PRIVATE_logError (vendor.js:26198) fail (vendor.js:26275) au (vendor.js:45192) enqueue (vendor.js:45105) enqueueAndForget (vendor.js:45090) (anonymous function) (vendor.js:40637) (anonymous function) (vendor.js:40612) mo (vendor.js:39963) (anonymous function) (vendor.js:40211:84) (anonymous function) (vendor.js:40160) ib (vendor.js:342913) C (vendor.js:342881) (anonymous function) (vendor.js:344640) qc (vendor.js:343511:130) rc (vendor.js:343386) (anonymous function) (vendor.js:343362) (anonymous function) (vendor.js:343303) ib (vendor.js:342913) C (vendor.js:342881) Ad (vendor.js:344041:131) (anonymous function) (vendor.js:344038) (anonymous function) (vendor.js:344035) od (vendor.js:343944) (anonymous function) (vendor.js:343910) onInvoke (vendor.js:253910) run (polyfills.js:369) (anonymous function) (polyfills.js:1444) onInvokeTask (vendor.js:253587) onInvokeTask (vendor.js:253899) runTask (polyfills.js:415) drainMicroTaskQueue (polyfills.js:782) [Error] [2024-05-13T13:38:40.310Z] @firebase/firestore: – "Firestore (10.8.0): FIRESTORE (10.8.0) INTERNAL ASSERTION FAILED: Unexpected state" defaultLogHandler (vendor.js:342310) error (vendor.js:342391) __PRIVATE_logError (vendor.js:26198) fail (vendor.js:26275) au (vendor.js:45192) enqueue (vendor.js:45105) enqueueAndForget (vendor.js:45090) (anonymous function) (vendor.js:40637) (anonymous function) (vendor.js:40612) mo (vendor.js:39963) (anonymous function) (vendor.js:40211:84) (anonymous function) (vendor.js:40160) ib (vendor.js:342913) C (vendor.js:342881) (anonymous function) (vendor.js:344640) qc (vendor.js:343511:130) rc (vendor.js:343386) (anonymous function) (vendor.js:343362) (anonymous function) (vendor.js:343303) ib (vendor.js:342913) C (vendor.js:342881) Ad (vendor.js:344041:131) (anonymous function) (vendor.js:344038) (anonymous function) (vendor.js:344035) od (vendor.js:343944) (anonymous function) (vendor.js:343910) onInvoke (vendor.js:253910) run (polyfills.js:369) (anonymous function) (polyfills.js:1444) onInvokeTask (vendor.js:253587) onInvokeTask (vendor.js:253899) runTask (polyfills.js:415) drainMicroTaskQueue (polyfills.js:782) |
Hi @kmorgan8588 @michaelAtCoalesce @mlahp7 , Could you please tried upgrade to version greater than |
Yes, it looks like AngularFire just released a version that updates the firebase dependency to ^10.12.0. |
Also seeing this issue. I'll attempt to capture some logs and update this ticket. @cherylEnkidu What is it in version 10.12.0 that we might expect to resolve the issue? |
Hey @kmorgan8588. 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! |
Since there haven't been any recent updates here, I am going to close this issue. @kmorgan8588 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. |
lets reopen. we saw it again in 10.12.0
|
Since there haven't been any recent updates here, I am going to close this issue. @kmorgan8588 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. |
Since there haven't been any recent updates here, I am going to close this issue. @kmorgan8588 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. |
|
Operating System
Windows 10
Browser Version
Chrome 124
Firebase SDK Version
10.9.0
Firebase SDK Product:
Firestore
Describe your project's tooling
React application with Webpack
Describe the problem
Customer using our application in production attempted to update a document, and it failed with this error. We were able to parse the error stack seen below. Looks like the async_queue has already failed?
Stack trace:
Steps and code to reproduce issue
Steps to reproduce: Unknown, we've seen these internal assertions occur in the past, but it's intermittent and not consistent to reproduce
The text was updated successfully, but these errors were encountered: