Closed stefano closed 3 years ago
code-server --version
The notebook is opened.
Sometimes, you'll see the loading bar keep running, and it'll never stop, and the notebook won't be loaded.
This doesn't always happen. It's a lot more common in Firefox, but happens in Chrome too.
[2021-08-20T14:41:18.890Z] trace child:15323 got message {"message":{"type":"handshake","args":{"_":[],"bind-addr":"127.0.0.1:8080","auth":"password","password":"befff15dfd2275e86fca060f","config":"[redacted]/.config/code-server/config.yaml","user-data-dir":"[redacted]/srv","log":"trace","extensions-dir":"[redacted]/srv/extensions","verbose":true,"host":"127.0.0.1","port":8080,"proxy-domain":[],"usingEnvPassword":false,"usingEnvHashedPassword":false}}} [2021-08-20T14:41:18.891Z] info code-server 3.11.1 c680aae973d83583e4a73dc0c422f44021f0140e [2021-08-20T14:41:18.891Z] info Using user-data-dir ~/[redacted]/srv [2021-08-20T14:41:18.892Z] trace Using extensions-dir ~/[redacted]/srv/extensions [2021-08-20T14:41:18.913Z] info Using config file ~/.config/code-server/config.yaml [2021-08-20T14:41:18.913Z] info HTTP server listening on http://127.0.0.1:8080 [2021-08-20T14:41:18.914Z] info - Authentication is enabled [2021-08-20T14:41:18.914Z] info - Using password from ~/.config/code-server/config.yaml [2021-08-20T14:41:18.914Z] info - Not serving HTTPS [2021-08-20T14:41:23.603Z] trace heartbeat [2021-08-20T14:41:23.622Z] debug forking vs code... [2021-08-20T14:41:24.491Z] trace got message {"message":{"type":"ready"}} [2021-08-20T14:41:24.491Z] debug setting up vs code... [2021-08-20T14:41:24.494Z] debug vscode got message from code-server {"type":"init"} [2021-08-20T14:41:24.496Z] trace vscode code-server message content {"message":{"type":"init","id":"raRPIhc0mrTFpkHUGwZ8Pst9","options":{"args":{"_":[],"bind-addr":"127.0.0.1:8080","auth":"password","password":"befff15dfd2275e86fca060f","config":"/Users/s/.config/code-server/config.yaml","user-data-dir":"[redacted]/srv","log":"trace","extensions-dir":"[redacted]/srv/extensions","verbose":true,"host":"127.0.0.1","port":8080,"proxy-domain":[],"usingEnvPassword":false,"usingEnvHashedPassword":false},"remoteAuthority":"localhost:8080"}}} TRACE Started scanning user extensions TRACE Extension VSIX downlads cache dir does not exist [2021-08-20T14:41:24.585Z] trace got message {"message":{"type":"options","id":"raRPIhc0mrTFpkHUGwZ8Pst9","options":{"workbenchWebConfiguration":{"remoteAuthority":"localhost:8080","logLevel":0,"workspaceProvider":{"payload":[["userDataPath","[redacted]/srv"],["enableProposedApi","[]"]]}},"remoteUserDataUri":{"$mid":1,"path":"[redacted]/srv","scheme":"vscode-remote","authority":"localhost:8080"},"productConfiguration":{"nameShort":"code-server","nameLong":"code-server","applicationName":"code-oss","dataFolderName":".vscode-oss","win32MutexName":"vscodeoss","licenseName":"MIT","licenseUrl":"https://github.com/microsoft/vscode/blob/main/LICENSE.txt","win32DirName":"Microsoft Code OSS","win32NameVersion":"Microsoft Code OSS","win32RegValueName":"CodeOSS","win32AppId":"{{E34003BB-9E10-4501-8C11-BE3FAA83F23F}","win32x64AppId":"{{D77B7E06-80BA-4137-BCF4-654B95CCEBC5}","win32arm64AppId":"{{D1ACE434-89C5-48D1-88D3-E2991DF85475}","win32UserAppId":"{{C6065F05-9603-4FC4-8101-B9781A25D88E}","win32x64UserAppId":"{{CC6B787D-37A0-49E8-AE24-8559A032BE0C}","win32arm64UserAppId":"{{3AEBF0C8-F733-4AD4-BADE-FDB816D53D7B}","win32AppUserModelId":"Microsoft.CodeOSS","win32ShellNameShort":"C&ode - OSS","darwinBundleIdentifier":"com.visualstudio.code.oss","linuxIconName":"com.visualstudio.code.oss","licenseFileName":"LICENSE.txt","reportIssueUrl":"https://github.com/cdr/code-server/issues/new","urlProtocol":"code-oss","extensionAllowedProposedApi":["ms-vscode.vscode-js-profile-flame","ms-vscode.vscode-js-profile-table","ms-vscode.remotehub","ms-vscode.remotehub-insiders","GitHub.remotehub","GitHub.remotehub-insiders"],"builtInExtensions":[{"name":"ms-vscode.node-debug","version":"1.44.28","repo":"https://github.com/microsoft/vscode-node-debug","metadata":{"id":"b6ded8fb-a0a0-4c1c-acbd-ab2a3bc995a6","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.node-debug2","version":"1.42.7","repo":"https://github.com/microsoft/vscode-node-debug2","metadata":{"id":"36d19e17-7569-4841-a001-947eb18602b2","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.references-view","version":"0.0.80","repo":"https://github.com/microsoft/vscode-references-view","metadata":{"id":"dc489f46-520d-4556-ae85-1f9eab3c412d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.js-debug-companion","version":"1.0.13","repo":"https://github.com/microsoft/vscode-js-debug-companion","metadata":{"id":"99cb0b7f-7354-4278-b8da-6cc79972169d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.js-debug","version":"1.57.0","repo":"https://github.com/microsoft/vscode-js-debug","metadata":{"id":"25629058-ddac-4e17-abba-74678e126c5d","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}},{"name":"ms-vscode.vscode-js-profile-table","version":"0.0.18","repo":"https://github.com/microsoft/vscode-js-profile-visualizer","metadata":{"id":"7e52b41b-71ad-457b-ab7e-0620f1fc4feb","publisherId":{"publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherName":"ms-vscode","displayName":"Microsoft","flags":"verified"},"publisherDisplayName":"Microsoft"}}],"//":"https://github.com/VSCodium/vscodium/pull/155/files","documentationUrl":"https://go.microsoft.com/fwlink/?LinkID=533484#vscode","keyboardShortcutsUrlMac":"https://go.microsoft.com/fwlink/?linkid=832143","keyboardShortcutsUrlLinux":"https://go.microsoft.com/fwlink/?linkid=832144","keyboardShortcutsUrlWin":"https://go.microsoft.com/fwlink/?linkid=832145","introductoryVideosUrl":"https://go.microsoft.com/fwlink/?linkid=832146","tipsAndTricksUrl":"https://go.microsoft.com/fwlink/?linkid=852118","newsletterSignupUrl":"https://www.research.net/r/vsc-newsletter","enableTelemetry":true,"commit":"c680aae973d83583e4a73dc0c422f44021f0140e","date":"2021-08-06T18:33:37Z","version":"1.57.1","extensionsGallery":{"serviceUrl":"https://extensions.coder.com/api","itemUrl":"","controlUrl":"","recommendationsUrl":""}},"nlsConfiguration":{"locale":"en","availableLanguages":{}},"commit":"c680aae973d83583e4a73dc0c422f44021f0140e"}}} TRACE Scanned user extensions: 2 [2021-08-20T14:41:25.044Z] debug vscode got message from code-server {"type":"socket"} [2021-08-20T14:41:25.045Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"Management","reconnectionToken":"e5cd63ac-ea61-42d8-8fc4-5a4c0b8ee3b1","reconnection":"false","skipWebSocketFrames":"false"},"permessageDeflate":false}} [2021-08-20T14:41:25.046Z] debug protocol Initiating handshake... {"token":"e5cd63ac-ea61-42d8-8fc4-5a4c0b8ee3b1"} [2021-08-20T14:41:25.052Z] trace protocol Got message {"message":"{\"type\":\"auth\",\"auth\":\"00000000000000000000\"}","token":"e5cd63ac-ea61-42d8-8fc4-5a4c0b8ee3b1"} [2021-08-20T14:41:25.053Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"c680aae973d83583e4a73dc0c422f44021f0140e\",\"signedData\":\"\",\"desiredConnectionType\":1}","token":"e5cd63ac-ea61-42d8-8fc4-5a4c0b8ee3b1"} [2021-08-20T14:41:25.053Z] debug protocol Handshake completed {"token":"e5cd63ac-ea61-42d8-8fc4-5a4c0b8ee3b1"} [2021-08-20T14:41:25.053Z] debug management Connecting... {"token":"e5cd63ac-ea61-42d8-8fc4-5a4c0b8ee3b1"} [2021-08-20T14:41:25.054Z] debug vscode 1 active management connection(s) [2021-08-20T14:41:25.341Z] debug vscode got message from code-server {"type":"socket"} [2021-08-20T14:41:25.341Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"ExtensionHost","reconnectionToken":"3ce4cb89-b1b6-420a-9473-eaf1318a9bdd","reconnection":"false","skipWebSocketFrames":"false"},"permessageDeflate":false}} [2021-08-20T14:41:25.342Z] debug protocol Initiating handshake... {"token":"3ce4cb89-b1b6-420a-9473-eaf1318a9bdd"} TRACE Started scanning system extensions TRACE Started scanning user extensions [2021-08-20T14:41:25.378Z] trace TerminalProviderChannel:listen {"event":"$onProcessDataEvent"} [2021-08-20T14:41:25.378Z] trace TerminalProviderChannel:listen {"event":"$onProcessExitEvent"} [2021-08-20T14:41:25.378Z] trace TerminalProviderChannel:listen {"event":"$onProcessReadyEvent"} [2021-08-20T14:41:25.378Z] trace TerminalProviderChannel:listen {"event":"$onProcessTitleChangedEvent"} [2021-08-20T14:41:25.378Z] trace TerminalProviderChannel:listen {"event":"$onProcessShellTypeChangedEvent"} [2021-08-20T14:41:25.378Z] trace TerminalProviderChannel:listen {"event":"$onProcessOverrideDimensionsEvent"} [2021-08-20T14:41:25.379Z] trace TerminalProviderChannel:listen {"event":"$onProcessResolvedShellLaunchConfigEvent"} [2021-08-20T14:41:25.379Z] trace TerminalProviderChannel:listen {"event":"$onProcessReplayEvent"} [2021-08-20T14:41:25.379Z] trace TerminalProviderChannel:listen {"event":"$onProcessOrphanQuestion"} [2021-08-20T14:41:25.379Z] trace TerminalProviderChannel:listen {"event":"$onExecuteCommand"} [2021-08-20T14:41:25.380Z] trace TerminalProviderChannel:listen {"event":"$onPtyHostExitEvent"} [2021-08-20T14:41:25.380Z] trace TerminalProviderChannel:listen {"event":"$onPtyHostStartEvent"} [2021-08-20T14:41:25.380Z] trace TerminalProviderChannel:listen {"event":"$onPtyHostUnresponsiveEvent"} [2021-08-20T14:41:25.380Z] trace TerminalProviderChannel:listen {"event":"$onPtyHostResponsiveEvent"} [2021-08-20T14:41:25.380Z] trace TerminalProviderChannel:listen {"event":"$onPtyHostRequestResolveVariablesEvent"} [2021-08-20T14:41:25.411Z] trace protocol Got message {"message":"{\"type\":\"auth\",\"auth\":\"00000000000000000000\"}","token":"3ce4cb89-b1b6-420a-9473-eaf1318a9bdd"} [2021-08-20T14:41:25.411Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"c680aae973d83583e4a73dc0c422f44021f0140e\",\"signedData\":\"\",\"desiredConnectionType\":2,\"args\":{\"language\":\"en\",\"break\":false,\"port\":null}}","token":"3ce4cb89-b1b6-420a-9473-eaf1318a9bdd"} [2021-08-20T14:41:25.411Z] debug protocol Handshake completed {"token":"3ce4cb89-b1b6-420a-9473-eaf1318a9bdd"} [2021-08-20T14:41:25.412Z] debug exthost Connecting... {"token":"3ce4cb89-b1b6-420a-9473-eaf1318a9bdd"} [2021-08-20T14:41:25.412Z] debug exthost Getting NLS configuration... {"token":"3ce4cb89-b1b6-420a-9473-eaf1318a9bdd"} [2021-08-20T14:41:25.414Z] debug vscode 1 active exthost connection(s) [2021-08-20T14:41:25.414Z] debug exthost Spawning extension host... {"token":"3ce4cb89-b1b6-420a-9473-eaf1318a9bdd"} [2021-08-20T14:41:25.437Z] debug exthost Waiting for handshake... {"token":"3ce4cb89-b1b6-420a-9473-eaf1318a9bdd"} [2021-08-20T14:41:25.474Z] debug got latest version {"latest":"3.11.1"} [2021-08-20T14:41:25.474Z] debug comparing versions {"current":"3.11.1","latest":"3.11.1"} [2021-08-20T14:41:25.533Z] trace TerminalProviderChannel:call {"command":"$getTerminalLayoutInfo","args":{"workspaceId":"empty-window"}} [2021-08-20T14:41:25.534Z] trace TerminalProviderChannel:call {"command":"$getProfiles","args":[{"bash":{"path":"bash","args":["-l"],"icon":"terminal-bash"},"zsh":{"path":"zsh","args":["-l"]},"fish":{"path":"fish","args":["-l"]},"tmux":{"path":"tmux","icon":"terminal-tmux"},"pwsh":{"path":"pwsh","icon":"terminal-powershell"}},null,null]} [2021-08-20T14:41:25.546Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[1,["bash"]]} [2021-08-20T14:41:25.547Z] trace TerminalProviderChannel:call {"command":"$reduceConnectionGraceTime"} [2021-08-20T14:41:25.639Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[2,["zsh"]]} [2021-08-20T14:41:25.758Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[3,["fish"]]} [2021-08-20T14:41:25.874Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[4,["tmux"]]} [2021-08-20T14:41:26.186Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[5,["pwsh"]]} [2021-08-20T14:41:26.368Z] debug exthost Handshake completed {"token":"3ce4cb89-b1b6-420a-9473-eaf1318a9bdd"} [2021-08-20T14:41:26.368Z] debug exthost Sending socket {"token":"3ce4cb89-b1b6-420a-9473-eaf1318a9bdd"} [2021-08-20T14:41:26.454Z] trace TerminalProviderChannel:call {"command":"$getDefaultSystemShell","args":[2]} [2021-08-20T14:41:26.455Z] trace TerminalProviderChannel:call {"command":"$getDefaultSystemShell","args":[2]} [2021-08-20T14:41:26.458Z] trace TerminalProviderChannel:call {"command":"$getEnvironment"} [2021-08-20T14:41:26.458Z] trace TerminalProviderChannel:call {"command":"$getEnvironment"} [2021-08-20T14:41:26.562Z] trace TerminalProviderChannel:call {"command":"$getDefaultSystemShell","args":[2]} [2021-08-20T14:41:26.565Z] trace TerminalProviderChannel:call {"command":"$getEnvironment"} [2021-08-20T14:41:27.514Z] trace TerminalProviderChannel:call {"command":"$getProfiles","args":[{"bash":{"path":"bash","args":["-l"],"icon":"terminal-bash"},"zsh":{"path":"zsh","args":["-l"]},"fish":{"path":"fish","args":["-l"]},"tmux":{"path":"tmux","icon":"terminal-tmux"},"pwsh":{"path":"pwsh","icon":"terminal-powershell"}},null,null]} [2021-08-20T14:41:27.517Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[6,["bash"]]} [2021-08-20T14:41:27.520Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[7,["zsh"]]} [2021-08-20T14:41:27.523Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[8,["fish"]]} [2021-08-20T14:41:27.528Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[9,["tmux"]]} [2021-08-20T14:41:27.532Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[10,["pwsh"]]} ^C[2021-08-20T14:41:41.671Z] debug child:15323 disposing {"code":"SIGINT"}
This issue can be reproduced in VS Code: No
Relevant bugfix submitted to vscode: https://github.com/microsoft/vscode/pull/131408
OS/Web Information
code-server --version
: 3.11.1 c680aae973d83583e4a73dc0c422f44021f0140eSteps to Reproduce
Expected
The notebook is opened.
Actual
Sometimes, you'll see the loading bar keep running, and it'll never stop, and the notebook won't be loaded.
This doesn't always happen. It's a lot more common in Firefox, but happens in Chrome too.
Logs
Screenshot
Notes
This issue can be reproduced in VS Code: No