Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signature: UnknownError #164726

Closed
chrmarti opened this issue Oct 26, 2022 · 43 comments · Fixed by #169777
Closed

Signature: UnknownError #164726

chrmarti opened this issue Oct 26, 2022 · 43 comments · Fixed by #169777
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug extensions Issues concerning extensions insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Milestone

Comments

@chrmarti
Copy link
Contributor

Testing #164452

2022-10-26 16:43:48.609 [info] Extension host agent started.
2022-10-26 16:43:51.256 [error] [172.17.0.1][ddd63f6d][ExtensionHostConnection] Unknown reconnection token (never seen).
2022-10-26 16:43:51.280 [error] [172.17.0.1][7d248857][ManagementConnection] Unknown reconnection token (never seen).
2022-10-26 16:43:54.628 [warning] No ptyHost heartbeat after 6 seconds
2022-10-26 16:43:57.487 [info] [172.17.0.1][75f1ef47][ManagementConnection] New connection established.
2022-10-26 16:43:57.751 [info] [172.17.0.1][d79102fd][ExtensionHostConnection] New connection established.
2022-10-26 16:43:57.813 [info] [172.17.0.1][d79102fd][ExtensionHostConnection] <1285> Launched Extension Host Process.
2022-10-26 16:44:03.637 [warning] No ptyHost heartbeat after 6 seconds
2022-10-26 16:44:04.241 [warning] Using the in-memory credential store as the operating system's credential store could not be accessed. Please see https://aka.ms/vscode-server-keyring on how to set this up. Details: libsecret-1.so.0: cannot open shared object file: No such file or directory
2022-10-26 16:46:24.186 [info] Getting Manifest... nikhgup1.component-creator
2022-10-26 16:46:24.893 [info] Installing extension: nikhgup1.component-creator
2022-10-26 16:46:36.746 [error] Error while installing the extension: nikhgup1.component-creator
2022-10-26 16:46:36.825 [error] Failed to install extension. nikhgup1.component-creator
2022-10-26 16:46:36.857 [error] Signature: UnknownError
    at Sn.download (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:90:4035)
    at async V.doRun (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:146:92152)
2022-10-26 16:46:37.899 [error] Signature: UnknownError
    at Sn.download (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:90:4035)
    at async V.doRun (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:146:92152)
Version: 1.73.0-insider
Commit: c3eebaead9d3bf1cb961b91fca1b8af31990d328
Date: 2022-10-26T09:14:47.017Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36 Edg/106.0.1370.52

(Using VS Code Server armhf build in a Docker container with armhf hardware emulation.)

@chrmarti
Copy link
Contributor Author

The server console also shows Unsupported ioctl: cmd=0x5441:

[16:46:24] Getting Manifest... nikhgup1.component-creator
[16:46:24] Installing extension: nikhgup1.component-creator
Unsupported ioctl: cmd=0x5441
[16:46:36] Error while installing the extension: nikhgup1.component-creator
[16:46:36] Failed to install extension. nikhgup1.component-creator
[16:46:36] Signature: UnknownError
    at Sn.download (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:90:4035)
    at async V.doRun (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:146:92152) {
  code: 'Signature'
}
rejected promise not handled within 1 second: Signature: UnknownError
stack trace: Signature: UnknownError
    at Sn.download (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:90:4035)
    at async V.doRun (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:146:92152)
[16:46:37] Signature: UnknownError
    at Sn.download (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:90:4035)
    at async V.doRun (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:146:92152) {
  code: 'Signature'
}

@chrmarti
Copy link
Contributor Author

Installing libsecret helped:

[17:02:08] Getting Manifest... nikhgup1.component-creator
[17:02:09] Installing extension: nikhgup1.component-creator
[17:02:41] Verified extension: nikhgup1.component-creator true
[17:02:44] Extracted extension to /root/.vscode-server-insiders/extensions/.1fdfbfdf-5094-4749-8ba6-2a0c89cd57f0: nikhgup1.component-creator
[17:02:44] Renamed to /root/.vscode-server-insiders/extensions/nikhgup1.component-creator-1.0.0
[17:02:44] Extracting completed. nikhgup1.component-creator
[17:02:44] Extension installed successfully: nikhgup1.component-creator

@sandy081 sandy081 added bug Issue identified by VS Code Team member as probable bug extensions Issues concerning extensions labels Oct 26, 2022
@sandy081 sandy081 added this to the November 2022 milestone Oct 26, 2022
@sandy081
Copy link
Member

CC @dtivel

This is in linux arm 32 platform

@chrmarti
Copy link
Contributor Author

My last comment was too optimistic. Seeing this again with the next extension:

[17:09:14] Getting Manifest... nikhgup1.xml1298
[17:09:16] Installing extension: nikhgup1.xml1298
[17:09:21] No ptyHost heartbeat after 6 seconds
[17:10:17] Error while installing the extension: nikhgup1.xml1298
[17:10:17] Failed to install extension. nikhgup1.xml1298
[17:10:17] Signature: UnknownError
    at Sn.download (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:90:4035)
    at async V.doRun (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:146:92152) {
  code: 'Signature'
}
rejected promise not handled within 1 second: Signature: UnknownError
stack trace: Signature: UnknownError
    at Sn.download (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:90:4035)
    at async V.doRun (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:146:92152)
[17:10:18] Signature: UnknownError
    at Sn.download (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:90:4035)
    at async V.doRun (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:146:92152) {
  code: 'Signature'
}
[17:12:43] Getting Manifest... nikhgup1.xml1298
[17:12:44] Installing extension: nikhgup1.xml1298
[17:12:56] Error while installing the extension: nikhgup1.xml1298
[17:12:56] Failed to install extension. nikhgup1.xml1298
[17:12:56] Signature: UnknownError
    at Sn.download (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:90:4035)
    at async V.doRun (/root/vscode-server-linux-armhf-web/out/vs/server/node/server.main.js:146:92152) {
  code: 'Signature'
}

@chrmarti
Copy link
Contributor Author

A few others now worked. nikhgup1.xml1298 again failed.

@sandy081
Copy link
Member

A few others now worked.

Confusing, other worked just like that? May I know which extensions worked and which do not?

@sandy081
Copy link
Member

@isidorn Is this being worked on or shall I move this to next milestone?

@isidorn
Copy link
Contributor

isidorn commented Nov 28, 2022

@sandy081 it is being worked on. There is an email thread between Damon, Christof and you with more details.
I suggest to leave to this milestone for now. And if we see that Damon is blocked we can move it to December.
Thanks!

@brettcurtis
Copy link

I'm seeing this in the insider build, any W/A while it's being worked on?

image

@isidorn
Copy link
Contributor

isidorn commented Dec 1, 2022

Workaround set extensions.verifySignature to false in your settings.json.

@isidorn isidorn modified the milestones: November 2022, December 2022 Dec 1, 2022
@manastalukdar
Copy link

Workaround did not help:

  • Tooltip on settings.json: Unknown configuration setting.
  • Same/similar error preventing extensions from upgrading:
