You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue occur when all extensions are disabled?: Yes
VS Code Version: 1.82
OS Version: Windows 10 22H2 Build 19045.3324
Steps to Reproduce:
Try installing any extension from the extension pane
Check output, it shows something like : 2023-09-11 11:41:06.287 [error] end of central directory record signature not found: CorruptZip: end of central directory record signature not found at w.download (c:\Program Files\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:92:141) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async B.x (c:\Program Files\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:92:19757) at async B.h (c:\Program Files\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:92:17797)
There are a lot of different "ways" reported for using a certificate in Windows.
It is suggested among many issues to set environment variable NODE_EXTRA_CERTS to point to a file, like C:\cert\ca-cert.pem
But this doesn't really work as reported here electron/electron#10257
A suggestion here was to simply disable ssl #155
This isn't an option for me. My corporate proxy enforce SSL with a certificate and it just won't work without it, period.
Yet, I can get to work easily with other "package managers" like Python's "pip" and Anaconda's "conda".
For both of them, all I have to do is provide my proxy HTTP address, and a path to the proxy certificate like "C:\cert\proxy-ca-cert.pem".
I can also make wget work with a wgetrc, providing again the HTTP proxy address, HTTPS address (which is exactly, character for character, the same as the HTTP one, i.e. http://proxy-bla-bla.com:8080), and the certificate path.
Why can't we do this in VSCode? Why not add a "proxy certificate file" field in settings so that we can specify exactly which certificate to use for the proxy connection to work? Right now, I have to download vsix files manually and manually add them.
The text was updated successfully, but these errors were encountered:
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.82.0. Please try upgrading to the latest version and checking whether this issue remains.
@yannickbt64 does this happen 100% due to the proxy cert? We just found out yesterday, that vsix files seem to be downloaded as zip files (which could be due to the proxy throwing away headers for ContentEncoding) containing the vsix file which let's VSCode think it's a CorruptZip error.
And could you confirm your issue is still existent with the newest VSCode version?
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
2023-09-11 11:41:06.287 [error] end of central directory record signature not found: CorruptZip: end of central directory record signature not found at w.download (c:\Program Files\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:92:141) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async B.x (c:\Program Files\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:92:19757) at async B.h (c:\Program Files\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:92:17797)
There are a lot of different "ways" reported for using a certificate in Windows.
It is suggested among many issues to set environment variable NODE_EXTRA_CERTS to point to a file, like C:\cert\ca-cert.pem
But this doesn't really work as reported here electron/electron#10257
A suggestion here was to simply disable ssl #155
This isn't an option for me. My corporate proxy enforce SSL with a certificate and it just won't work without it, period.
Yet, I can get to work easily with other "package managers" like Python's "pip" and Anaconda's "conda".
For both of them, all I have to do is provide my proxy HTTP address, and a path to the proxy certificate like "C:\cert\proxy-ca-cert.pem".
I can also make wget work with a wgetrc, providing again the HTTP proxy address, HTTPS address (which is exactly, character for character, the same as the HTTP one, i.e. http://proxy-bla-bla.com:8080), and the certificate path.
Why can't we do this in VSCode? Why not add a "proxy certificate file" field in settings so that we can specify exactly which certificate to use for the proxy connection to work? Right now, I have to download vsix files manually and manually add them.
The text was updated successfully, but these errors were encountered: