We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Microsoft Windows [Version 10.0.22631.3007]
2.0.14.0
5.15.133.1-microsoft-standard-WSL2
Arch Linux
No response
In Windows, set http proxy in the settings and set networkingMode to mirrored in .wslconfig:
networkingMode
mirrored
.wslconfig
[wsl2] networkingMode=mirrored
In WSL, echo $http_proxy returns the value set in Windows settings.
echo $http_proxy
According to the documentation, autoProxy is false by default. Hence $http_proxy should not be set in WSL.
autoProxy
false
$http_proxy
$http_proxy is set in WSL unless explicitly setting autoProxy to false in .wslconfig, which conflicts with the documentation.
The text was updated successfully, but these errors were encountered:
Hi. Can you please collect networking logs by following the instructions below? https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues
Sorry, something went wrong.
I’m skeptical about the usefulness of capturing packets. I think there are only two possibilities:
@craigloewen-msft - can you please update this documentation?
I experienced the same. autoProxy seems to be on by default despite the documentation which still says that the feature is disabled by default.
@benhillis @craigloewen-msft any news here?
Yes this is disabled by default in the latest WSL release, so no docs changes need to be made. https://github.com/microsoft/WSL/releases/tag/2.1.1
craigloewen-msft
No branches or pull requests
Windows Version
Microsoft Windows [Version 10.0.22631.3007]
WSL Version
2.0.14.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1-microsoft-standard-WSL2
Distro Version
Arch Linux
Other Software
No response
Repro Steps
In Windows, set http proxy in the settings and set
networkingMode
tomirrored
in.wslconfig
:In WSL,
echo $http_proxy
returns the value set in Windows settings.Expected Behavior
According to the documentation,
autoProxy
isfalse
by default. Hence$http_proxy
should not be set in WSL.Actual Behavior
$http_proxy
is set in WSL unless explicitly settingautoProxy
tofalse
in.wslconfig
, which conflicts with the documentation.Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: