-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
cannot read resolve of undefined #353
Comments
I'm experiencing this as well, can this be handled properly so it doesn't end up throwing the error? (and spam in our error reporting in sentry) |
We're seeing the same issue too when trying to closeDBChannel in order to switch documents. |
I have not yet been able to find the reproduction steps for this issue. Any luck reliably reproducing it? Much appreciated!! |
After some investigation it seems to happen after a user has been inactive for a couple of minutes. Perhaps Firebase closes the connection when no new requests are made? I'm not familiar with the internal workings. This seems to be the only reliable reproduction scenario. |
okay this is pretty bad, it causes everything to stop functioning if the page is kept open long. If we can't fix this soon we'll have to replace the package probably. Any good alternatives? |
No alternative that I know of, but you know you can debug too, right? |
I know this error happens when navigating away from a page during the loading of the openDBChannel. I'm also having issues front end not updating when inactive for too long. Lets say with 2 users |
https://github.com/mesqueeb/vuex-easy-firestore/blob/master/src/module/actions.ts#L778
I haven't tracked the cause yet, but sometimes this is undefined.
The text was updated successfully, but these errors were encountered: