microsoft / vscode-dev-containers

NOTE: Most of the contents of this repository have been migrated to the new devcontainers GitHub org (https://github.com/devcontainers). See https://github.com/devcontainers/template-starter and https://github.com/devcontainers/feature-starter for information on creating your own!
https://aka.ms/vscode-remote
MIT License
4.7k stars 1.41k forks source link

Vscode dev containers extension seems not to respect http.proxy setting #1703

Closed hilaolu closed 1 year ago

hilaolu commented 1 year ago

Hi, I am using vscode and vscode dev containers extension with a proxy. However the extension seems to not respect http.proxy and connect to microsoft server directly, whereby vscode stuck at 'Adding dev container configure file'.

Steps to Reproduce:

  1. Let the local machine access Internet only via http.proxy.
  2. Open an empty folder in vscode
  3. Add dev container configure file
  4. vscode sucks

It seems that the extension tries to connect microsoft server directly.

netstat -an | grep 443
tcp        0      1 10.250.43.7:33536       20.189.173.14:443       SYN_SENT
eitsupi commented 1 year ago

I think this is duplicate of microsoft/vscode-remote-release#7431

hilaolu commented 1 year ago

@eitsupi Thanks. Close this for duplication.