vscode: Automatic extension update fails with UnknownError: Signature: UnknownError

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: Version: 1.74.0-insider Commit: ac084d723b7405591d2110fe374648345ecb8ce6 Date: 2022-11-28T05:23:46.430Z Electron: 19.1.6 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Linux x64 6.0.10-native_intel-xanmod1-1 Sandboxed: Yes
  • OS Version: Arch Linux (VS Code installed with the AUR package visual-studio-code-insiders-bin)

Steps to Reproduce:

  1. Attempt to update any extension with a pending update
  2. The update fails with “Error while updating ‘Remote - SSH’ extension. Please check the log for more details.” Window log:
2022-11-28 16:16:50.292 [info] Electron sandbox mode is enabled!
2022-11-28 16:16:50.842 [warning] Skipping extension /home/user/.vscode-insiders/extensions/ms-vscode.js-debug-1.72.1 in favour of the builtin extension /opt/visual-studio-code-insiders/resources/app/extensions/ms-vscode.js-debug.
2022-11-28 16:16:50.843 [error] Extension 'ms-vscode.js-debug' appears in product.json but enables LESS API proposals than the extension wants.
package.json (LOSES): portsAttributes, findTextInFiles, workspaceTrust, resolvers, tunnels
product.json (WINS): portsAttributes, findTextInFiles, workspaceTrust, tunnels
2022-11-28 16:16:53.408 [info] [perf] Render performance baseline is 21ms
2022-11-28 16:16:55.200 [error] UnknownError: Signature: UnknownError
    at pt.download (vscode-file://vscode-app/opt/visual-studio-code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:37:92674)
    at async Y.h (vscode-file://vscode-app/opt/visual-studio-code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:89:167628)
2022-11-28 16:17:02.338 [error] Signature: UnknownError
    at pt.download (vscode-file://vscode-app/opt/visual-studio-code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:37:92674)
    at async Y.h (vscode-file://vscode-app/opt/visual-studio-code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:89:167628)
2022-11-28 16:17:02.367 [error] UnknownError: Signature: UnknownError
    at pt.download (vscode-file://vscode-app/opt/visual-studio-code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:37:92674)
    at async Y.h (vscode-file://vscode-app/opt/visual-studio-code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:89:167628)

It happens with at least the extensions Remote - SSH, Python and rust-analyzer. Manually downloading the extensions and installing via the command line does work.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 16 (10 by maintainers)

Most upvoted comments

Thanks @TylerLeonhardt Some follow up work is here https://github.com/microsoft/vscode/issues/168525 More details and work in our private planning repo to which I can not link from here unfortunately.

Only marking verification found because there’s no issue linked about the the follow up work. @isidorn if there is one, can you link it here?

Once that’s linked this can be marked verified since @furai confirmed it’s fixed by handling the error.

Correct. We have follow up work that is investigating the underlying problem.

Seems to be working here. Thanks for fixing.

EDIT: Actually looked at the PR - so it only handles the exception. Not really fixes underlying issue but I guess it’s better than nothing.

Closing as fixed

Please continue using this setting "extensions.verifySignature" = false until this is fixed

image I don’t see such option. And when I just put it in it does not work. Maybe it’s something available only in development version of VSCode?

EDIT: Never mind, it seems it picked it up after an application restart.