-
Notifications
You must be signed in to change notification settings - Fork 823
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
WSL mirrored networking + VS Code WSL extension #11184
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please 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. Thank you! Open similar issues:
Closed similar issues:
|
WslLogs-2024-07-16_13-02-22.zip @aeschli the wsl netwroking log file is 126 MB. Github has a max allowance of 25 MB. Where should I drop the log |
@keith-horton Do you want the wsl networking file? More context can be found here: |
Can you please share your VSCode configuration / docker configuration / docker-desktop configuration? We have tested with a few VSCode configurations and haven't repro'd issues. If the log is too large, can you share through onedrive / google drive? It's not clear why the trace would be that huge though :) I would recommend:
|
Greetings @keith-horton ! Here you go: WslNetworkingLogs-networkingMode_mirrored_disabled_2024-07-18_16-00-23.zip WslNetworkingLogs-networkingMode_mirrored_enabled_2024-07-18_15-58-08.zip Let me know if you need anything else from me. Cheers, ++José |
thanks for sending the logs unfortunately the tcpdump packet capture was not collected (the tcpdump.log file in the zip is empty) could you please check if you have tcpdump installed in your linux distribution. if not, can you please install tcpdump and collect the logs again? in the stackoverflow link, you shared VSCode terminal output and renderer.log file in the VSCode logs - can you please share those again for the latest repro? they showed some network connections timing out, that information will be helpful to narrow down the logs thanks |
Hi @CatalinFetoiu , Here you go:
It seems there are several traces showing incorrect udp checksum in the tcpdump.log NetworkingMode_mirrored_enabled zip. Cheers, |
Just chipping in for people looking as to why VSCode fails to connect when WSL is configured with
The documentation doesn't go into detail as to what exactly I ran the first command and, after restarting the WSL distro, VSCode was able to connect to it again 🙂 [1]: https://learn.microsoft.com/en-us/windows/wsl/networking#mirrored-mode-networking |
Hi there. Yep, your understanding is very close. Set-NetFirewallHyperVVMSetting -Name '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -DefaultInboundAction Allow This sets the default to Allow any inbound connection -- but if there are Block rules for inbound connections, those will still apply. |
The environment is as follows:
I have already executed Cannot connect to WSL with mirrored networking. When configuring networkingMode=mirrored, Visual Studio Code keeps showing "Connecting..." |
As discussed on GitHub and offline, creating an issue to track VS Code user feedback that users are experiencing issues with WSL mirrored networking.
Here's the issue: microsoft/vscode-remote-release#9222. Here is an example of traces/logs: microsoft/vscode-remote-release#9222 (comment).
cc @craigloewen-msft
The text was updated successfully, but these errors were encountered: