[Webkit-unassigned] [Bug 277615] IndexedDB failing with "UnknownError: Connection to Indexed Database server lost."
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 22 20:02:41 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=277615
--- Comment #16 from Nisala <nisala at getbaseline.app> ---
I believe that the bug can be resolved just by reloading in the WebView, instead of needing to force close + re-open the app. I recently rolled out a change in my app that catches the error and reloads the page. If the error occurs again within 10 seconds, it sends me an error on Sentry, and so far I haven't received any errors (and I've stopped hearing about issues from my users) so I believe the solution works. Here's my implementation -- I'm using Dexie.js useLiveQuery, so I'm using a React error boundary to catch the error. https://github.com/nkalupahana/baseline/pull/414/files
This is by no means a good solution -- reloading the app is not an acceptable long-term solution to this problem. But it's not very noticeable on my app, so it's a good workaround for anyone else facing this problem while the bug remains unfixed.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241123/c9aa36fc/attachment.htm>
More information about the webkit-unassigned
mailing list