-
Notifications
You must be signed in to change notification settings - Fork 434
Description
We have written the needed data into your clipboard because it was too large to send. Please paste.
Issue Type: Bug
I'm behind a company proxy so I usually need to add these settings when installing something for VScode.
When trying to install an extension in my container by using the .devcontainer.json file
{
"dockerFile": "Dockerfile",
"extensions": [
"ms-vscode.cpptools"
],
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
],
"settings": {
"http.proxyStrictSSL": false,
"http.proxy": "http://myproxy.com:81"
}
}Fails to actually use these settings or my own vscode settings to install through the proxy. From what I can tell these settings only apply within the container to install anything supplementary used by the extension (ie C++ needs to install 4 extra things). Weirdly if I try to install via the UI it works with no issue.
I think the codepath to install extensions within the container isn't respecting any proxy settings set in VSCode itself.
From the trace it also looks like it tries to install the extension via an IP Address instead of a url which is also explicitly blocked on our end.
When adding exports to my container
ENV http_proxy=http://myproxy.com:81 \
https_proxy=http://myproxy.com:81
I get an error self signed certificate in certificate chain :-(
Extension version: 0.66.0
VS Code version: Code 1.36.1 (2213894ea0415ee8c85c5eea0d0ff81ecc191529, 2019-07-08T22:56:38.504Z)
OS version: Darwin x64 18.6.0
Remote OS version: Linux x64 4.9.125-linuxkit
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (8 x 2500) |
| GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: enabled oop_rasterization: disabled_off protected_video_decode: unavailable_off rasterization: enabled skia_deferred_display_list: disabled_off skia_renderer: disabled_off surface_synchronization: enabled_on video_decode: enabled viz_display_compositor: disabled_off webgl: enabled webgl2: enabled |
| Load (avg) | 4, 3, 4 |
| Memory (System) | 16.00GB (0.02GB free) |
| Process Argv | -psn_0_2970325 |
| Screen Reader | no |
| VM | 33% |
| Item | Value |
|---|---|
| Remote | Dev Container |
| OS | Linux x64 4.9.125-linuxkit |
| CPUs | Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (4 x 2492) |
| Memory (System) | 5.82GB (1.84GB free) |
| VM | 0% |