Open JunNakahara opened 1 month ago
Thorough debugging! I think this might be an unintentional bug resulting from when they split user settings and remote settings and moved user settings into browser storage. Most likely it will need to be fixed upstream, is my guess.
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.12.0 through 4.89.1Steps to Reproduce
proxy
.Http: proxy (Aplies to all profiles)
sectin in User tab.http://unusable.proxy:8888
.Expected
Actual
Extensions can be installed successfully without any problem. But it's wrong behavior because code-server shell doesn't respect to http_proxy settings.
At above Step 4, specified
Http: Proxy
value will be stored in ~/.local/share/code-server/User/settings.json. But ver 4.11.0 or before the settings was listed in Remote tab, and values were stored in ~/.local/share/code-server/Machine/settings.json.I also noticed that code-server (ver 4.12.0 or later) shell looks still internally referencing those http_proxy related settings in .../Machine/settings.json. I mean if you manually put below to .../Machine/settings.json, code-server will start to fail installing Extensions, expectedly.
http.proxyStrictSSL
and/orhttp.proxySupport
.Logs
No response
Screenshot/Video
Does this bug reproduce in native VS Code?
No, this works as expected in native VS Code
Does this bug reproduce in GitHub Codespaces?
I did not test GitHub Codespaces
Are you accessing code-server over a secure context?
Notes