Blank white page after authentication when using Safari with Nginx reverse-proxy but works fine with Chrome
See original GitHub issueOS/Web Information
- Web Browser: Safari 14.1.1
- Local OS: Debian GNU/Linux 10 (buster) hosting docker (linuxserver/code-server:latest)
- Remote OS: Mac OS Big Sur 11.4
- Remote Architecture: x86 / MacBook Pro (16-inch, 2019)
code-server --version
: v3.11.0
Steps to Reproduce
- Setup Nginx reverse proxy with the following differences:
- Code-Server runs in a docker container, while Nginx runs in a separate container
- Code-Server listens on regular http://Code-Server:8443/ while Nginx listens on secure https😕/nas.example.com:8080/
- Load up page in Safari.
- Enter password
- See blank white page
- Repeat steps 2 and 3 in Chrome and it works fine.
Actual
Chrome works fine, though it also has errors in the console. I have coded projects with it just fine, but Safari fails after trying to sign in. I enter the pasword and press enter and I get a white page. No number of refreshes corrects the issues (and it no longer asks me for the password unless I purge cookies or launch a new private tab). I prefer Safari when on battery as I get an extra several hours of usage.
Logs
The Safari (results in white/blank page) and Chrome (works correctly despite errors) console logs are below. As a note, I’ve changed the domain to be nas.domain.com for privacy and this is after entering the correct password and pressing submit:
Safari
[Error] Something went wrong setting the body background to the theme background color.
(anonymous function) (vscode.browserified.js:673)
o (vscode.browserified.js:1:270)
r (vscode.browserified.js:1:433)
Global Code (vscode.browserified.js:1:461)
[Error] Error: [vscode] Could not set body background to theme background color. Could not find colorThemeData in localStorage. — vscode.browserified.js:642
(anonymous function) (vscode.browserified.js:674)
o (vscode.browserified.js:1:270)
r (vscode.browserified.js:1:433)
Global Code (vscode.browserified.js:1:461)
[Error] Failed to load resource: the server responded with a status of 404 () (serviceWorker.js, line 0)
[Log] error [Service Worker] registration: Script https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/dist/serviceWorker.js load failed undefined (vscode.browserified.js, line 129)
[Error] WebSocket network error: The operation couldn’t be completed. (OSStatus error -9836.) (x2)
[Log] ERR – "[remote-connection][Management ][2de44…][initial][nas.domain.com:80] socketFactory.connect() failed or timed out. Error:" (workbench.web.api.js, line 627)
[Log] ERR – Error: WebSocket close with status code 1006 (workbench.web.api.js, line 627)
Error: WebSocket close with status code 1006
[Log] ERR – "[remote-connection] An error occurred in the very first connect attempt, it will be treated as a permanent error! Error:" (workbench.web.api.js, line 627)
[Log] ERR – Error: WebSocket close with status code 1006 (workbench.web.api.js, line 627)
Error: WebSocket close with status code 1006
[Log] ERR – Error: WebSocket close with status code 1006 (workbench.web.api.js, line 627)
Error: WebSocket close with status code 1006
[Log] WARN – "Ignoring the error while validating workspace folder vscode-remote://nas.domain.com/config/workspace - WebSocket close with statu…" (workbench.web.api.js, line 627)
"Ignoring the error while validating workspace folder vscode-remote://nas.domain.com/config/workspace - WebSocket close with status code 1006"
[Log] ERR – "JSON Parse error: Unexpected identifier \"undefined\": parse@[native code…" (workbench.web.api.js, line 627)
"JSON Parse error: Unexpected identifier \"undefined\": parse@[native code]
ai@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:2303:6177720
_createInstance@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1951915
_createAndCacheServiceInstance@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1953533
_safeCreateAndCacheServiceInstance@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1952730
get@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1951016
initLayout@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:2722:8077526
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:2722:8124854
invokeFunction@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1950859
startup@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:2722:8124715
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:2848:8697667
asyncFunctionResume@[native code]
[native code]
promiseReactionJobWithoutPromise@[native code]
promiseReactionJob@[native code]"
[Log] ERR – "Unable to read file 'vscode-remote://nas.domain.com/config/workspace/.vscode/settings.json' (Error: WebSocket close with status cod…" (workbench.web.api.js, line 627)
"Unable to read file 'vscode-remote://nas.domain.com/config/workspace/.vscode/settings.json' (Error: WebSocket close with status code 1006): _@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:624:1932241
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:634:2040081
asyncFunctionResume@[native code]
[native code]
promiseReactionJobWithoutPromise@[native code]"
[Log] ERR – "Unable to read file 'vscode-remote://nas.domain.com/config/workspace/.vscode/tasks.json' (Error: WebSocket close with status cod…" (workbench.web.api.js, line 627)
"Unable to read file 'vscode-remote://nas.domain.com/config/workspace/.vscode/tasks.json' (Error: WebSocket close with status code 1006): _@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:624:1932241
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:634:2040081
asyncFunctionResume@[native code]
[native code]
promiseReactionJobWithoutPromise@[native code]"
[Log] ERR – "Unable to read file 'vscode-remote://nas.domain.com/config/workspace/.vscode/launch.json' (Error: WebSocket close with status cod…" (workbench.web.api.js, line 627)
"Unable to read file 'vscode-remote://nas.domain.com/config/workspace/.vscode/launch.json' (Error: WebSocket close with status code 1006): _@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:624:1932241
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:634:2040081
asyncFunctionResume@[native code]
[native code]
promiseReactionJobWithoutPromise@[native code]"
[Warning] The web worker extension host is started without an iframe sandbox! (workbench.web.api.js, line 1867)
[Log] ERR – "Unable to read file 'vscode-remote://nas.domain.com/config/workspace/.vscode/settings.json' (Error: WebSocket close with status cod…" (workbench.web.api.js, line 627)
"Unable to read file 'vscode-remote://nas.domain.com/config/workspace/.vscode/settings.json' (Error: WebSocket close with status code 1006): _@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:624:1932241
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:634:2040081
asyncFunctionResume@[native code]
[native code]
promiseReactionJobWithoutPromise@[native code]"
[Log] ERR – "Unable to read file 'vscode-remote://nas.domain.com/config/workspace/.vscode/tasks.json' (Error: WebSocket close with status cod…" (workbench.web.api.js, line 627)
"Unable to read file 'vscode-remote://nas.domain.com/config/workspace/.vscode/tasks.json' (Error: WebSocket close with status code 1006): _@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:624:1932241
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:634:2040081
asyncFunctionResume@[native code]
[native code]
promiseReactionJobWithoutPromise@[native code]"
[Log] ERR – "Unable to read file 'vscode-remote://nas.domain.com/config/workspace/.vscode/launch.json' (Error: WebSocket close with status cod…" (workbench.web.api.js, line 627)
"Unable to read file 'vscode-remote://nas.domain.com/config/workspace/.vscode/launch.json' (Error: WebSocket close with status code 1006): _@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:624:1932241
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:634:2040081
asyncFunctionResume@[native code]
[native code]
promiseReactionJobWithoutPromise@[native code]"
[Error] Error: WebSocket close with status code 1006
O@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:634:2152101
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:634:2153860
(anonymous function) (workbench.web.api.js:8)
[Log] ERR – "Unable to read file 'vscode-remote:/config/data/User/settings.json' (Error: WebSocket close with status code 1006)…" (workbench.web.api.js, line 627)
"Unable to read file 'vscode-remote:/config/data/User/settings.json' (Error: WebSocket close with status code 1006): _@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:624:1932241
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:634:2040081
asyncFunctionResume@[native code]
[native code]
promiseReactionJobWithoutPromise@[native code]"
[Log] ERR – "Unable to read file 'vscode-remote:/config/data/User/tasks.json' (Error: WebSocket close with status code 1006)…" (workbench.web.api.js, line 627)
"Unable to read file 'vscode-remote:/config/data/User/tasks.json' (Error: WebSocket close with status code 1006): _@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:624:1932241
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:634:2040081
asyncFunctionResume@[native code]
[native code]
promiseReactionJobWithoutPromise@[native code]"
[Error] SyntaxError: JSON Parse error: Unexpected identifier "undefined"
parse (workbench.web.api.js:2303:6177721)
ai (workbench.web.api.js:2303:6177721)
_createInstance (workbench.web.api.js:625:1951916)
_createAndCacheServiceInstance (workbench.web.api.js:625:1953534)
_safeCreateAndCacheServiceInstance (workbench.web.api.js:625:1952731)
_createInstance (workbench.web.api.js:625:1951521)
createInstance (workbench.web.api.js:625:1951345)
acquireInstantiationService (workbench.web.api.js:2403:6568132)
(anonymous function) (workbench.web.api.js:2722:8125585)
[Log] ERR – "WebSocket close with status code 1006: O@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.c…" (workbench.web.api.js, line 627)
"WebSocket close with status code 1006: O@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:634:2152101
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:634:2153860"
[Log] ERR – "JSON Parse error: Unexpected identifier \"undefined\": parse@[native code…" (workbench.web.api.js, line 627)
"JSON Parse error: Unexpected identifier \"undefined\": parse@[native code]
ai@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:2303:6177720
_createInstance@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1951915
_createAndCacheServiceInstance@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1953533
_safeCreateAndCacheServiceInstance@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1952730
get@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1951016
initLayout@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:2722:8077526
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:2722:8124854
invokeFunction@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1950859
startup@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:2722:8124715
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:2848:8697667
asyncFunctionResume@[native code]
[native code]
promiseReactionJobWithoutPromise@[native code]
promiseReactionJob@[native code]"
[Log] ERR – "WebSocket close with status code 1006: O@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.c…" (workbench.web.api.js, line 627)
"WebSocket close with status code 1006: O@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:634:2152101
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:634:2153860"
[Error] WebSocket network error: The operation couldn’t be completed. (OSStatus error -9836.) (x2)
[Log] ERR – "[remote-connection][ExtensionHost][f5181…][initial][nas.domain.com:80] socketFactory.connect() failed or timed out. Error:" (workbench.web.api.js, line 627)
[Log] ERR – Error: WebSocket close with status code 1006 (workbench.web.api.js, line 627)
Error: WebSocket close with status code 1006
[Log] ERR – "[remote-connection] An error occurred in the very first connect attempt, it will be treated as a permanent error! Error:" (workbench.web.api.js, line 627)
[Log] ERR – Error: WebSocket close with status code 1006 (workbench.web.api.js, line 627)
Error: WebSocket close with status code 1006
[Error] Error received from starting extension host (kind: 2)
(anonymous function) (workbench.web.api.js:1861:5151723)
promiseReactionJob
[Error] Error: WebSocket close with status code 1006
(anonymous function) (workbench.web.api.js:1861:5151805)
promiseReactionJob
[Log] ERR – "JSON Parse error: Unexpected identifier \"undefined\": parse@[native code…" (workbench.web.api.js, line 627)
"JSON Parse error: Unexpected identifier \"undefined\": parse@[native code]
ai@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:2303:6177720
_createInstance@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1951915
_createAndCacheServiceInstance@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1953533
_safeCreateAndCacheServiceInstance@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1952730
_createInstance@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1951520
createInstance@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:625:1951344
_createExtensionHostCustomers@https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:1861:5153828
https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/lib/vscode/out/vs/workbench/workbench.web.api.js:1861:5151699
promiseReactionJob@[native code]"
[Error] Unhandled Promise Rejection: Error: Unknown actor MainThreadWindow
(anonymous function)
promiseReactionJob
Chrome
vscode.browserified.js:673 Something went wrong setting the body background to the theme background color.
4.../../common/util @ vscode.browserified.js:673
o @ vscode.browserified.js:1
r @ vscode.browserified.js:1
(anonymous) @ vscode.browserified.js:1
vscode.browserified.js:674 Error: [vscode] Could not set body background to theme background color. Could not find colorThemeData in localStorage.
at setBodyBackgroundToThemeBackgroundColor (vscode.browserified.js:643)
at Object.4.../../common/util (vscode.browserified.js:670)
at o (vscode.browserified.js:1)
at r (vscode.browserified.js:1)
at vscode.browserified.js:1
4.../../common/util @ vscode.browserified.js:674
o @ vscode.browserified.js:1
r @ vscode.browserified.js:1
(anonymous) @ vscode.browserified.js:1
A bad HTTP response code (404) was received when fetching the script.
vscode.browserified.js:129 error [Service Worker] registration: Failed to register a ServiceWorker for scope ('https://nas.domain.com:8080/') with script ('https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/dist/serviceWorker.js'): A bad HTTP response code (404) was received when fetching the script. TypeError: Failed to register a ServiceWorker for scope ('https://nas.domain.com:8080/') with script ('https://nas.domain.com:8080/static/4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd/usr/local/share/.config/yarn/global/node_modules/code-server/dist/serviceWorker.js'): A bad HTTP response code (404) was received when fetching the script.
webWorkerExtensionHost.ts:117 The web worker extension host is started without an iframe sandbox!
start @ webWorkerExtensionHost.ts:117
Zn @ extensionHostManager.ts:69
_createInstance @ instantiationService.ts:110
createInstance @ instantiationService.ts:76
(anonymous) @ abstractExtensionService.ts:602
_startExtensionHosts @ abstractExtensionService.ts:601
_initialize @ abstractExtensionService.ts:505
(anonymous) @ extensionService.ts:78
async function (async)
(anonymous) @ extensionService.ts:77
Promise.then (async)
La @ extensionService.ts:76
_createInstance @ instantiationService.ts:110
_createServiceInstance @ instantiationService.ts:230
_createServiceInstanceWithOwner @ instantiationService.ts:219
_createAndCacheServiceInstance @ instantiationService.ts:208
_safeCreateAndCacheServiceInstance @ instantiationService.ts:151
_getOrCreateServiceInstance @ instantiationService.ts:135
get @ instantiationService.ts:54
initLayout @ layout.ts:255
(anonymous) @ workbench.ts:141
invokeFunction @ instantiationService.ts:61
startup @ workbench.ts:134
open @ web.main.ts:98
async function (async)
open @ web.main.ts:89
oe @ web.main.ts:390
m @ workbench.web.api.ts:526
(anonymous) @ workbench.ts:503
(anonymous) @ workbench.ts:510
r._invokeFactory @ loader.js:1136
r.complete @ loader.js:1146
r._onModuleComplete @ loader.js:1772
r._onModuleComplete @ loader.js:1784
r._resolve @ loader.js:1732
r.defineModule @ loader.js:1375
o @ loader.js:1660
v @ loader.js:2167
r._invokeFactory @ loader.js:1136
r.complete @ loader.js:1146
r._onModuleComplete @ loader.js:1772
r._onModuleComplete @ loader.js:1784
r._resolve @ loader.js:1732
r.defineModule @ loader.js:1375
p @ loader.js:1822
(anonymous) @ workbench.nls.js:7
console.ts:137 [Extension Host] Looking for parseable documents...
console.ts:137 [Extension Host] Found no documents
Notes
This issue can be reproduced in VS Code: No
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:18 (8 by maintainers)
Top Results From Across the Web
Blank white page after authentication when using Safari with ...
Blank white page after authentication when using Safari with Nginx reverse-proxy but works fine with Chrome #3850.
Read more >Nginx reverse proxy works fine with Safari and Firefox but ...
I use Nginx as reverse proxy to forward my Https request to backend server (which runs in Http protocol with port 7654 in...
Read more >Bokeh with NGINX reverse proxy gives a Blank White Screen
Hi, I have bee struggling with this problem for a few weeks, the problem is detailed here: Bokeh Sever with NGINX gives Blank...
Read more >How to Fix a 500 Internal Server Error on Your WordPress Site
500 Internal server error in WordPress can be caused by many things. ... Other times, you might simply see a blank white screen....
Read more >How to Fix 502 Bad Gateway Error - Hostinger
502 bad gateway is one of the many HTTP status codes. Follow this tutorial and learn what this 502 error means and how...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@code-asher I’m sorry that I’ve been so busy these last couple months to check into this issue, but your thorough response was not in vain because you nailed the issue exactly! It seems Apple does not yet support TLS 1.3 on web sockets! So bizarre and strangely behind!
For anyone running an Nginx reverse proxy, I have a
default.conf
file that doesn’t allow anything less than TLS 1.3, but there’s a configuration file for each of my applications, including code-server. Within yourserver {}
configuration for your code-server configuration, you could apply the following to allow downgrades to TLS 1.2 for only that service:Thanks again @code-asher for your help! I’m going to close this issue now.
I am elated we got to the bottom of it!
I will add a note about this to our docs.