Skip to content
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

DatabaseClosedError happening #42

Open
tomsaleeba opened this issue Sep 16, 2020 · 0 comments
Open

DatabaseClosedError happening #42

tomsaleeba opened this issue Sep 16, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@tomsaleeba
Copy link
Collaborator

this was WOW-101 in JIRA

The original error mentioned Dexie.js, which we aren't using any longer; we don't need all that power. The error comes from the browser level though so we still might see the problem again.

The error we saw was "DatabaseClosedError Database has been closed" from Chrome 77 on an LG V30 (H930).

This seems to be a Chrome bug where you have an IndexedDB connection open for long periods of time. Other people experiencing this issue: dexie/Dexie.js#613 (and follow the linked issues).

Currently our generic error message that says to restart the app will actually help. But we could do better by trying to re-connect to IndexedDB (if possible without a page refresh).

@tomsaleeba tomsaleeba added the bug Something isn't working label Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant