Open deeplee opened 1 year ago
Does the connection has been resolved.
I found out the certificate in winget.
http://cdn.winget.microsoft.com/cache/source.msix is the winget source file. All the source root directory is cdn.winget.microsoft.com/cache
http://cdn.winget.microsoft.com/cache/source.msix is the winget source file. All the source root directory is cdn.winget.microsoft.com/cache
I check the root (https://cdn.winget.microsoft.com/) every day to make sure the certificate hasn't expired. Please note that you've linked to the HTTP URL for the WinGet source.msix file, which presents an HTML 404 response page, while HTTPS provides the file. Likewise, browsing the root directory presents an HTML 404 response page to HTTP, while HTTPS gets a storage-level XML "Resource Not Found" response.
The download of source.msix is so slow that it stops after a short while and eventually times out😢
The download from github releases
download speed of 180 KB/s for exe
files that are over 100 MB in size and stops when it reaches 89 or 94 MB.
Related:
Though MS says they have fixed the problem by check out repo to new CDN, there still may be difficult to access in some countries.
I solved the problem by checking out the source to USTC mirror. Help here If you are in China, try it out.
Brief description of your issue
I use windows terminal and powershell 7.3.3 session then run winget.exe source update --verbose-logs but output 正在更新所有源... 正在更新源: msstore... 完成 正在更新源: winget... ████████████████████████▏ 5.00 MB / 6.20 MB 已取消
Steps to reproduce
only innput this command winget.exe source update --verbose-logs
Expected behavior
all source update succeed
Actual behavior
souce winget update canced
logs see: 2023-03-20 13:04:10.394 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/source.msix 2023-03-20 13:04:13.025 [CORE] Download request status success. 2023-03-20 13:04:13.025 [CORE] Download size: 6510029 2023-03-20 13:05:30.934 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(104)\WindowsPackageManager.dll!00007FFBA5CA1F0A: (caller: 00007FFBA5CA2A69) Exception(1) tid(2f08) 80072EE2 Msg:[InternetReadFile() failed.]
2023-03-20 13:05:30.946 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(53)\WindowsPackageManager.dll!00007FFBA5E27F41: (caller: 00007FFBA5CF237C) LogHr(1) tid(2f08) 80072EE2 Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(104)\WindowsPackageManager.dll!00007FFBA5CA1F0A: (caller: 00007FFBA5CA2A69) Exception(1) tid(2f08) 80072EE2 Msg:[InternetReadFile() failed.] ]
2023-03-20 13:05:30.946 [REPO] Source add/update failed, waiting a bit and retrying: winget 2023-03-20 13:08:00.490 [FAIL] WindowsPackageManager.dll!00007FFBA5E1BD12: ReturnHr(1) tid(2f08) 80072EFF Msg:[winrt::hresult_error: 无法找到与此错误代码关联的文本。]
2023-03-20 13:08:00.491 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(312)\WindowsPackageManager.dll!00007FFBA5C92785: (caller: 00007FFBA5D0440F) Exception(2) tid(2f08) 80072EFF 2023-03-20 13:08:00.491 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(663)\WindowsPackageManager.dll!00007FFBA5E27B6E: (caller: 00007FFBA5C3008D) LogHr(3) tid(2f08) 80072EFF Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\MsixInfo.cpp(312)\WindowsPackageManager.dll!00007FFBA5C92785: (caller: 00007FFBA5D0440F) Exception(2) tid(2f08) 80072EFF ]
2023-03-20 13:08:00.491 [REPO] Failed to update source: winget 2023-03-20 13:08:00.491 [CLI ] Leaf command succeeded: root:source:update
Environment