Page 1 of 1

Get "Unexpected internal error" opening service worker cache

PostPosted: Wed Aug 04, 2021 12:12 am
by gwynjudd
Hello,

we are getting this issue when trying to create a service worker cache, and the root cause seems to be that the CachePath is too long.

Code: Select all
const cache = await _caches.open(cacheName); // throws "Unexpected internal error"


If the issue occurs, CachePath would be very long e.g.

C:\Users\gjudd\AppData\Local\Apps\2.0\Data\T25NX9LN.7YM\GJHOO4ML.JGE\stay..ouch_4467d0e0c36cf3ca_0001.0000_dfbbfb690f5873b9\Data\CefBrowserCache

If the issue does not occur, CachePath would be much shorter e.g.

C:\Users\gjudd\AppData\Roaming\StayinFront\Touch\CefBrowserCache

The reason for the very long path is that we are using click once to deploy the application, and this is the click once data path. Is there any known issue around this kind of thing?

Re: Get "Unexpected internal error" opening service worker c

PostPosted: Wed Aug 04, 2021 12:24 am
by gwynjudd
Using libcef/cefglue 88.1.6