Hey guys, from time to time our dagit deployment w...
# deployment-kubernetes
r
Hey guys, from time to time our dagit deployment will stop working and show a white screen upon entering and the console will show the following error:
Copy code
Refused to execute script from 'https://*******.com/static/js/0.6c886321.chunk.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
react_devtools_backend.js:2560 ChunkLoadError: Loading chunk 0 failed.
(error: https:/********.com/static/js/0.6c886321.chunk.js)
    at Function.c.e ((index):1)
    at App.tsx:12
    at S (react.production.min.js:18)
    at Fa (react-dom.production.min.js:269)
    at Ts (react-dom.production.min.js:250)
    at Es (react-dom.production.min.js:250)
    at Ls (react-dom.production.min.js:250)
    at ms (react-dom.production.min.js:243)
    at react-dom.production.min.js:123
    at t.unstable_runWithPriority (scheduler.production.min.js:18)
overrideMethod @ react_devtools_backend.js:2560
aa @ react-dom.production.min.js:216
n.callback @ react-dom.production.min.js:216
pc @ react-dom.production.min.js:131
ha @ react-dom.production.min.js:220
ws @ react-dom.production.min.js:259
t.unstable_runWithPriority @ scheduler.production.min.js:18
Xo @ react-dom.production.min.js:122
Ss @ react-dom.production.min.js:252
ms @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:18
Xo @ react-dom.production.min.js:122
Go @ react-dom.production.min.js:123
P @ scheduler.production.min.js:16
A.port1.onmessage @ scheduler.production.min.js:12
scheduler.production.min.js:12 Uncaught ChunkLoadError: Loading chunk 0 failed.
(error: https:/**********.com/static/js/0.6c886321.chunk.js)
    at Function.c.e ((index):1)
    at App.tsx:12
    at S (react.production.min.js:18)
    at Fa (react-dom.production.min.js:269)
    at Ts (react-dom.production.min.js:250)
    at Es (react-dom.production.min.js:250)
    at Ls (react-dom.production.min.js:250)
    at ms (react-dom.production.min.js:243)
    at react-dom.production.min.js:123
    at t.unstable_runWithPriority (scheduler.production.min.js:18)
c.e @ (index):1
(anonymous) @ App.tsx:12
S @ react.production.min.js:18
Fa @ react-dom.production.min.js:269
Ts @ react-dom.production.min.js:250
Es @ react-dom.production.min.js:250
Ls @ react-dom.production.min.js:250
ms @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
t.unstable_runWithPriority @ scheduler.production.min.js:18
Xo @ react-dom.production.min.js:122
Go @ react-dom.production.min.js:123
Uo @ react-dom.production.min.js:122
fs @ react-dom.production.min.js:237
Ci @ react-dom.production.min.js:170
(anonymous) @ useBaseQuery.ts:38
DevTools failed to load source map: Could not parse content for https://*********.com/static/js/7.142f5876.chunk.js.map: Unexpected token < in JSON at position 0
DevTools failed to load source map: Could not parse content for https://*********.com/static/js/1.b4710163.chunk.js.map: Unexpected token < in JSON at position 0
manifest.json:1 Manifest: Line: 1, column: 1, Syntax error.
Did anyone stumble across this problem? Also, I see that my Dagit deployment uses 4 to 10GB memory in my GCP kubernetes logs, is this within the normal ranges?
d
cc @dish in case this rings any bells
d
That looks like the script is 404ing when loaded, which would result in the raw HTML page coming back and failing to parse
I’m not aware of any reasons this would happen normally, so I suggest verifying that the JS file is accessible at that URL