Service-worker redirection 403

Hi, we are using Bunny CDN and see that error after last update (own hosted instance):

service-worker.js:1 Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'https://CDN/javascripts/workbox/workbox-sw.js' failed to load.
    at https://NOTCDN/service-worker.js:1:14
(anonymous) @ service-worker.js:1

Related issue here:

But rebuild app not work for us :frowning:

This usually means that your CDN is misconfigured. Can you share your instance URL ?

1 Like

Of course:

You can see the error message in browser console.

1 Like

Your CDN is definetly misconfigured. Every request becomes a redirect.


curl -I
HTTP/2 301
date: Wed, 13 Apr 2022 01:58:24 GMT
content-type: text/html
content-length: 178
server: BunnyCDN-BR1-788
cdn-pullzone: 130852
cdn-uid: 248d702c-77f7-4a11-a1e4-6493202be675
cdn-requestcountrycode: BR
cdn-proxyver: 1.02
cdn-requestpullsuccess: True
cdn-requestpullcode: 301
cdn-cachedat: 04/13/2022 01:58:24
cdn-edgestorageid: 788
link: <>; rel="canonical"
cdn-status: 301
cdn-requestid: 8dc502d3ed8aec72124ecd76a0f63602
cdn-cache: MISS

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.