Closed Egwor closed 2 years ago
Hello @Egwor,
Looks like it is an internet connection problem. Check if you have a VPN enabled.
Why did you edit /etc/dnf/dnf.conf and added proxy details. Have you tried without proxy?
Regards, Carlos
Hi I have a VPN enabled, and then once the VPN is initiated any connections to the internet are via proxy. I’ve tried without proxy, and after a while it times out. The issues I’m seeing tend to be much quicker responses though,
Ok, give me more info. How the proxy is configured in Windows?
Could you test for example with curl or wget after setting the environment variable?
export http_proxy="http://PROXY=USERNAME=HERE:PROXY=PASSWORD=HERE@URL:PORT"
Describe the bug On a brand new install,
dnf update
doesn’t run successfully.To Reproduce
sudo dnf update
Curl error (56): Failure when receiving data from the peer for https://download.copr.fedorainfracloud.org/results/wslutilities/wslu/fedora-34-x86_64/repodata/repomd.xml [Empty reply from server]
Expected behavior Expect dnf update to run and connect ok
Additional context I am running behind a proxy, so there’s a small chance that this might be proxy blocking but I’ve tried to eliminate that as an issue.
Checking the os-release, since that seems to have been an issue in the past:
cat /etc/os-release | grey NAME
NAME=“Fedora Remix for WSL”
Basic Troubleshooting Checklist
[x] I have searched Google for the error message. [x] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled. [x] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues. [x] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues. [x] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset. Reinstalled the Remix [x] I have disabled and re-enabled WSL in Windows Features. [x] I have run Windows 10 updates and restarted.
What other troubleshooting have you attempted?
WLinux Version
Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version. I don’t see WLinux. I do see Fedora Remix for WSL is 34.5.6.0.
Windows Build