[Webkit-unassigned] [Bug 273827] REGRESSION (iOS 17.4): IndexedDB failing with "UnknownError: Connection to Indexed Database server lost."

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 16 11:08:12 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=273827

--- Comment #7 from Sihui Liu <sihui_liu at apple.com> ---
(In reply to Luke Abbott from comment #6)
> (In reply to Sihui Liu from comment #5)
> > Site can listen to close event
> > (https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/close_event)
> > to find out when the database connection is closed due to process crash or
> > other issues and reopen database (`indexedDB.open`), so it can access the
> > database again.
> 
> Unfortunately, it is impossible to re-open the database connection after
> this issue occurs, so listening to the close event won't help.
> 
> I have thus far been unable to catch the error locally since getting the
> instruction to collect crash logs. It's still happening just as often in
> production, though.
> 
> Regardless of why the networking process is crashing, shouldn't it be
> possible to reconnect to IndexedDB after network access is restored? As
> Lincoln was saying, the rest of the site continues to work (including the
> remote server connection) but it's impossible to reconnect to IndexedDB.

By "it is impossible to re-open the database connection", do you mean the `indexedDB.open()` fails after the connection lost error? If so, this is a different issue than the error itself. Site should be able to build IndexedDB connection to the relaunched network process on open().

Does everything work correctly if you reload the page?

-- 
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/20240516/55fe4f4d/attachment.htm>


More information about the webkit-unassigned mailing list