nextcloud-keeweb icon indicating copy to clipboard operation
nextcloud-keeweb copied to clipboard

Error opening indexed db when syncing back changes in incognito mode

Open maurerle opened this issue 4 years ago • 5 comments

Opening a file editing, and syncing gives Error opening indexed db on latest 0.6.3 release.

~~I think this is due to the removed caching/service worker?~~

Edit: This happens only in incognito mode

maurerle avatar Aug 31 '20 10:08 maurerle

Please check if this is also the case for 0.6.2 - because as far I know the service worker fails there as well. That was the reason why I removed it completely as the intitialization did not succeed in Keeweb 0.6.2 as well also see https://github.com/jhass/nextcloud-keeweb/issues/154#issuecomment-678695611

arnowelzel avatar Aug 31 '20 11:08 arnowelzel

I 0.6.2 i can't access the app from incognito mode at all in Firefox because of ~~KdbxError: Error NotImplemented: AES-CBC not implemented~~ Edit: It gets Sync error: [object Event], I tested wrong

Edge complains on save with "can't open ..." too, so this should not stop from releasing.

Even though I'd like to warn the user that he can't save before he edits a lot and realizes it then (or not at all)..

maurerle avatar Aug 31 '20 12:08 maurerle

I don't think your suggestions are something we can or should solve here, rather than upstream.

jhass avatar Aug 31 '20 12:08 jhass

I don't think your suggestions are something we can or should solve here, rather than upstream.

I agree. Syncing generally works - so it seems the service worker is not required to make syncing possible.

2020-08-31T12:45:54.697Z [storage-cache] Error opening indexed db

I believe this is caused by the missing browser storage in incognito mode. Also see https://github.com/keeweb/keeweb/issues/400

arnowelzel avatar Aug 31 '20 12:08 arnowelzel

I agree too. Maybe a disclaimer in the README and https://apps.nextcloud.com/apps/keeweb that incognito and Old Edge is not supported would be the way of least frustration without bundling development ressources into those issues?

maurerle avatar Aug 31 '20 13:08 maurerle