-
Notifications
You must be signed in to change notification settings - Fork 834
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
windows11 wsl2,The WSL_PAC_URL configuration does not take effect #11998
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Closed similar issues:
|
/question I hope developers take a closer look at what I submitted above, thank you |
Diagnostic information
|
/emailed-logs The email has been sent with the subject line windows11 wsl2, The WSL_PAC_URL configuration does not take effect #11998 Please note that check, thank you. |
Diagnostic information
|
hello. thanks for reporting the issue Linux does not support PAC URLs by default, so WSL configures the WSL_PAC_URL env variable so that it can be manually consumed by Linux apps that support using PAC URLs my understanding is that curl does not support PAC URLs let us know if you have any questions |
@CatalinFetoiu
The idea could be to add a virtual network card that intercepts traffic to the PAC server. |
Windows Version
Microsoft Windows [版本 10.0.22635.4145]
WSL Version
2.3.17.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu 23.10
Other Software
Repro Steps
1、windows .wslconfig
2、The wsl is started and the WSL_PAC_URL environment variable is found
3、HTTP_PROXY and HTTPS_PROXY are not set
4、Proxy service is available
5、WSL_PAC_URL is invalid
Expected Behavior
For the reason of Chinese GFW, WSL2 needs to automatically implement PAC implementation proxy according to WSL_PAC_URL.
Windows uses ShadowsocksR, which is set to allow Intranet access, and step 4 above proves to be valid.
Actual Behavior
WSL_PAC_URL is invalid
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: