vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Extensions not installed in remote container bootstrap

Open neiltwist opened this issue 7 years ago • 5 comments

  • VSCode Version: 1.38.0-insider (user setup)
  • Commit: 20dd80d91a76cbe80fb1d1979c3a9f02d94ba161
  • Date: 2019-08-29T14:06:00.070Z
  • Electron: 4.2.9
  • Chrome: 69.0.3497.128
  • Node.js: 10.11.0
  • V8: 6.9.427.31-electron.0
  • OS Version: Windows_NT x64 10.0.16299

Steps to Reproduce:

  1. Use a MITM coporate proxy.
  2. Start a remote session in a container where an extension should be installed by default.
  3. The extension is not installed.
  4. Install extension into container manually (using extensions tab), which is successful.

Log:

Run: docker exec -w /root/.vscode-server-insiders/bin/20dd80d91a76cbe80fb1d1979c3a9f02d94ba161 -e VSCODE_AGENT_FOLDER=/root/.vscode-server-insiders b6674e548d4ea744733b659108a83630e937496c5cff44874c50fa57fad7ea3f /root/.vscode-server-insiders/bin/20dd80d91a76cbe80fb1d1979c3a9f02d94ba161/server.sh --install-extension ms-python.python --force
Installing extensions...
self signed certificate in certificate chain

Does this issue occur when all extensions are disabled?: N/A

neiltwist avatar Aug 29 '19 16:08 neiltwist

@neiltwist Do you have internet or proxy issues in the remote container?

sandy081 avatar Sep 01 '19 13:09 sandy081

@sandy081 No, and I can install manually, it's just not done automatically during the bootstrap stage, presumably due to not trusting the certificate authority that is presented.

neiltwist avatar Sep 02 '19 10:09 neiltwist

It's worth noting that the certificate is installed in the OS (windows 10) and the "System Certificates" setting is on: "http.systemCertificates": true.

neiltwist avatar Sep 02 '19 10:09 neiltwist

/duplicate https://github.com/microsoft/vscode-remote-release/issues/986

chrmarti avatar Sep 02 '19 10:09 chrmarti

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

vscodebot[bot] avatar Sep 02 '19 10:09 vscodebot[bot]