-
Notifications
You must be signed in to change notification settings - Fork 858
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
Cannot connect to HTTPS #3761
Comments
|
Thanks. Here is the result: $ powershell.exe "Get-CimInstance -Namespace root/SecurityCenter2 -ClassName AntivirusProduct" | grep displayName
displayName : Windows Defender
displayName : Kaspersky Free |
Uninstall it. Start over. |
Thank you again for your help. You are right, the culprit is Kaspersky. If you pause its protection, HTTPS still fails. But you do not need to fully uninstall it. You can simply exit it before running some HTTPS requests in WSL and start it again after. You can also modify some Network settings in Settings > Additional > Network. There are 3 solutions:
I guess the 2 first ones can be a security issue... But latest one seems to be a good workaround. |
I lost 3 hours on this one. I got silent fail from curl and wget, errors from NodeJS (because of curl -s in the downloaded install.sh and "no reply" = "stretch not supported", debian finally blamed and replaced by ubuntu 18 ... same silent fart. |
real mvp |
I only used Windows Defender, and my use of HTTPS apt update sources is normal, only curl, wget is not correct (git HTTPS is normal).Is there a solution?Is it defender? |
Same issue for me. Windows version:
WSL distros
Debian kernel version:
I don't have any antiviruses, firewall is disabled. |
Same issue ! This post is several months old, is this still broken ? It's like one of the most important things for a dev machine to have working... Windows
WSL
Ubuntu
|
Has anyone managed to resolve this? |
@gradinarot What fixed it for me is using Ubuntu 18 instead of 20. |
Any other solutions ? I fiddled around Windows Defender Firewall, but even disabling it has no effect on the filtering of the SSL connections ... very odd. |
MTU !? As in TCP MTU (https://en.wikipedia.org/wiki/Maximum_transmission_unit) ? After poking around I found this: https://gist.github.com/noelbundick/9c804a710eb76e1d6a234b14abf42a52#file-excludewsl-ps1 (edited) I thought that had solved the issue, but I mistyped my test (replaced https with http), my bad. I also played around with changing the MTU of the Windows interface (the WSL ifconfig mtu was not changeable ...), but it didn't have any impact on the connection :\ ... any ideas ? |
Your Windows build number: 10.0.17763.195
Linux kernel version: 4.4.0-17763-Microsoft #194-Microsoft Mon Dec 03 17:58:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
Distribution: Ubuntu 18.04
What you're doing and what's happening:
Since Windows 10 October 2018 Update has been installed, WSL is unable to establish SSL/TLS connections. By instance, if I try a HTTPS URL with curl:
And this is the same with wget or apt update, even when Windows' firewall and antivirus have been disabled. But there is no problem with HTTP requests.
The text was updated successfully, but these errors were encountered: