-
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
Publishing is down again (failed to update source) #2718
Comments
+1 |
2 similar comments
+1 |
+1 |
winget source list
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget https://cdn.winget.microsoft.com/cache ResourceNotFoundThe specified resource does not exist. |
I have the same problem "Failed in attempting to update the source: winget". After following this solution, Winget will work perfectly. |
Another workaround is to use a VPN. Use a location far from your current continent. |
My bad, that was my UK VPN previously, sorry. It is working if I connect to a VPN server far away from me. |
When will this be fixed? |
We believe we've found the root cause. We've triggered another purge to reset the cache endpoints and we're working with our CDN provider to ensure all regions are updated. We've got a production change schedule for Monday to hopefully address this permanently. |
We've gotten an update on the CDN endpoints. There were two endpoints that needed to be manually purged. We've been told these have been completed. |
Still not working for me.
Downloading https://cdn.winget.microsoft.com/cache/source.msix through a web browser produces a 0KB file. |
Working now |
All, we've had our CDN provider flush a couple of the pesky nodes that weren't getting updated, and we're purging after each publish run. This should have been resolved around 5:00 PM Pacific yesterday. |
@denelon It is fixed for me (Hungary, EU). |
Still not working for me. Getting 0 byte file from the CDN in US. cdn.winget.microsoft.com resolves to |
i posted the issue #2807 referenced above and it was pointed out to me that there is already a pinned issue ... so i experimented a bit more with the info i found in here. (GitHub places the pinned issues OUTSIDE the list of current issues - i did not even notice it because it is placed in such a way that is confused with an advertising banner... and i developed a habit to ignore anything placed in such locations... thus the pinned issues area is usually ignored) i tried downloading the https://cdn.winget.microsoft.com/cache/source.msix file with:
|
@R-Adrian thanks! That's some helpful information. I wonder if something with the user agent might be at play. I'll share this with the engineering team. |
i think i nailed it... the error message is almost correct.... it is a SChannel problem but is actually a problem with Windows (10? 22H2?) ... the operating system is not actually TLS 1.3 compliant and has to use TLS 1.2 I managed to reproduce the issue on another computer like this: a) defined the registry key
b) rebooted the system c) and then managed to cause the schannel winget error by simply enabling the TLS 1.3 checkbox in the Advanced Internet Options ( inetcpl.cpl ) while at the same time having the TLS 1.3 SChannel registry setting above. d) when the TLS 1.3 checkbox is disabled in inetcpl.cpl, even if the SChannel registry settings for TLS 1.3 client remain enabled the checkbox overrides the registry setting, and winget (and internet explorer) works again... but it uses TLS 1.2 connections |
P.S. found further support material, TLS 1.3 seems is not intended to be supported in Windows 10 https://learn.microsoft.com/en-us/windows/win32/secauthn/protocols-in-tls-ssl--schannel-ssp- |
P.S. 2.. after sleeping on it.. i think this TLS 1.3 bug with Microsoft Azure connections might also be the reason for Windows Update and the Microsoft Store app itself randomly failing instantly when you open them during the past few months ... and then they start to mysteriously work again if you leave them alone for a few minutes without doing anything to them. On some computers at the office i configured them to use a proxy for updates and my squid proxy logs are full of failed tunnel connections to these endpoints even if i have allowed them in the proxy config and they work via the modern browsers: |
I get the same error on Windows 11 Home 22H2.
cdn.winget.microsoft.com resolves to |
can you please try temporarily disabling TLS 1.3 from the Internet Options -> Advanced control panel and trying again with that? (start->run-> inetcpl.cpl) Make sure TLS 1.2 remains enabled there. (i do not have any Windows 11 system to test with) |
Not sure how Win11 behaves here, i only had to restart when i enabled TLS 1.3 in registry for SChannel, not when using the control panel on Win10 22H2. Maybe try completely disabling TLS 1.3 via the registry options for SChannel and then rebooting? |
Happy New Year, and i tried testing another thing...
i cannot make SSLLabs analyze the European side of the CDN - SSLLabs does not let me select 152.199.21.175 and it auto-selects to the North America one, 152.195.19.97.. so i added that to my hosts file and tested again with that. result: Same error happens with winget and 152.195.19.97 present in the hosts file (on Windows 10 22H2) |
+1 Solutions didn't work for me. |
We've been working with our CDN provider to squash the nasty zero-byte file being cached and served. Is anyone still getting this problem? If you are, can you share the IP address you're hitting? |
TLS 1.3 error is still there - the first few tries are with TLS 1.3 enabled then it works after disabling it again.
|
+1 EU (Belgium)
|
+1
|
|
Same: Pinging sni1gl.wpc.nucdn.net [2606:2800:11f:1cb7:261b:1f9c:2074:3c] with 32 bytes of data: Ping statistics for 2606:2800:11f:1cb7:261b:1f9c:2074:3c: An extract from the upgrade log. Seems to be certificate expired or invalid. I tried this both with TLS 1.3 enabled and disabled.
|
Looks like it might be related to an expired certificate. Get the following error when navigating to https://cdn.winget.microsoft.com/cache/source.msix |
the expired certificate is actually a slightly different problem than the primary issue of this thread. Still related to the general CDN infrastructure problems tho.
|
We're working to renew the certificate. |
Fixed after uninstalling internet download manager. |
i do not have internet download manager installed (or ever had it) and can still reliably trigger the CDN bug on multiple WIndows 10 computers that i use (both at home and at the office) by simply force-enabling TLS 1.3 support (which is "experimental" in Windows 10). Maybe Internet Download Manager was messing with the system TLS support in SChannel and uninstalling it just reconfigured SChannel back to the defaults? |
Probably, Disabling TLS 1.3 didn't help |
This issue just began a few days ago for me, about two days after reinstalling (but kept my personal files). Nothing suggested so far has helped =[ |
Try installing Cloudflare WARP it solved the issue for me. 😄 |
Update: It happened again but installing Cloudflare WARP solved the issue, I think the problem isn't with winget CDN, but my ISP (Grameenphone), because I'm having same issue with twitter and GitHub (sometimes). |
Update: |
Hey all, we've addressed the zero-byte file issue in the CDN. Publishing has been working consistently since then, so I'm going to go ahead and close this issue. We're aware there are users who are still having issues updating the source in some scenarios, so we'll deal with those on a more case by case basis. |
Brief description of your issue
Same problem that previously occured #2666 has started again. And downloading the msix from https://cdn.winget.microsoft.com/cache/source.msix returns a 0kb file.
Steps to reproduce
Run
winget source update
Expected behavior
winget should have updated successfully
Actual behavior
Winget will attempt to update the source when running any command but will return the message
Failed in attempting to update the source: winget
. If you runwinget source update
it will respond with CancelledEnvironment
The text was updated successfully, but these errors were encountered: