-
Notifications
You must be signed in to change notification settings - Fork 848
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
After upgrade from 1.2.5 to 2.0.9 and Debian 11 to 12, https://localhost from Windows to WSL is not working anymore #10748
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:
You can give me feedback by thumbs upping or thumbs downing this comment. |
@pmartincic - could you please look at this one? |
Maybe also lnked with #9760 as those kind of errors started to happen long time ago. |
Thanks @benhillis I'll check. Thanks @sec I'll check. Maybe the update has spotted a previous problem. With 1.2.5 and Debian 11 everything has worked smoothly for months. |
@pmartincic I use nginx as proxy for .Net webapps. The output of sudo ss -lntp State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess |
@pmartincic thanks to you I've found that the listen directive was only 443 and not [::]:443. I don't know why it worked before but now it works. |
Windows Version
Microsoft Windows [Version 10.0.22631.2715]
WSL Version
WSL version: 2.0.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
Kernel version: 5.15.133.1-1
Distro Version
Debian 12
Other Software
No response
Repro Steps
start wsl
open browser to http://localhost WORKS
open browser to https://localhost HANGS for 10-20 secs then reports "This site can’t be reached.. The connection was reset."
curl https://localhost
curl: (35) Recv failure: Connection was reset
In wsl curl https://localhost works and openssl s_client localhost:443 work as expected. I've tried to disable Windows Firewall,
Expected Behavior
Everything worked with 1.2.5 and Debian 11. I only changed in apt/sources.list from bullseye to bookworm and everything in wsl works as expected. I did this because I've just upgraded my development stack to the new .NET 8.0 and I wanted an updated environment.
Actual Behavior
https://localhost from Windows to wsl hangs and fails
WslLogs-2023-11-14_20-52-30.zip
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: