Open copdips opened 5 months ago
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
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!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
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!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
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!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
please find hereunder the dns logs:
Facing the same issue. For me, even after adding the nameserver 1.1.1.1
, github copilot and few other extension in vs code like gitlens launchpad still does not work. Works perfectly fine on Mobile internet connection or on Windows directly without WSL
thanks for reporting the issue
Please follow the networking diagnostic script to collect logs. https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues
It should create a folder like [WslNetworkingLogs-date_ver.zip]
Windows Version
Microsoft Windows [Version 10.0.22631.3737]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu 20.04
Other Software
VSCode Github Copilot extension
Repro Steps
Github Copilot extension in VSCode cannot connect
This is my DNS conf:
changing it to resolved my issue
nslookup:
And the DNS on the host Window OS:
I raised this issue because I come from here. It seems that the default name server 10.255.255.254 has some problems with github copilot domains.
When I connect my same laptop to mobile internet, the issue is resolved. The problem only occurs when my laptop is connected to a fixed network and using WSL. Additionally, VSCode on Windows (outside of WSL) on the same laptop does not have any issues with github copilot.
And the problem occurs since 1 or 2 months ago.
Expected Behavior
Github Copilot can connect
Actual Behavior
Github Copilot cannot connect
Diagnostic Logs
No response