-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should not forward local proxy settings to remote ssh server #957
Comments
Local proxy settings
Remote error logs
|
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? |
Crates use the proxy server set locally, but remote server cannot get access to the proxy server. |
I'm not sure how that's possible. Are those set as environment variables? If you enter |
Yes. No. |
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 |
@roblourens Not only crates, I can also reproduce this bug on For reproducing the bug, check the instruction here and start debugging, it will ask you to download package, then it stuck. |
@roblourens |
Oh, so did you set any vscode proxy settings like |
No, just environment variables |
Still no idea what the problem is. I don't think it's possible that vscode is copying these properties to the remote environment. |
TL;DR: You can work it around by
code --no-proxy-server
Steps to Reproduce:
export http_proxy
)Developer: Toggle developer tools
)Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No
The text was updated successfully, but these errors were encountered: