Uncaught (in promise): DatabaseClosedError: UnknownError Connection to Indexed Database server lost. Mozilla/5.0 (iPhone CPU iPhone OS 15_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Mobile/15E148 Safari/604.1Įrror message (it is actually repeating itself in the same message, might be becauce something in dexie): ![]() Here is some of the information from the browser error. The application is written in Angular 14. My users get this messages often when the code for using Dexie.js is used in the application. ![]() If so, maybe try breaking down long-running transactions to smaller ones, so it has a chance to finish before timeout, and it may be easier to retry even if it's aborted. You may set onabort listener on IDBTransaction and see if the transaction gets aborted when the cursor error happens. A transaction can run in background until system finally decides to suspend the process, and the transaction will be rolled back (since a process cannot hold lock to a database when it's suspended). WebKit may actively abort an IDB transaction when process is backgrounded. If you can reproduce the issue or see the issue on your device, can you check if you have files on your device with name ?įor the cursor error, does it also happen when users background Safari too? ![]() The connection error can happen when WebKit's networking process crashes/gets killed during IndexedDB operations (it's not necessarily an IndexedDB bug but process exits so the operation cannot finish).
0 Comments
Leave a Reply. |