-
Notifications
You must be signed in to change notification settings - Fork 822
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
autoProxy=true doesn't works well on WSL2 preview 2.0.3.0 #10583
Comments
Sorry this didn't work for you. I tested your exact proxy settings from the screenshot and we see the proxy mirroring correctly. Can you please take a trace with this file: https://github.com/microsoft/WSL/blob/master/diagnostics/wsl_networking.wprp Please wsl --shutdown, then start the script and repro. |
Of course. I have sent the trace report to your email [email protected] with the title of |
I have kind of the same issue but isn't this experimental option only available on Windows 11? (From the report I see you have Windows 10 like me). Will it be made available on Windows 10? |
Sorry, the auto-proxy feature isn't currently set to be backported. |
Sad to hearing this. |
I am using the clash tun mode and have disabled autoProxy. Now I can use the proxy normally in WSL2 |
@hotuns, what is "clash tun mode"? |
@trallnag Basically, it is a switch in the famous proxy application, clash, which you can turn on to make proxy work on network layer. |
@stevejohnson7 |
Windows Version
Microsoft Windows [Version 10.0.22621.2361]
WSL Version
2.0.3.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.123.1-1
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
wsl --update --pre-release
%userprofile%\.wslconfig
:wsl --shutdown
to shutdown WSL UbuntuExpected Behavior
Since
autoProxy=true
, Ubuntu in WSL2 should read Windows's proxy settings and adapt to itself.Commands like
curl
orgit
should use proxy to access websites.Actual Behavior
Windows Settings:
Proxy to 127.0.0.1:7890 enabled
And it works well
Ubuntu:
None of
$http_proxy
and$https_proxy
is setAnd curl will finally timeout
It means the "autoProxy" doesn't actually work
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: