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:
  
  
    Since the latest update we get the following JS errors re Service Worker in Chrome: 
The script resource is behind a redirect, which is disallowed.
_application-786bec8dbeba5dccf3118668436791948e535eb587456944e94e0724bc417b14.js:76435 
Failed to register Service Worker: SecurityError: Failed to register a ServiceWorker for scope ('https://www.xxxxx.com/') with script ('https://www.xxxxxx.com/service-worker.js'): The script resource is behind a redirect, which is disallowed.
 [image]  
We host …
   
 
But rebuild app not work for us 
             
            
               
               
               
            
                
            
           
          
            
              
                Falco  
                (Falco)
               
              
                  
                    April 13, 2022,  1:44am
                   
                   
              2 
               
             
            
              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 
            
            
           
          
            
              
                Falco  
                (Falco)
               
              
                  
                    April 13, 2022,  1:59am
                   
                   
              4 
               
             
            
              Your CDN is definetly misconfigured. Every request becomes a redirect.
Example:
curl -I https://cdn-discourse.btcarg.com.ar/brotli_asset/google-universal-analytics-v3-706f1d28f0a97f67a47515c96189277240ec4940d968955042066d7873fd1fe8.js
HTTP/2 301
date: Wed, 13 Apr 2022 01:58:24 GMT
content-type: text/html
content-length: 178
location: https://comunidad.btcarg.com.ar/brotli_asset/google-universal-analytics-v3-706f1d28f0a97f67a47515c96189277240ec4940d968955042066d7873fd1fe8.js
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: <https://foro.btcarg.com.ar/brotli_asset/google-universal-analytics-v3-706f1d28f0a97f67a47515c96189277240ec4940d968955042066d7873fd1fe8.js>; rel="canonical"
cdn-status: 301
cdn-requestid: 8dc502d3ed8aec72124ecd76a0f63602
cdn-cache: MISS
 
             
            
               
               
              3 Likes 
            
            
           
          
            
              
                system  
                (system)
                  Closed 
               
              
                  
                    May 13, 2022,  1:59am
                   
                   
              5 
               
             
            
              This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.