Get "Unexpected internal error" opening service worker cache
Posted: Wed Aug 04, 2021 12:12 am
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.
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?
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?