镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

unable to activate any extension #3140

Description

@its-dibo

summary

I can open code-server, but suddenly I can't see any extension loaded
I see 'Activating extensions' for seconds, but no any extension loaded without any failure message.
this also makes git don't work, check the attached screenshot.

OS/Web Information

  • Web Browser: Google chrome Version 89.0.4389.128 (Official Build) (64-bit)
  • Local OS: windows 8.1 pro preview
  • Remote OS: Debian GNU/Linux 10 (buster)
  • Remote Architecture:
  • code-server --version: 3.9.3

Steps to Reproduce

  1. installed via script: curl -fsSL https://code-server.dev/install.sh | sh

Expected

run normally with all extensions activated.

Actual

extensions don't activated.

Screenshot

image

Notes

This issue can be reproduced in VS Code: Yes/No (don't know)

Activity

  1. jsjoeio commented on Apr 15, 2021

    @jsjoeio
    Contributor

    Hi @eng-dibo - can you please update the issue description and use the bug-report template? That will help us help you. Thanks!

  2. its-dibo commented on Apr 15, 2021

    @its-dibo
    Author

    issue updated, @jsjoeio

  3. jsjoeio commented on Apr 15, 2021

    @jsjoeio
    Contributor

    Unfortunately, I cannot reproduce locally (I tested two extensions - theme and Vim)

    Screenshot

    Screen.Recording.2021-04-15.at.2.15.12.PM.mov

    Next Steps

    Can you:

    • list all the extensions you're using (or post a screenshot)
    • uninstall all extensions and see if you get the same issue

    I've seen this in the past happen in VS Code and it's usually from a specific extension. Hoping that's the case here.

  4. its-dibo commented on Apr 15, 2021

    @its-dibo
    Author

    the console output, without ---verbose flag

    8080-cs-38445546507-default.cs-europe-west1-itbg.cloudshell.dev/:1 [Deprecation] ::-webkit-details-marker pseudo element selector is deprecated. Please use ::marker instead. See https://chromestatus.com/feature/6730096436051968 for more details.
    register.ts:14 [Service Worker] registered
    content.js:1 Uncaught ReferenceError: STORAGE is not defined
        at new Content (content.js:1)
        at content.js:7
    xx.js:1 Uncaught ReferenceError: AbstrP is not defined
        at xx.js:1
    app.js:283 works
    8080-cs-38445546507-default.cs-europe-west1-itbg.cloudshell.dev/:1 Site cannot be installed: Page does not work offline. Starting in Chrome 93, the installability criteria is changing, and this site will not be installable. See https://goo.gle/improved-pwa-offline-detection for more information.
    webWorkerExtensionHost.ts:125 The web worker extension host is started without an iframe sandbox!
    start @ webWorkerExtensionHost.ts:125
    log.ts:284  INFO [remote-connection][ExtensionHost][f8ec0…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
    log.ts:284  INFO [remote-connection][ExtensionHost][f8ec0…][reconnect] resolving connection...
    log.ts:284  INFO [remote-connection][ExtensionHost][f8ec0…][reconnect] connecting to 127.0.0.1:8080...
    log.ts:284  INFO [remote-connection][ExtensionHost][f8ec0…][reconnect] reconnected!
    DevTools failed to load SourceMap: Could not load content for https://8080-cs-38445546507-default.cs-europe-west1-itbg.cloudshell.dev/static/fe2dc2deb08e378069891b622bb62ad1d261d1b1/usr/lib/code-server/dist/pages/pages/vscode.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    log.ts:284  INFO [remote-connection][Management   ][8bf07…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
    log.ts:284  INFO [remote-connection][Management   ][8bf07…][reconnect] resolving connection...
    log.ts:284  INFO [remote-connection][Management   ][8bf07…][reconnect] connecting to 127.0.0.1:8080...
    log.ts:284  INFO [remote-connection][Management   ][8bf07…][reconnect] reconnected!
    log.ts:284  INFO [remote-connection][ExtensionHost][f8ec0…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
    log.ts:284  INFO [remote-connection][ExtensionHost][f8ec0…][reconnect] resolving connection...
    log.ts:284  INFO [remote-connection][ExtensionHost][f8ec0…][reconnect] connecting to 127.0.0.1:8080...
    log.ts:284  INFO [remote-connection][ExtensionHost][f8ec0…][reconnect] reconnected!
    extensionHostManager.ts:73 Error received from starting extension host
    (anonymous) @ extensionHostManager.ts:73
    extensionHostManager.ts:74 timeout
    (anonymous) @ extensionHostManager.ts:74
    log.ts:284  INFO [remote-connection][ExtensionHost][f8ec0…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
    log.ts:284  INFO [remote-connection][ExtensionHost][f8ec0…][reconnect] resolving connection...
    log.ts:284  INFO [remote-connection][ExtensionHost][f8ec0…][reconnect] connecting to 127.0.0.1:8080...
    log.ts:284  INFO [remote-connection][ExtensionHost][f8ec0…][reconnect] reconnected!
    

    with --verbose

    ?authuser=0:1 [Deprecation] ::-webkit-details-marker pseudo element selector is deprecated. Please use ::marker instead. See https://chromestatus.com/feature/6730096436051968 for more details.
    vscode.js:6 debug got options
    logger.ts:173 debug got options
    register.ts:14 [Service Worker] registered
    content.js:1 Uncaught ReferenceError: STORAGE is not defined
        at new Content (content.js:1)
        at content.js:7
    xx.js:1 Uncaught ReferenceError: AbstrP is not defined
        at xx.js:1
    app.js:283 works
    log.ts:272 TRACE [remote-connection][Management   ][58a28…][initial][127.0.0.1:8080] 1/6. invoking socketFactory.connect().
    log.ts:272 TRACE [remote-connection][Management   ][58a28…][initial][127.0.0.1:8080] 2/6. socketFactory.connect() was successful.
    log.ts:272 TRACE [remote-connection][Management   ][58a28…][initial][127.0.0.1:8080] 3/6. sending AuthRequest control message.
    log.ts:272 TRACE [remote-connection][Management   ][58a28…][initial][127.0.0.1:8080] 4/6. received SignRequest control message.
    log.ts:272 TRACE [remote-connection][Management   ][58a28…][initial][127.0.0.1:8080] 5/6. sending ConnectionTypeRequest control message.
    ?authuser=0:1 Site cannot be installed: Page does not work offline. Starting in Chrome 93, the installability criteria is changing, and this site will not be installable. See https://goo.gle/improved-pwa-offline-detection for more information.
    log.ts:272 TRACE [remote-connection][Management   ][58a28…][initial][127.0.0.1:8080] 6/6. handshake finished, connection is up and running after 436 ms!
    log.ts:272 TRACE Error while resolving configuration file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/%40eng-dibo/ngx/.vscode/tasks.json': Unable to read file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/tasks.json' (Error: Unable to resolve non-existing file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/tasks.json')
    log.ts:272 TRACE Error while resolving configuration file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/%40eng-dibo/ngx/.vscode/launch.json': Unable to read file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/launch.json' (Error: Unable to resolve non-existing file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/launch.json')
    log.ts:272 TRACE Error while resolving configuration file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/%40eng-dibo/ngx/.vscode/tasks.json': Unable to read file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/tasks.json' (Error: Unable to resolve non-existing file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/tasks.json')
    log.ts:272 TRACE Error while resolving configuration file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/%40eng-dibo/ngx/.vscode/launch.json': Unable to read file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/launch.json' (Error: Unable to resolve non-existing file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/launch.json')
    log.ts:272 TRACE Error while resolving configuration file 'vscode-remote:/home/sh_eldeeb_2010/.local/share/code-server/User/tasks.json': Unable to read file 'vscode-remote:/home/sh_eldeeb_2010/.local/share/code-server/User/tasks.json' (Error: Unable to resolve non-existing file 'vscode-remote:/home/sh_eldeeb_2010/.local/share/code-server/User/tasks.json')
    log.ts:278 DEBUG Configuration keys changed in WORKSPACE target prettier.arrowParens editor.defaultFormatter editor.formatOnSave files.autoSave editor.fastScrollSensitivity editor.mouseWheelZoom editor.showFoldingControls editor.stablePeek editor.fontSize diffEditor.codeLens diffEditor.renderSideBySide window.title explorer.confirmDelete explorer.decorations.badges git.allowForcePush tslint.jsEnable editor.codeActionsOnSave
    log.ts:278 DEBUG Configuration keys changed in USER target git.path scssLint.runOnTextChange angular.experimental-ivy [typescript] workbench.startupEditor git.autofetch git.confirmForcePush tslint.jsEnable explorer.confirmDragAndDrop diffEditor.ignoreTrimWhitespace git.enableSmartCommit git.confirmSync
    DevTools failed to load SourceMap: Could not load content for https://8080-cs-38445546507-default.cs-europe-west1-itbg.cloudshell.dev/static/fe2dc2deb08e378069891b622bb62ad1d261d1b1/usr/lib/code-server/dist/pages/pages/vscode.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    log.ts:272 TRACE Skipping initializing user data as settings sync is not enabled
    log.ts:272 TRACE UserDataInitializationService#requiresInitialization
    log.ts:272 TRACE lifecycle: phase changed (value: 2)
    log.ts:272 TRACE Layout#layout, height: 625, width: 670
    log.ts:278 DEBUG Checking for update...
    webWorkerExtensionHost.ts:125 The web worker extension host is started without an iframe sandbox!
    start @ webWorkerExtensionHost.ts:125
    Kn @ extensionHostManager.ts:67
    _createInstance @ instantiationService.ts:110
    createInstance @ instantiationService.ts:76
    (anonymous) @ abstractExtensionService.ts:447
    _startExtensionHosts @ abstractExtensionService.ts:446
    _initialize @ abstractExtensionService.ts:411
    (anonymous) @ extensionService.ts:74
    Promise.then (async)
    Xs @ extensionService.ts:74
    _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:137
    invokeFunction @ instantiationService.ts:61
    startup @ workbench.ts:130
    open @ web.main.ts:95
    async function (async)
    open @ web.main.ts:85
    log.ts:272 TRACE workbench configuration {"webviewEndpoint":"https://8080-cs-38445546507-default.cs-europe-west1-itbg.cloudshell.dev/webview","folderUri":{"$mid":1,"path":"/home/sh_eldeeb_2010/@eng-dibo/ngx","scheme":"vscode-remote","authority":"127.0.0.1:8080"},"remoteAuthority":"127.0.0.1:8080","logLevel":0,"workspaceProvider":{"workspace":{"folderUri":{"$mid":1,"external":"vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/%40eng-dibo/ngx","path":"/home/sh_eldeeb_2010/@eng-dibo/ngx","scheme":"vscode-remote","authority":"127.0.0.1:8080"}},"payload":[["userDataPath","/home/sh_eldeeb_2010/.local/share/code-server"],["enableProposedApi","[]"]],"trusted":true},"urlCallbackProvider":{"_store":{"_toDispose":{},"_isDisposed":false},"_onCallback":{"_disposed":false,"_listeners":{"_first":{"next":{},"prev":{}},"_last":{"next":{},"prev":{}},"_size":1}}},"credentialsProvider":{}}
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][initial][127.0.0.1:8080] 1/6. invoking socketFactory.connect().
    log.ts:272 TRACE lifecycle: phase changed (value: 3)
    log.ts:272 TRACE UserDataInitializationService#requiresInitialization
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][initial][127.0.0.1:8080] 2/6. socketFactory.connect() was successful.
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][initial][127.0.0.1:8080] 3/6. sending AuthRequest control message.
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][initial][127.0.0.1:8080] 4/6. received SignRequest control message.
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][initial][127.0.0.1:8080] 5/6. sending ConnectionTypeRequest control message.
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][initial][127.0.0.1:8080] 6/6. handshake finished, connection is up and running after 394 ms!
    log.ts:272 TRACE lifecycle: phase changed (value: 4)
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE RequestService#request https://extensions.coder.com/api/extensionquery
    log.ts:272 TRACE RequestService#request https://extensions.coder.com/api/extensionquery
    log.ts:284  INFO [remote-connection][ExtensionHost][2596e…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
    log.ts:284  INFO [remote-connection][ExtensionHost][2596e…][reconnect] resolving connection...
    log.ts:284  INFO [remote-connection][ExtensionHost][2596e…][reconnect] connecting to 127.0.0.1:8080...
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][reconnect][127.0.0.1:8080] 1/6. invoking socketFactory.connect().
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][reconnect][127.0.0.1:8080] 2/6. socketFactory.connect() was successful.
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][reconnect][127.0.0.1:8080] 3/6. sending AuthRequest control message.
    ​ TRACE [remote-connection][ExtensionHost][2596e…][reconnect][127.0.0.1:8080] 4/6. received SignRequest control message.
    ​ TRACE [remote-connection][ExtensionHost][2596e…][reconnect][127.0.0.1:8080] 5/6. sending ConnectionTypeRequest control message.
    

    command line output (with --verbose)

    ?authuser=0:1 [Deprecation] ::-webkit-details-marker pseudo element selector is deprecated. Please use ::marker instead. See https://chromestatus.com/feature/6730096436051968 for more details.
    vscode.js:6 debug got options
    logger.ts:173 debug got options
    register.ts:14 [Service Worker] registered
    content.js:1 Uncaught ReferenceError: STORAGE is not defined
        at new Content (content.js:1)
        at content.js:7
    xx.js:1 Uncaught ReferenceError: AbstrP is not defined
        at xx.js:1
    app.js:283 works
    log.ts:272 TRACE [remote-connection][Management   ][58a28…][initial][127.0.0.1:8080] 1/6. invoking socketFactory.connect().
    log.ts:272 TRACE [remote-connection][Management   ][58a28…][initial][127.0.0.1:8080] 2/6. socketFactory.connect() was successful.
    log.ts:272 TRACE [remote-connection][Management   ][58a28…][initial][127.0.0.1:8080] 3/6. sending AuthRequest control message.
    log.ts:272 TRACE [remote-connection][Management   ][58a28…][initial][127.0.0.1:8080] 4/6. received SignRequest control message.
    log.ts:272 TRACE [remote-connection][Management   ][58a28…][initial][127.0.0.1:8080] 5/6. sending ConnectionTypeRequest control message.
    ?authuser=0:1 Site cannot be installed: Page does not work offline. Starting in Chrome 93, the installability criteria is changing, and this site will not be installable. See https://goo.gle/improved-pwa-offline-detection for more information.
    log.ts:272 TRACE [remote-connection][Management   ][58a28…][initial][127.0.0.1:8080] 6/6. handshake finished, connection is up and running after 436 ms!
    log.ts:272 TRACE Error while resolving configuration file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/%40eng-dibo/ngx/.vscode/tasks.json': Unable to read file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/tasks.json' (Error: Unable to resolve non-existing file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/tasks.json')
    log.ts:272 TRACE Error while resolving configuration file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/%40eng-dibo/ngx/.vscode/launch.json': Unable to read file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/launch.json' (Error: Unable to resolve non-existing file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/launch.json')
    log.ts:272 TRACE Error while resolving configuration file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/%40eng-dibo/ngx/.vscode/tasks.json': Unable to read file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/tasks.json' (Error: Unable to resolve non-existing file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/tasks.json')
    log.ts:272 TRACE Error while resolving configuration file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/%40eng-dibo/ngx/.vscode/launch.json': Unable to read file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/launch.json' (Error: Unable to resolve non-existing file 'vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/@eng-dibo/ngx/.vscode/launch.json')
    log.ts:272 TRACE Error while resolving configuration file 'vscode-remote:/home/sh_eldeeb_2010/.local/share/code-server/User/tasks.json': Unable to read file 'vscode-remote:/home/sh_eldeeb_2010/.local/share/code-server/User/tasks.json' (Error: Unable to resolve non-existing file 'vscode-remote:/home/sh_eldeeb_2010/.local/share/code-server/User/tasks.json')
    log.ts:278 DEBUG Configuration keys changed in WORKSPACE target prettier.arrowParens editor.defaultFormatter editor.formatOnSave files.autoSave editor.fastScrollSensitivity editor.mouseWheelZoom editor.showFoldingControls editor.stablePeek editor.fontSize diffEditor.codeLens diffEditor.renderSideBySide window.title explorer.confirmDelete explorer.decorations.badges git.allowForcePush tslint.jsEnable editor.codeActionsOnSave
    log.ts:278 DEBUG Configuration keys changed in USER target git.path scssLint.runOnTextChange angular.experimental-ivy [typescript] workbench.startupEditor git.autofetch git.confirmForcePush tslint.jsEnable explorer.confirmDragAndDrop diffEditor.ignoreTrimWhitespace git.enableSmartCommit git.confirmSync
    DevTools failed to load SourceMap: Could not load content for https://8080-cs-38445546507-default.cs-europe-west1-itbg.cloudshell.dev/static/fe2dc2deb08e378069891b622bb62ad1d261d1b1/usr/lib/code-server/dist/pages/pages/vscode.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    log.ts:272 TRACE Skipping initializing user data as settings sync is not enabled
    log.ts:272 TRACE UserDataInitializationService#requiresInitialization
    log.ts:272 TRACE lifecycle: phase changed (value: 2)
    log.ts:272 TRACE Layout#layout, height: 625, width: 670
    log.ts:278 DEBUG Checking for update...
    webWorkerExtensionHost.ts:125 The web worker extension host is started without an iframe sandbox!
    start @ webWorkerExtensionHost.ts:125
    Kn @ extensionHostManager.ts:67
    _createInstance @ instantiationService.ts:110
    createInstance @ instantiationService.ts:76
    (anonymous) @ abstractExtensionService.ts:447
    _startExtensionHosts @ abstractExtensionService.ts:446
    _initialize @ abstractExtensionService.ts:411
    (anonymous) @ extensionService.ts:74
    Promise.then (async)
    Xs @ extensionService.ts:74
    _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:137
    invokeFunction @ instantiationService.ts:61
    startup @ workbench.ts:130
    open @ web.main.ts:95
    async function (async)
    open @ web.main.ts:85
    log.ts:272 TRACE workbench configuration {"webviewEndpoint":"https://8080-cs-38445546507-default.cs-europe-west1-itbg.cloudshell.dev/webview","folderUri":{"$mid":1,"path":"/home/sh_eldeeb_2010/@eng-dibo/ngx","scheme":"vscode-remote","authority":"127.0.0.1:8080"},"remoteAuthority":"127.0.0.1:8080","logLevel":0,"workspaceProvider":{"workspace":{"folderUri":{"$mid":1,"external":"vscode-remote://127.0.0.1:8080/home/sh_eldeeb_2010/%40eng-dibo/ngx","path":"/home/sh_eldeeb_2010/@eng-dibo/ngx","scheme":"vscode-remote","authority":"127.0.0.1:8080"}},"payload":[["userDataPath","/home/sh_eldeeb_2010/.local/share/code-server"],["enableProposedApi","[]"]],"trusted":true},"urlCallbackProvider":{"_store":{"_toDispose":{},"_isDisposed":false},"_onCallback":{"_disposed":false,"_listeners":{"_first":{"next":{},"prev":{}},"_last":{"next":{},"prev":{}},"_size":1}}},"credentialsProvider":{}}
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][initial][127.0.0.1:8080] 1/6. invoking socketFactory.connect().
    log.ts:272 TRACE lifecycle: phase changed (value: 3)
    log.ts:272 TRACE UserDataInitializationService#requiresInitialization
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][initial][127.0.0.1:8080] 2/6. socketFactory.connect() was successful.
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][initial][127.0.0.1:8080] 3/6. sending AuthRequest control message.
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][initial][127.0.0.1:8080] 4/6. received SignRequest control message.
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][initial][127.0.0.1:8080] 5/6. sending ConnectionTypeRequest control message.
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][initial][127.0.0.1:8080] 6/6. handshake finished, connection is up and running after 394 ms!
    log.ts:272 TRACE lifecycle: phase changed (value: 4)
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-log
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE onWillActivateByEvent:  onFileSystem:vscode-remote
    log.ts:272 TRACE RequestService#request https://extensions.coder.com/api/extensionquery
    log.ts:272 TRACE RequestService#request https://extensions.coder.com/api/extensionquery
    log.ts:284  INFO [remote-connection][ExtensionHost][2596e…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
    log.ts:284  INFO [remote-connection][ExtensionHost][2596e…][reconnect] resolving connection...
    log.ts:284  INFO [remote-connection][ExtensionHost][2596e…][reconnect] connecting to 127.0.0.1:8080...
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][reconnect][127.0.0.1:8080] 1/6. invoking socketFactory.connect().
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][reconnect][127.0.0.1:8080] 2/6. socketFactory.connect() was successful.
    log.ts:272 TRACE [remote-connection][ExtensionHost][2596e…][reconnect][127.0.0.1:8080] 3/6. sending AuthRequest control message.
    ​ TRACE [remote-connection][ExtensionHost][2596e…][reconnect][127.0.0.1:8080] 4/6. received SignRequest control message.
    ​ TRACE [remote-connection][ExtensionHost][2596e…][reconnect][127.0.0.1:8080] 5/6. sending ConnectionTypeRequest control message.
    
  5. jsjoeio commented on Apr 15, 2021

    @jsjoeio
    Contributor
    content.js:1 Uncaught ReferenceError: STORAGE is not defined
        at new Content (content.js:1)
        at content.js:7
    xx.js:1 Uncaught ReferenceError: AbstrP is not defined
        at xx.js:1

    Hmm... wonder what these could be from. Hard to tell.

    • list all the extensions you're using (or post a screenshot)
    • uninstall all extensions and see if you get the same issue

    Did you try these two things? ^

  6. its-dibo commented on Apr 15, 2021

    @its-dibo
    Author

    how to backup the list of extensions, so I can install them again?

  7. jsjoeio commented on Apr 15, 2021

    @jsjoeio
    Contributor

    Extensions are stored in ~/.local/share/code-server/extensions

    So as long as you back up that folder, you should be able to easily add them again. Read more here

  8. its-dibo commented on Apr 16, 2021

    @its-dibo
    Author

    I removed all extensions (renamed the extensions dir), but the same issue.
    I also tried to remove the user-data dir entierly ~/.local/share/code-server, so I use a fresh instance of code-server, but it didn't help

    note: it was working fine in the same environment, but this issue happened suddenly

  9. jsjoeio commented on Apr 16, 2021

    @jsjoeio
    Contributor

    Thanks for giving that a shot. Hmm...the hardest part is debugging this without being able to reproduce.

    As a workaround, may I suggest looking at deploy-code-server and trying an alternative environment?

    Maybe @code-asher has some insight into what might be causing this.

  10. code-asher commented on Apr 16, 2021

    @code-asher
    Member

    Do you get the same errors in the console when you have no extensions?

    And are there any logs from code-server's stdout?

  11. added this to the Backlog milestone on Apr 29, 2021
  12. stale commented on Oct 27, 2021

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.

  13. quentincaffeino commented on Nov 18, 2021

    @quentincaffeino

    I experience the same problem.

      System:
        OS: Linux 5.14 Fedora Linux 35 (Cloud Edition)
        CPU: (2) x64 DO-Regular
        Memory: 118.57 MB / 1.92 GB
        Shell: 5.1.8 - /bin/bash
    

    Installed using curl -fsSL https://code-server.dev/install.sh | sh on a digitalocean instance.

    Only extension I have is GitLens installed via VSIX downloaded from open-vsx.

    I don't know if it's helpful or not but I see this error in extension host log: [exthost] [error] [ExtHostStorage] {"code":"Unknown","name":"Canceled (FileSystemError)"}

    Strangest thing is that it fails most of the times but then once in a while it works. Here's the full log where in the beginning it wasn't working but then after several Reload Window it just worked:

    [2021-11-18 20:05:40.873] [exthost] [info] extension host started
    [2021-11-18 20:05:42.497] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"}
    [2021-11-18 20:05:42.498] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code-server/vendor/modules/code-oss-dev/extensions/debug-auto-launch/dist/extension
    [2021-11-18 20:05:42.509] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
    [2021-11-18 20:05:42.509] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code-server/vendor/modules/code-oss-dev/extensions/git/dist/main
    [2021-11-18 20:05:42.920] [exthost] [info] ExtensionService#_doActivateExtension vscode.github {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
    [2021-11-18 20:05:42.921] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code-server/vendor/modules/code-oss-dev/extensions/github/dist/extension.js
    [2021-11-18 20:05:43.266] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":false,"extensionId":{"value":"vscode.emmet","_lower":"vscode.emmet"},"activationEvent":"onStartupFinished"}
    [2021-11-18 20:05:43.266] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code-server/vendor/modules/code-oss-dev/extensions/emmet/dist/node/emmetNodeMain
    [2021-11-18 20:05:43.291] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":false,"extensionId":{"value":"vscode.merge-conflict","_lower":"vscode.merge-conflict"},"activationEvent":"onStartupFinished"}
    [2021-11-18 20:05:43.292] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code-server/vendor/modules/code-oss-dev/extensions/merge-conflict/dist/mergeConflictMain
    [2021-11-18 20:05:43.298] [exthost] [info] eager extensions activated
    [2021-11-18 20:05:43.490] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug {"startup":false,"extensionId":{"value":"ms-vscode.js-debug","_lower":"ms-vscode.js-debug"},"activationEvent":"onCommand:extension.js-debug.clearAutoAttachVariables"}
    [2021-11-18 20:05:43.490] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code-server/vendor/modules/code-oss-dev/extensions/ms-vscode.js-debug/src/extension.js
    [2021-11-18 20:06:03.343] [exthost] [info] extension host terminating: received terminate message from renderer
    [2021-11-18 20:06:04.356] [exthost] [info] exiting with code 0
    [2021-11-18 20:07:56.972] [exthost] [info] extension host started
    [2021-11-18 20:07:56.986] [exthost] [info] Lock '/home/quentincaffeino/.local/share/code-server/User/workspaceStorage/-1b022bd7/vscode.lock': Lock acquired.
    [2021-11-18 20:12:33.153] [exthost] [info] extension host terminating: received terminate message from renderer
    [2021-11-18 20:12:33.153] [exthost] [info] Lock '/home/quentincaffeino/.local/share/code-server/User/workspaceStorage/-1b022bd7/vscode.lock': Marking the lockfile as scheduled to be released in 6000 ms.
    [2021-11-18 20:12:33.154] [exthost] [error] [ExtHostStorage] {"code":"Unknown","name":"Canceled (FileSystemError)"}
    [2021-11-18 20:12:34.155] [exthost] [info] exiting with code 0
    [2021-11-18 20:14:51.476] [exthost] [info] extension host started
    [2021-11-18 20:14:51.494] [exthost] [info] Lock '/home/quentincaffeino/.local/share/code-server/User/workspaceStorage/-1b022bd7/vscode.lock': Lock acquired.
    [2021-11-18 20:19:14.538] [exthost] [info] extension host terminating: received terminate message from renderer
    [2021-11-18 20:19:14.540] [exthost] [info] Lock '/home/quentincaffeino/.local/share/code-server/User/workspaceStorage/-1b022bd7/vscode.lock': Marking the lockfile as scheduled to be released in 6000 ms.
    [2021-11-18 20:19:14.541] [exthost] [error] [ExtHostStorage] {"code":"Unknown","name":"Canceled (FileSystemError)"}
    [2021-11-18 20:19:15.541] [exthost] [info] exiting with code 0
    [2021-11-18 20:19:57.027] [exthost] [info] extension host started
    [2021-11-18 20:19:57.038] [exthost] [info] Lock '/home/quentincaffeino/.local/share/code-server/User/workspaceStorage/-1b022bd7/vscode.lock': Lock acquired.
    [2021-11-18 20:19:58.840] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"}
    [2021-11-18 20:19:58.840] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code-server/vendor/modules/code-oss-dev/extensions/debug-auto-launch/dist/extension
    [2021-11-18 20:19:58.852] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
    [2021-11-18 20:19:58.852] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code-server/vendor/modules/code-oss-dev/extensions/git/dist/main
    [2021-11-18 20:19:59.184] [exthost] [info] ExtensionService#_doActivateExtension vscode.github {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
    [2021-11-18 20:19:59.184] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code-server/vendor/modules/code-oss-dev/extensions/github/dist/extension.js
    [2021-11-18 20:19:59.441] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":false,"extensionId":{"value":"vscode.emmet","_lower":"vscode.emmet"},"activationEvent":"onStartupFinished"}
    [2021-11-18 20:19:59.441] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code-server/vendor/modules/code-oss-dev/extensions/emmet/dist/node/emmetNodeMain
    [2021-11-18 20:19:59.471] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":false,"extensionId":{"value":"vscode.merge-conflict","_lower":"vscode.merge-conflict"},"activationEvent":"onStartupFinished"}
    [2021-11-18 20:19:59.471] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code-server/vendor/modules/code-oss-dev/extensions/merge-conflict/dist/mergeConflictMain
    [2021-11-18 20:19:59.478] [exthost] [info] ExtensionService#_doActivateExtension eamodio.gitlens {"startup":false,"extensionId":{"value":"eamodio.gitlens","_lower":"eamodio.gitlens"},"activationEvent":"onStartupFinished"}
    [2021-11-18 20:19:59.479] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/quentincaffeino/.local/share/code-server/extensions/eamodio.gitlens-11.6.1/dist/gitlens
    [2021-11-18 20:19:59.676] [exthost] [info] eager extensions activated
    [2021-11-18 20:19:59.892] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug {"startup":false,"extensionId":{"value":"ms-vscode.js-debug","_lower":"ms-vscode.js-debug"},"activationEvent":"onCommand:extension.js-debug.clearAutoAttachVariables"}
    [2021-11-18 20:19:59.892] [exthost] [info] ExtensionService#loadCommonJSModule file:///usr/lib/code-server/vendor/modules/code-oss-dev/extensions/ms-vscode.js-debug/src/extension.js
    [2021-11-18 20:20:00.405] [exthost] [info] Extension 'eamodio.gitlens' uses a document selector without scheme. Learn more about this: https://go.microsoft.com/fwlink/?linkid=872305
    
  14. quentincaffeino commented on Nov 18, 2021

    @quentincaffeino

    Default extensions seem to load fine.

    Not sure if it's helpful when user extension does load it takes a very long time and reconnecting several times to exthost socket (when vscode is already loaded in the browser):

    [2021-11-18T20:46:09.815Z] debug protocol Handshake completed {"token":"d6dc1212-571b-42da-b21c-4e9cef780752"}
    [2021-11-18T20:46:09.815Z] debug exthost Reconnecting... {"token":"d6dc1212-571b-42da-b21c-4e9cef780752"}
    [2021-11-18T20:46:09.816Z] debug exthost Sending socket {"token":"d6dc1212-571b-42da-b21c-4e9cef780752"}
    [2021-11-18T20:46:10.169Z] trace TerminalProviderChannel:call {"command":"$getDefaultSystemShell","args":[3]}
    [2021-11-18T20:46:10.171Z] trace TerminalProviderChannel:call {"command":"$getDefaultSystemShell","args":[3]}
    [2021-11-18T20:46:10.723Z] trace TerminalProviderChannel:call {"command":"$getEnvironment"}
    [2021-11-18T20:46:10.724Z] trace TerminalProviderChannel:call {"command":"$getEnvironment"}
    [2021-11-18T20:46:10.725Z] trace TerminalProviderChannel:call {"command":"$getProfiles","args":["-1b022bd7",{"bash":{"path":"bash","icon":"terminal-bash"},"zsh":{"path":"zsh"},"fish":{"path":"fish"},"tmux":{"path":"tmux","icon":"terminal-tmux"},"pwsh":{"path":"pwsh","icon":"terminal-powershell"}},null,null]}
    [2021-11-18T20:46:11.754Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[61,["bash"]]}
    [2021-11-18T20:46:12.860Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[62,["zsh"]]}
    [2021-11-18T20:46:13.242Z] trace TerminalProviderChannel:call {"command":"$getProfiles","args":["-1b022bd7",{"bash":{"path":"bash","icon":"terminal-bash"},"zsh":{"path":"zsh"},"fish":{"path":"fish"},"tmux":{"path":"tmux","icon":"terminal-tmux"},"pwsh":{"path":"pwsh","icon":"terminal-powershell"}},null,null]}
    [2021-11-18T20:46:13.957Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[63,["fish"]]}
    [2021-11-18T20:46:14.337Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[64,["bash"]]}
    [2021-11-18T20:46:14.914Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[65,["tmux"]]}
    [2021-11-18T20:46:15.169Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[66,["zsh"]]}
    [2021-11-18T20:46:15.711Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[67,["pwsh"]]}
    [2021-11-18T20:46:16.039Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[68,["fish"]]}
    [2021-11-18T20:46:17.047Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[69,["tmux"]]}
    [2021-11-18T20:46:19.827Z] trace TerminalProviderChannel:call {"command":"$acceptPtyHostResolvedVariables","args":[70,["pwsh"]]}
    [2021-11-18T20:46:27.784Z] debug 5 active connections
    [2021-11-18T20:46:27.784Z] trace heartbeat
    [2021-11-18T20:46:32.305Z] debug vscode got message from code-server {"type":"socket"}
    [2021-11-18T20:46:32.305Z] trace vscode code-server message content {"message":{"type":"socket","query":{"type":"ExtensionHost","reconnectionToken":"d6dc1212-571b-42da-b21c-4e9cef780752","reconnection":"true","skipWebSocketFrames":"false"},"permessageDeflate":false}}
    [2021-11-18T20:46:32.306Z] debug protocol Initiating handshake... {"token":"d6dc1212-571b-42da-b21c-4e9cef780752"}
    [2021-11-18T20:46:32.444Z] trace protocol Got message {"message":"{\"type\":\"auth\",\"auth\":\"00000000000000000000\"}","token":"d6dc1212-571b-42da-b21c-4e9cef780752"}
    [2021-11-18T20:46:32.450Z] trace protocol Got message {"message":"{\"type\":\"connectionType\",\"commit\":\"b37ff28a0a582aee84a8f961755d0cb40a4081db\",\"signedData\":\"\",\"desiredConnectionType\":2,\"args\":{\"language\":\"en\",\"break\":false,\"port\":null}}","token":"d6dc1212-571b-42da-b21c-4e9cef780752"}
    [2021-11-18T20:46:32.451Z] debug protocol Handshake completed {"token":"d6dc1212-571b-42da-b21c-4e9cef780752"}
    [2021-11-18T20:46:32.451Z] debug exthost Reconnecting... {"token":"d6dc1212-571b-42da-b21c-4e9cef780752"}
    [2021-11-18T20:46:32.451Z] debug exthost Sending socket {"token":"d6dc1212-571b-42da-b21c-4e9cef780752"}
    [2021-11-18T20:47:27.787Z] debug 6 active connections
    [2021-11-18T20:47:27.787Z] trace heartbeat
    
  15. quentincaffeino commented on Nov 18, 2021

    @quentincaffeino

    While installing more extensions and looking at logs I saw that if I install extension that does not work and maybe even throws an exception all other extensions stop working. Worst thing UX wise is that there's no way of knowing what caused all extensions to stop working without digging it to exthost logs. Currently I've found and already reported LeonardSSH.vscord extension does not work. Upon removing broken extension other extensions start working.

  16. quentincaffeino commented on Nov 18, 2021

    @quentincaffeino

    So the reason why I switched to code-server is that currently I have very slow connection (2.5-5mb down, up is basically non-existent) and uploading something would take forever. And this seems what could be another problem, if extension fails to activate due to slow network it will not try to reactivate. This is just a guess

  17. jsjoeio commented on Nov 18, 2021

    @jsjoeio
    Contributor

    @quentincaffeino Do you mind opening a Discussion (Q/A) or if you think this is an issue with code-server, opening a bug report? That'll make it easier for us to help you!

  18. locked as resolved and limited conversation to collaborators on Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting-for-infoWaiting for more information from submitter

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions