-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
InternetOpenUrl() failed. 0x80072efd : unknown error #566
Comments
I eventually figured out it was being blocked by my firewall under I would like to suggest renaming the executable to |
@Lexicality we don't get an explicit indication that the firewall is blocking the connection. I'm looking at what we can do in the error text, and getting an update at docs.microsoft.com. |
The error codes of InternetOpenUrl should get mapped to a descriptive string and displayed. E.g. 0x80072efd maps to ERROR_INTERNET_CANNOT_CONNECT. I had a similar error the other day where the TLS certificate of a download was invalid. I found out by looking up the error code. "unknown error" suggests it's a generic error code but it's actually not. |
I had error 0x80072f7d in winget. |
I'm getting this error code when using |
this worked for me. |
I have this problem with VPN installed and that means winget is useless if the vpn is activated. Is that so? |
I have the same issue, but I think it's because my work laptop is domain joined and using Cisco Umbrella. Many of the URLs used by |
You could try switching to the "wininet" downloader rather than "DO" (Delivery Optimization) which is the default. It's configurable in |
Thanks for the suggestion. It doesn't work in my case, but I think it's because the Cisco Umbrella basically does some sort of MITM SSL for sites it's blocking for non-VPN authenticated users. (I can see it if I use the URL with the error in a browser.) It's annoying, and VPN doesn't really help me in my case, I still need to to everything through a Citrix Virtual Desktop anyway, so I mostly don't log it in... |
Same here, I'm afraid. Neither explicitly setting wininet changes anything. But for what it's worth, it seems to be an intermittent problem for me. Both packages I posted yesterday work fine. |
It really seems like an intermittent thing, but not the way I would like it to be - downloads seem to work sporadically, but are broken most of the time for me. I wanted to see if I can find out more about it and ran
winget then retries a couple of times and gives up. If I try to access the url mentioned in the log I'm getting the following
|
My bad, it seems like that problem may not be the exact same as before. The error I'm getting right now is a different one:
This seems to be a known issue - #2666, #1348 |
I'm getting this error, here's what's in verbose logs:
If I open the URL in Firefox, it downloads the yaml file and it looks like it has valid contents. |
Hi, can't recall my last winget use, maybe 2 weeks ago? |
Related issues: #2956 |
Try ipconfig /Flushdns |
I have a similar problem. I was able to install
I have added everything possible related to winget manually to the firewall. |
maybe this will work |
Try ipconfig /flushdns , that fixed it for me about a year ago |
Brief description of your issue
This is very similar to #326, however I have TLS 1.2 enabled and I can access the cache fine outside
winget
.Steps to reproduce
Expected behavior
winget
should functionActual behavior
winget
does not functionEnvironment
The text was updated successfully, but these errors were encountered: