OneGet / oneget

PackageManagement (aka OneGet) is a package manager for Windows
MIT License
2.38k stars 190 forks source link

Unable to Download list of available providers. #541

Open JuliusPIV opened 11 months ago

JuliusPIV commented 11 months ago

On fresh installs of Windows 11 we're attempting to install NuGet in PowerShell v5 using the following command line: Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Scope AllUsers -Force -ForceBootstrap -Confirm:$false -Verbose:$true -ErrorAction Stop

The process fails with errors including "Inable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409'" and "Unable to download the list of available providers. Check your internet connection." image

If I then try to run Find-PackageProvider i also fails with the same error and terminates with "The specified PackageManagement provider 'NuGet' is not available." image

The error text says it’s unable to download from URI https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409 and when we go there in Edge, we’re redirected to https://onegetcdn.azureedge.net/providers/providers.masterList.feed.swidtag but the page doesn’t load, displaying a 'took too long to response' error. image

Packet captures confirm we’re seeing a SYN but there’s no ACK resulting in an “incomplete conversation”. We’ve ruled out as much as we can on the endpoint itself and our networking teams confirmed they’ve verified there isn’t anything on our corporate network (corporate Ethernet, corporate Wi-Fi, corporate guest, corporate firewall etc.) that’s getting in the way of these requests.

Is it possible that our block of IP's has been blacklisted somehow? Is OneGet still functional, supported? Since AnyPackage is the recommended replacement, what's the upgrade path? (read: What is the appropriate process for removing PackageManagement/OneGet and replacing it with AnyPackage?)

JuliusPIV commented 11 months ago

bump We're still seeing this issue and are in search of who to contact for guidance & further troubleshooting. If we're doing something wrong, we'd like to know what specifically so we can fix it.