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

devcontainer build fails, VS Code Server SHA mismatch #9670

Closed
jdhenry08 opened this issue Mar 18, 2024 · 13 comments · Fixed by microsoft/vscode#208088
Closed

devcontainer build fails, VS Code Server SHA mismatch #9670

jdhenry08 opened this issue Mar 18, 2024 · 13 comments · Fixed by microsoft/vscode#208088
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers verified Verification succeeded
Milestone

Comments

@jdhenry08
Copy link

jdhenry08 commented Mar 18, 2024

Attempting to rebuild a known working dev container fails and gives me the following error:

[3632 ms] Installing VS Code Server for commit b356b209a5a41743b45f25d569a7afb733d347a9
[3632 ms] Start: Run in Host: docker exec -i -u root 536fd7d57c7db98de6279b95ba072431434151f17c1708705b984fb901970a19 /bin/sh
[3636 ms] Start: Downloading VS Code Server
[3636 ms] b356b209a5a41743b45f25d569a7afb733d347a9 linux-x64 insider 
[7687 ms] Failed to download VS Code Server (https://update.code.visualstudio.com/commit:b356b209a5a41743b45f25d569a7afb733d347a9/server-linux-x64/insider): SHA mismatch, actual d10ac8442366646149d78786feeb6f19592e6cd2b5745815dd2f77886763c988 != expected 5d0baef113dfd8c5c44d0d6cce1292e86bc24646c098cd3b54fcebeae2e5286f
  • VSCode Version: 1.88.0-insider
  • Local OS Version: Windows 11 x64
  • Remote OS Version: WSL running Ubuntu 22.04 (jammy)
  • Remote Extension/Connection Type: Local > WSL > dev container (mcr.microsoft.com/devcontainers/typescript-node)

Does this issue occur when you try this locally?: No, it's specific to dev container startup
Does this issue occur when you try this locally and all extensions are disabled?: Yes

@VSCodeTriageBot VSCodeTriageBot added the containers Issue in vscode-remote containers label Mar 18, 2024
@specter119
Copy link

specter119 commented Mar 19, 2024

Can reproduced this, I think SHA need to be fixed ASAP.


@jdhenry08 , or any one stuck with this issue can downgrade to the previous version:

vscode-insiders@1.88.0-9ccb0fa738a2f7a1c5328800c9fe18f4dd5b4f8a

since the server binary version are aligned with the vscode client version.

@astrooom
Copy link

Can reproduce as well.

@pharrisee
Copy link

pharrisee commented Mar 19, 2024

Getting same issue here:

Installing VS Code Server for commit b356b209a5a41743b45f25d569a7afb733d347a9

[4692 ms] Start: Run in Host: docker exec -i -u root 40e4ebfe37ba0833387a61054120758daf74f6cc930bae334fbb0bcefc2f0ea3 /bin/sh

[4697 ms] Start: Downloading VS Code Server

[4698 ms] b356b209a5a41743b45f25d569a7afb733d347a9 linux-x64 insider 

[20391 ms] Failed to download VS Code Server (https://update.code.visualstudio.com/commit:b356b209a5a41743b45f25d569a7afb733d347a9/server-linux-x64/insider): SHA mismatch, actual d10ac8442366646149d78786feeb6f19592e6cd2b5745815dd2f77886763c988 != expected 5d0baef113dfd8c5c44d0d6cce1292e86bc24646c098cd3b54fcebeae2e5286f
  • VSCode Version: 1.88.0-insider
  • Local OS Version: Windows 10 x64 (Education)
  • Remote OS Version: WSL running Ubuntu 23.10
  • Remote Extension/Connection Type: Local > WSL > dev container (mcr.microsoft.com/devcontainers/go)

@NicosGollan-cnic
Copy link

"Me too":

[551 ms] Start: Downloading VS Code Server
[552 ms] 7c51753f7ce936a7aeb84ac881818c35c5a9ab8d linux-x64 insider 
[1806 ms] Failed to download VS Code Server (https://update.code.visualstudio.com/commit:7c51753f7ce936a7aeb84ac881818c35c5a9ab8d/server-linux-x64/insider): SHA mismatch, actual 80bfd4091734022aa48abe63fb9cfd4d94b66ef28f9868099b83542f901da4b2 != expected c496a32a6b65d9f0cf33d5be0b0300b5b163ed4dea6e70155c92d63a0e672866

Version: 1.88.0-insider (user setup)
Commit: 7c51753f7ce936a7aeb84ac881818c35c5a9ab8d
Date: 2024-03-19T05:48:31.453Z
Electron: 28.2.6
ElectronBuildId: 27476517
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22621
Remote OS Version: WSL running Ubuntu 22.04

@amreshh
Copy link

amreshh commented Mar 19, 2024

Same issue:

[2162 ms] 7c51753f7ce936a7aeb84ac881818c35c5a9ab8d linux-x64 insider 
[2861 ms] Failed to download VS Code Server (https://update.code.visualstudio.com/commit:7c51753f7ce936a7aeb84ac881818c35c5a9ab8d/server-linux-x64/insider): SHA mismatch, actual 80bfd4091734022aa48abe63fb9cfd4d94b66ef28f9868099b83542f901da4b2 != expected c496a32a6b65d9f0cf33d5be0b0300b5b163ed4dea6e70155c92d63a0e672866
Version: 1.88.0-insider
Commit: 7c51753f7ce936a7aeb84ac881818c35c5a9ab8d
Date: 2024-03-19T05:50:42.450Z
Electron: 28.2.6
ElectronBuildId: 27476517
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Linux x64 6.7.9-1-default

For now I downgraded to code-insiders-1.88.0-1710742424, where I don't get the issue.

Version: 1.88.0-insider
Commit: 9ccb0fa738a2f7a1c5328800c9fe18f4dd5b4f8a
Date: 2024-03-18T05:50:39.229Z
Electron: 28.2.6
ElectronBuildId: 27476517
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Linux x64 6.7.9-1-default

@deepak1556 deepak1556 added the bug Issue identified by VS Code Team member as probable bug label Mar 19, 2024
@deepak1556 deepak1556 added this to the March 2024 milestone Mar 19, 2024
@chrmarti
Copy link
Contributor

This is fixed in the latest Insiders. Thanks!

@chrmarti chrmarti assigned deepak1556 and unassigned chrmarti Mar 19, 2024
@specter119
Copy link

This is fixed in the latest Insiders. Thanks!

ssh remote can not work yet, after 2 ~ 3 versions.

the last working version is 9ccb0fa738a2f7a1c5328800c9fe18f4dd5b4f8a

@chrmarti
Copy link
Contributor

This was only reported for Dev Containers, could you post your Remote-SSH log here from when this happens?

@chrmarti chrmarti reopened this Mar 21, 2024
@deepak1556
Copy link

SSH issue is unrelated to the SHA mismatch as the reporter mentions it is broken for past versions as well.

@specter119 can you open a separate issue with relevant logs.

@deepak1556
Copy link

Steps for verification:

  • run DevContainers: Open folder in container
  • Choose any container from the template
  • Ensure you are able to connect to the container without issues.

@rzhao271 rzhao271 added the verified Verification succeeded label Mar 26, 2024
@AlexYangGitHub
Copy link

截圖 2024-04-30 上午6 51 59

In latest VS code, I still faced the same issue.

截圖 2024-04-30 上午6 44 52

@AlexYangGitHub
Copy link

how to solve it ?

@chrmarti
Copy link
Contributor

@AlexYangGitHub This looks like a different issue. I'll copy your report to a new issue to track it. Thanks.

@microsoft microsoft locked and limited conversation to collaborators May 6, 2024
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 containers Issue in vscode-remote containers verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.