Get "Unexpected internal error" opening service worker cache

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Get "Unexpected internal error" opening service worker cache

Postby gwynjudd » 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.

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?
gwynjudd
Newbie
 
Posts: 8
Joined: Mon Aug 03, 2015 5:22 pm

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

Postby gwynjudd » Wed Aug 04, 2021 12:24 am

Using libcef/cefglue 88.1.6
gwynjudd
Newbie
 
Posts: 8
Joined: Mon Aug 03, 2015 5:22 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 19 guests