You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Should not forward local proxy settings to remote ssh server #957
console.ts:134 [Extension Host] RequestError: Error: getaddrinfo ENOTFOUND proxy.example.com proxy.example.com:8080
at new RequestError (/home/kigawas/.vscode-server/extensions/serayuzgur.crates-0.4.3/node_modules/request-promise-core/lib/errors.js:14:15)
at Request.plumbing.callback (/home/kigawas/.vscode-server/extensions/serayuzgur.crates-0.4.3/node_modules/request-promise-core/lib/plumbing.js:87:29)
at Request.RP$callback [as _callback] (/home/kigawas/.vscode-server/extensions/serayuzgur.crates-0.4.3/node_modules/request-promise-core/lib/plumbing.js:46:31)
at self.callback (/home/kigawas/.vscode-server/extensions/serayuzgur.crates-0.4.3/node_modules/request/request.js:185:22)
at Request.emit (events.js:182:13)
at Request.onRequestError (/home/kigawas/.vscode-server/extensions/serayuzgur.crates-0.4.3/node_modules/request/request.js:881:8)
at ClientRequest.emit (events.js:187:15)
at onerror (/home/kigawas/.vscode-server/bin/2213894…/node_modules/agent-base/index.js:100:9)
at callbackError (/home/kigawas/.vscode-server/bin/2213894…/node_modules/agent-base/index.js:122:5)
at process._tickCallback (internal/process/next_tick.js:68:7)
I don't quite understand what's going on, is crates trying to access a local server and not seeing no_proxy? Otherwise why shouldn't it get the proxy settings?
I'm not sure how that's possible. Are those set as environment variables? If you enter echo $https_proxy in a remote vscode terminal do you see those values? I want to make sure that they are not actually in the remote environment.
Hm. They must still be set in your remote environment anyway. vscode does not copy them over. Otherwise this is an issue for the crates extension which seems unlikely too.
roblourens Not possible since remote environment has nothing to do with local. And crates extension has no reason dealing with environment, not sure but perhaps it's related with request-promise package used by crates.
Activity
kigawas commentedon Jul 11, 2019
Local proxy settings
Remote error logs
roblourens commentedon Jul 13, 2019
I don't quite understand what's going on, is crates trying to access a local server and not seeing no_proxy? Otherwise why shouldn't it get the proxy settings?
kigawas commentedon Jul 13, 2019
Crates use the proxy server set locally, but remote server cannot get access to the proxy server.
roblourens commentedon Jul 14, 2019
I'm not sure how that's possible. Are those set as environment variables? If you enter
echo $https_proxyin a remote vscode terminal do you see those values? I want to make sure that they are not actually in the remote environment.kigawas commentedon Jul 14, 2019
Yes. No.
roblourens commentedon Jul 15, 2019
Hm. They must still be set in your remote environment anyway. vscode does not copy them over. Otherwise this is an issue for the crates extension which seems unlikely too.
kigawas commentedon Jul 17, 2019
roblourens Not possible since remote environment has nothing to do with local. And crates extension has no reason dealing with environment, not sure but perhaps it's related with
request-promisepackage used by crates.kigawas commentedon Jul 19, 2019
roblourens Not only crates, I can also reproduce this bug on
vscode-lldbwhen downloading lldb binaries. You can check their code here.For reproducing the bug, check the instruction here and start debugging, it will ask you to download package, then it stuck.
kigawas commentedon Jul 19, 2019
roblourens
And the same phenomenon happened on vscode-lldb can also be worked around by
code --no-proxy-server.roblourens commentedon Jul 19, 2019
Oh, so did you set any vscode proxy settings like
http.proxy?kigawas commentedon Jul 20, 2019
No, just environment variables
roblourens commentedon Oct 15, 2019
Still no idea what the problem is. I don't think it's possible that vscode is copying these properties to the remote environment.