microsoft / microsoft/vscode-remote-release

Extension installation failing from CLI but not GUI

Open
#2,393 2 comments 1 reaction 1 assignee View on GitHub

@chrmarti is already working on this.

Since Feb 20, 2020.

feature-request proxy
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

  • VSCode Version: 1.42.1; c47d83b293181d9be64f27ff093689e8e7aed054; x64
  • OS Version: Ubuntu 16.04.6 LTS

Steps to Reproduce:

Installing extension from command line using code --install-extension vscoss.vscode-ansible fails with:

Installing extensions...
unable to get local issuer certificate
Failed Installing Extensions: vscoss.vscode-ansible

Installing extensions from the GUI works fine.

I sit behind a corporate proxy and I need to use corporate CA. For Chrome, I use libnss3-tools and certutil to add my certificates to the NSS database, and Chrome works fine, like the extension installation through GUI.

Do I need some extra settings or environment variables set? Looking for answers in https://code.visualstudio.com/docs/setup/network and corresponding issues did not help.

Does this issue occur when all extensions are disabled?: Yes

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.