2022-12-02 10:03:38.260 [error] UnknownError: Signature: UnknownError
    at pt.download (vscode-file://vscode-app/var/lib/snapd/snap/code-insiders/1169/usr/share/code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:37:92674)
    at async Y.h (vscode-file://vscode-app/var/lib/snapd/snap/code-insiders/1169/usr/share/code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:89:167162)

Version: 1.74.0-insider
Commit: 493a541
Date: 2022-12-02T05:26:38.457Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 6.0.10-300.fc37.x86_64 snap
Sandboxed: Yes

@isidorn
Copy link
Contributor

isidorn commented Dec 2, 2022

You might need to reload VS Code.

@manastalukdar
Copy link

Tried both reloading and explicit restarting. No luck.

@ViniciusRed
Copy link

I'm having the same problem

image

Versão: 1.74.0-insider
Commit: 493a541
Data: 2022-12-02T05:26:38.457Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
SO: Linux x64 6.0.10-arch2-1
Em área restrita: Yes

@wrenparismoe
Copy link

@ViniciusRed I have an identical error log. Haven't been able to find a fix. This started within the last day or two for me.

@lavjamanxd
Copy link

Workaround did not help:

* Tooltip on `settings.json`: Unknown configuration setting.

* Same/similar error preventing extensions from upgrading:
2022-12-02 10:03:38.260 [error] UnknownError: Signature: UnknownError
    at pt.download (vscode-file://vscode-app/var/lib/snapd/snap/code-insiders/1169/usr/share/code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:37:92674)
    at async Y.h (vscode-file://vscode-app/var/lib/snapd/snap/code-insiders/1169/usr/share/code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:89:167162)

Version: 1.74.0-insider Commit: 493a541 Date: 2022-12-02T05:26:38.457Z Electron: 19.1.8 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Linux x64 6.0.10-300.fc37.x86_64 snap Sandboxed: Yes

i put that into my devcontainer.json's setting object instead of settings.json and it worked for me

@Paro131
Copy link

Paro131 commented Dec 3, 2022

Ivan

@d2r2
Copy link

d2r2 commented Dec 4, 2022

Have same issue:
Unsaved Image 124
My vs code version:

Version: 1.74.0-insider
Commit: d0e44be43287acadb13f7c2808332e00fe52568d
Date: 2022-11-25T08:00:14.076Z
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.11-arch1-1
Sandboxed: Yes

Updating the JSON setting extensions.verifySignature to false helped!

@manastalukdar
Copy link

Any update? The workaround does not work for me and as a result most of my key extensions are now out-of-date.

@isidorn
Copy link
Contributor

isidorn commented Dec 9, 2022

@manastalukdar are you sure you applied the extensions.verifySignature to false in the right setting file. What is the error that you get when you have this setting set?

@manastalukdar
Copy link

@isidorn : #164726 (comment)

@brettcurtis
Copy link

The workaround doesn't work for me either:

image

I only see issues updating extensions in my WSL Distros

@hypeitnow
Copy link

hypeitnow commented Dec 10, 2022

The workaround worked for me. I'm using Manjaro as OS. Added the setting on my user settings and was able to update my extensions. Em sex., 9 de dez. de 2022 21:52, Brett Curtis @.> escreveu:

The workaround doesn't work for me either: [image: image] https://user-images.githubusercontent.com/1610100/206819926-20d3e2ee-6510-4976-baa1-39e229fe05e7.png I only see issues updating extensions in my WSL Distros — Reply to this email directly, view it on GitHub <#164726 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGFM4TVP3ZUWNQIEFP27CTWMPH45ANCNFSM6AAAAAARPGKFCY . You are receiving this because you are subscribed to this thread.Message ID: @.
>

@brubrant
What version are you using on manjaro?

I tried

image

but no avail

@brubrant
Copy link

brubrant commented Dec 10, 2022 via email

@ViniciusRed
Copy link

Update worked by adding "extensions.verifySignature": true but still happens

Versão: 1.75.0-insider
Commit: f076d55
Data: 2022-12-09T09:09:03.185Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
SO: Linux x64 6.0.11-arch1-1
Em área restrita: Yes

@MatiasDuhalde
Copy link

MatiasDuhalde commented Dec 13, 2022

I started getting the same error a few days ago:

2022-12-13 11:27:53.785 [error] Signature: UnknownError
    at yt.download (vscode-file://vscode-app/opt/visual-studio-code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:37:92965)
    at async V.h (vscode-file://vscode-app/opt/visual-studio-code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:89:169726)
2022-12-13 11:27:53.788 [error] UnknownError: Signature: UnknownError
    at yt.download (vscode-file://vscode-app/opt/visual-studio-code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:37:92965)
    at async V.h (vscode-file://vscode-app/opt/visual-studio-code-insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:89:169726)

The proposed workaround does not work for me either. Restarting the editor completely (not from the command palette) makes the setting work.

Version: 1.75.0-insider
Commit: d7b1e2a
Date: 2022-12-12T12:40:10.825Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 6.0.12-arch1-1
Sandboxed: Yes

@DrShushen
Copy link

I had the same issue today. Setting to "extensions.verifySignature": false in user settings fixes the issue for me.

All debug info

About

Version: 1.75.0-insider
Commit: 11238faea62d570d77afe6edfe05c8b732c44a2b
Date: 2022-12-13T05:22:26.937Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 5.15.0-56-generic snap
Sandboxed: Yes

System info

CPUs Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz (20 x 3400)
GPU Status 2d_canvas: unavailable_software canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: disabled_software multiple_raster_threads: enabled_on opengl: disabled_off rasterization: disabled_software raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: disabled_software video_encode: disabled_software vulkan: disabled_off webgl: unavailable_software webgl2: unavailable_software webgpu: disabled_off
Load (avg) 2, 1, 1
Memory (System) 62.71GB (55.84GB free)
Process Argv --no-sandbox --force-user-env --unity-launch --crash-reporter-id 5e036db4-7975-4920-936d-345ce33b1cab
Screen Reader no
VM 0%

Enabled extensions

Extension Author (truncated) Version
vscode-postgres cko 1.4.0
gitlens-insiders eam 2022.12.1304
language-cython guy 0.0.7
vscode-systemd-support han 1.0.1
vscode-edit-csv jan 0.7.2
vscode-docker ms- 1.23.2
isort ms- 2022.9.13271012
python ms- 2022.21.13431008
vscode-pylance ms- 2022.12.20
jupyter ms- 2023.1.1003441034
jupyter-keymap ms- 1.0.0
jupyter-renderers ms- 1.0.12
vscode-jupyter-cell-tags ms- 0.1.6
vscode-jupyter-slideshow ms- 0.1.5
remote-containers ms- 0.267.0
remote-ssh ms- 0.94.0
remote-ssh-edit ms- 0.84.0
remote-wsl ms- 0.72.0
vscode-remote-extensionpack ms- 0.23.0
remote-explorer ms- 0.0.3
autodocstring njp 0.6.1
code-spell-checker str 2.12.0
even-better-toml tam 0.19.0
simple-rst tro 1.5.2
zoombar-vscode wra 1.4.2

A/B experiment info

vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30404738
cppdebug:30492333
vsclangdf:30492506
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30618038
pylantcb52:30590116
pyindex848:30611229
nodejswelcome1:30587009
pyind779:30611226
dbltrim-noruby:30604474
pythonsymbol12:30622696
fim-prod:30623723

@sandy081
Copy link
Member

sandy081 commented Dec 14, 2022

Sorry that, we are not clear with our instructions for the workaround. This setting has to be placed in two different files, based on your set up:

  1. Please set this setting "extensions.verifySignature": false in User Settings file.

Screenshot 2022-12-14 at 08 30 51

  1. If you are using VS Code with connecting to remote and seeing this issue, please set this setting "extensions.verifySignature": false in Remote Settings file.

Screenshot 2022-12-14 at 08 34 14

@kramer04
Copy link

extensions.verifySignature is unknown.
I'm on Ubuntu 22.04 LTS

Version: 1.75.0-insider
Commit: 1a908707b491de77cc8408ca6d5bf626cf435736
Date: 2022-12-15T05:24:55.968Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 5.15.0-56-generic snap
Sandboxed: Yes

vscode_insider1
vscode-insider2

@sandy081
Copy link
Member

It is an internal setting and thats why it is shown unknown. That's not an issue.

@kramer04
Copy link

It is an internal setting and thats why it is shown unknown. That's not an issue.

I don't understand.
What do you mean by "it's an internal setting" ?
I can't use this workaround ?

@omrihar
Copy link

omrihar commented Dec 15, 2022

It means you can use it, but the settings editor doesn't explicitly show it as a setting you can use. But if you type it in and save it, it should work.

@Kinyugo
Copy link

Kinyugo commented Dec 15, 2022

After setting the "extensions.verifySignature": false in your settings, note that reloading the window via the command palette does not work. You have to restart vscode.

@kramer04
Copy link

Thanks now i understand and it works for me

@MatiasDuhalde
Copy link

After setting the "extensions.verifySignature": false in your settings, note that reloading the window via the command palette does not work. You have to restart vscode.

Thanks, I was only using the command palette, I thought it would have been enough.

@zS1L3NT
Copy link

zS1L3NT commented Dec 15, 2022

"extensions.verifySignature": false, is not working for me, I get a mix of Signature: UnknownError and UnkonwnError: Signature: UnknownError in the logs. This is making development on Linux impossible for me

@omrihar
Copy link

omrihar commented Dec 16, 2022

Did you put it in the user settings or the workspace settings? I put it initially in the workspace settings and it didn't work, then put it in the user sittings which did the trick.

@Nexus6
Copy link

Nexus6 commented Dec 19, 2022

I've had this exact problem for at least a week now. Acting on the suggestions above, I edited
~/.config/Code\ -\ Insiders/User/settings.json
... added the work-around setting, restarted vscode, and the formerly-failing extension updates completed successfully. Thanks for the help.

@VSCodeTriageBot VSCodeTriageBot added the unreleased Patch has not yet been released in VS Code Insiders label Dec 26, 2022
@VSCodeTriageBot VSCodeTriageBot added insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Jan 3, 2023
@isidorn
Copy link
Contributor

isidorn commented Jan 11, 2023

Thanks for everybody that provided feedback here - we really appreciate it.
We have pushed a fix so that this error should no longer be blocking.

For those that have added extensions.verifySignature": false to their setting - can you please remove it? And let us know if you still see any problems. To be clear, you should NOT see any errors now even if you remove the setting, but it will help us in detecting other potential issues.

@Nexus6
Copy link

Nexus6 commented Jan 13, 2023

I'm running:

Version: 1.75.0-insider
Commit: 6ed4d43
Date: 2022-12-23T05:28:27.642Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Linux x64 5.15.0-56-generic snap
Sandboxed: Yes

In my User/settings.json file, I commented-out the extensions.verifySignature setting and restarted VSCode. I had to wait for some extension updates to become available and eventually a few MS+Python-related ones came up. Upon trying to apply the updates, I'm getting the "[error] UnknownError: Signature: UnknownError" message in the logs and seeing error popups in the UI again. Does this Snap not have the fix in it? If so, what would be the least-painful way of getting a build with the fix?

@isidorn
Copy link
Contributor

isidorn commented Jan 13, 2023

@Nexus6 that snap does not have a fix in it. I suggest to just get an insiders build from this year 2023 and you should be good. It should be available from our site.
For example this one https://az764295.vo.msecnd.net/insider/6d40104789d03d41b8866a1e57847dae14c5cf0d/code-insider-x64-1673503516.snap

@chrmarti chrmarti added the verified Verification succeeded label Jan 27, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Feb 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug extensions Issues concerning extensions insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.