Cannot install update, in VSCode Insiders
See original GitHub issueIssue Description
Error while trying to install latest update.
Steps to Reproduce
Try to install latest version.
Expected Behavior
Version installs successfully.
Actual Behavior
Installation fails:
[2021-12-02 10:09:55.790] [renderer2] [error] [Extension Host] (node:10324) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Code - Insiders --trace-deprecation ...` to show where the warning was created)
[2021-12-02 10:10:28.806] [renderer2] [error] Problem invoking 'GetCodeActions' on OmniSharp server: Error: Request /v2/getcodeactions cancelled, id: 10
[2021-12-02 10:10:29.805] [renderer2] [error] Problem invoking 'GetCodeActions' on OmniSharp server: Error: Request /v2/getcodeactions cancelled, id: 18
[2021-12-02 10:10:30.790] [renderer2] [error] Problem invoking 'GetCodeActions' on OmniSharp server: Error: Request /v2/getcodeactions cancelled, id: 21
[2021-12-02 10:10:31.829] [renderer2] [error] Problem invoking 'GetCodeActions' on OmniSharp server: Error: Request /v2/getcodeactions cancelled, id: 23
[2021-12-03 08:57:40.253] [renderer2] [error] Cannot install 'ms-dotnettools.csharp' extension because of version mismatch in Marketplace: Invalid: Cannot install 'ms-dotnettools.csharp' extension because of version mismatch in Marketplace
at A.checkAndGetCompatibleVersion (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:13083)
at async A.installFromGallery (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:2928)
[2021-12-03 08:57:42.155] [renderer2] [error] ["Invalid: Cannot install 'ms-dotnettools.csharp' extension because of version mismatch in Marketplace"," at A.checkAndGetCompatibleVersion (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:13083)"," at async A.installFromGallery (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:2928)"]
[2021-12-03 08:57:42.157] [renderer2] [error] Cannot install 'ms-dotnettools.csharp' extension because of version mismatch in Marketplace: Invalid: Cannot install 'ms-dotnettools.csharp' extension because of version mismatch in Marketplace
at A.checkAndGetCompatibleVersion (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:13083)
at async A.installFromGallery (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:2928)
[2021-12-03 08:57:47.003] [renderer2] [error] ["Invalid: Cannot install 'ms-dotnettools.csharp' extension because of version mismatch in Marketplace"," at A.checkAndGetCompatibleVersion (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:13083)"," at async A.installFromGallery (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:2928)"]
[2021-12-03 08:57:47.005] [renderer2] [error] Cannot install 'ms-dotnettools.csharp' extension because of version mismatch in Marketplace: Invalid: Cannot install 'ms-dotnettools.csharp' extension because of version mismatch in Marketplace
at A.checkAndGetCompatibleVersion (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:13083)
at async A.installFromGallery (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:2928)
[2021-12-03 08:57:47.879] [renderer2] [error] ["Invalid: Cannot install 'ms-dotnettools.csharp' extension because of version mismatch in Marketplace"," at A.checkAndGetCompatibleVersion (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:13083)"," at async A.installFromGallery (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:2928)"]
[2021-12-03 08:57:48.560] [renderer2] [error] ["Invalid: Cannot install 'ms-dotnettools.csharp' extension because of version mismatch in Marketplace"," at A.checkAndGetCompatibleVersion (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:13083)"," at async A.installFromGallery (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:2928)"]
[2021-12-03 08:57:48.579] [renderer2] [error] Cannot install 'ms-dotnettools.csharp' extension because of version mismatch in Marketplace: Invalid: Cannot install 'ms-dotnettools.csharp' extension because of version mismatch in Marketplace
at A.checkAndGetCompatibleVersion (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:13083)
at async A.installFromGallery (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:2928)
[2021-12-03 08:57:49.283] [renderer2] [error] ["Invalid: Cannot install 'ms-dotnettools.csharp' extension because of version mismatch in Marketplace"," at A.checkAndGetCompatibleVersion (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:13083)"," at async A.installFromGallery (vscode-file://vscode-app/c:/Users/jtsombakos/AppData/Local/Programs/Microsoft%20VS%20Code%20Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:48:2928)"]
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.63.0-insider C# Extension: 1.23.16
Dotnet Information
.NET SDK (reflecting any global.json): Version: 6.0.100 Commit: 9e8b04bbffRuntime Environment: OS Name: Windows OS Version: 10.0.19044 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\6.0.100\
Host (useful for support): Version: 6.0.0 Commit: 4822e3c3aa
.NET SDKs installed: 5.0.403 [C:\Program Files\dotnet\sdk] 6.0.100 [C:\Program Files\dotnet\sdk]
.NET runtimes installed: Microsoft.AspNetCore.All 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs: https://aka.ms/dotnet-download
Visual Studio Code Extensions
Extension | Author | Version |
---|---|---|
azure-account | ms-vscode | 0.9.11 |
csharp | ms-dotnettools | 1.23.16 |
git-graph | mhutchie | 1.30.0 |
github-vscode-theme | GitHub | 5.1.0 |
hexeditor | ms-vscode | 1.8.2 |
hl7tools | RobHolme | 1.13.2 |
horizon-extended | lancewilhelm | 0.1.5 |
material-icon-theme | PKief | 4.11.0 |
msbuild-project-tools | tintoy | 0.4.1 |
night-owl | sdras | 2.0.1 |
quicktype | quicktype | 12.0.46 |
TabOut | albert | 0.2.1 |
vsc-community-material-theme | Equinusocio | 1.4.4 |
vscode-azurefunctions | ms-azuretools | 1.6.0 |
vscode-azureresourcegroups | ms-azuretools | 0.4.0 |
vscode-azurestorage | ms-azuretools | 0.12.1 |
vscode-base64 | adamhartford | 0.1.0 |
vscode-thunder-client | rangav | 1.9.1 |
vscodeintellicode | VisualStudioExptTeam | 1.2.14 |
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:14 (1 by maintainers)
Top GitHub Comments
Hi, VS Code team member here 👋 Sorry about this breakage and thank you very much for the investigation and for using VS Code Insiders 👏 @sandy081, @saikanth007 and me investigated and the root cause for this is VS Code changing
header
values when sending requests to the MP. For this release, we have decided to revert back to using the oldheader
values. This issue captures that and it will be available in the next VS Code insiders later today https://github.com/microsoft/vscode/issues/138503For a deeper investigation why the change of the
user-agent
header influenced the differencecdn
link we have created this issue on the Marketplace side https://github.com/microsoft/vsmarketplace/issues/267 Since the real root causes was wrong cdn link to an extensionmanifest
file that pointed to an outdated extension version.I have the same issue (“version mismatch in the marketplace”):