Skip to content

Issue installing the extension for Powershell in VSC (multiple users and PC's) #4533

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

Closed
3 of 6 tasks
JoaTheBalboa opened this issue Apr 21, 2023 · 4 comments
Closed
3 of 6 tasks
Labels
Issue-Bug A bug to squash. Resolution-Duplicate Will close automatically.

Comments

@JoaTheBalboa
Copy link

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all open and closed issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
  • If this is a security issue, I have read the security issue reporting guidance.

Summary

After formatting my workstation, i am having issues regarding the installation of the Powershell extension.
I have tried several ways of installation, including manually through VSIX.
Yet the installation keep failing.

I thought it might be an issue with my pc. However, my Co-worker have a similar experience on his computer with his AD-credentials. And we have a third pc we have testet this on with yet another user.
So 3 users on 3 different pc's alle get this error:

2023-04-21 10:06:36.886 [error] CorruptZip: end of central directory record signature not found
at yt.download (c:\Users\aky3my\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:93:141)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
at async j.y (c:\Users\aky3my\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:93:20893)
at async j.h (c:\Users\aky3my\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:93:18962)
2023-04-21 10:06:36.891 [error] end of central directory record signature not found: CorruptZip: end of central directory record signature not found
at yt.download (c:\Users\aky3my\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:93:141)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
at async j.y (c:\Users\aky3my\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:93:20893)
at async j.h (c:\Users\aky3my\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:93:18962)

PowerShell Version

Name                           Value
----                           -----
PSVersion                      7.3.4
PSEdition                      Core
GitCommitId                    7.3.4
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0




Name                           Value
----                           -----
PSVersion                      5.1.19041.2673
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.2673
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Visual Studio Code Version

1.77.3
704ed70d4fd1c6bd6342c436f1ede30d1cff4710
x64

Extension Version

PowerShell
v2023.3.3

Steps to Reproduce

N/A

Visuals

No response

Logs

No response

@JoaTheBalboa JoaTheBalboa added the Issue-Bug A bug to squash. label Apr 21, 2023
@ghost ghost added the Needs: Triage Maintainer attention needed! label Apr 21, 2023
@andyleejordan
Copy link
Member

Duplicate of #4474. You most likely have a corporate firewall / VPN (last instance was Palo Alto) that is intentionally corrupting the VSIX as it's downloaded to be installed. We can't control that, and it's not a great situation as it keeps leading to this. Disable your VPN and try again?

@andyleejordan andyleejordan added Resolution-Duplicate Will close automatically. and removed Needs: Triage Maintainer attention needed! labels Apr 21, 2023
@JoaTheBalboa
Copy link
Author

Duplicate of #4474. You most likely have a corporate firewall / VPN (last instance was Palo Alto) that is intentionally corrupting the VSIX as it's downloaded to be installed. We can't control that, and it's not a great situation as it keeps leading to this. Disable your VPN and try again?

Sorry, you are absolutely right that i missed that case.
You are probably right about the firewall issue, since all three users and pc's where on the same network in our corporation.
Thanks for the answer and for pointiing towards the existing case.

@andyleejordan
Copy link
Member

If you get more details, I would love to have them. I don't know how to remedy this, it clearly means getting in touch with the team behind the VPN/firewalls and asking them to stop blocking the extension, but I have no contacts with any of them yet.

@ghost
Copy link

ghost commented Apr 22, 2023

This issue has been marked as duplicate and has not had any activity in a day. It has been closed for housekeeping purposes.

@ghost ghost closed this as completed Apr 22, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug A bug to squash. Resolution-Duplicate Will close automatically.
Projects
None yet
Development

No branches or pull requests

2 participants