XDN version 2.33.5-next-1608319923-e478ce95.0
Our service worker and XDN devtools are functioning correctly in local development, but after deploying to XDN devtools reports “THE SERVICE WORKER IS NOT RESPONDING” and the service worker failed to register.
Errors reported in browser:
Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'https://***-default.moovweb-edge.io/__xdn__/cache-manifest.js' failed to load.
at new e (https://***-default.moovweb-edge.io/service-worker.js:1:43563)
at Module.8VfV (https://***-default.moovweb-edge.io/service-worker.js:1:18132)
at n (https://***-default.moovweb-edge.io/service-worker.js:1:112)
at https://***-default.moovweb-edge.io/service-worker.js:1:941
at https://***-default.moovweb-edge.io/service-worker.js:1:955
e @ service-worker.js:1
8VfV @ service-worker.js:1
n @ service-worker.js:1
(anonymous) @ service-worker.js:1
(anonymous) @ service-worker.js:1
10:23:24.139 A bad HTTP response code (534) was received when fetching the script.
10:23:24.140 main-1123655fb1286f441b9e.js:1 SW registration failed: TypeError: Failed to register a ServiceWorker for scope ('https://***-default.moovweb-edge.io/') with script ('https://***-default.moovweb-edge.io/service-worker.js'): ServiceWorker script evaluation failed
The route /__xdn__/cache-manifest.js
responds with HTTP 534:
{
"error": "Undefined error"
}