Fix your server please
Description of the new feature / enhancement
I just want you guys to fix the CDN issue. I literally cannot use winget it will return error "Failed in attempt to update the source: winget". But when I VPNed it works normally. I don't want to open VPN every time I want to use winget. So please fix your server it's been a year now and I know a lot of people out there facing the same issue.
Proposed technical implementation details
No response
Which version of WinGet are you encountering this issue on?
Can you run winget source update --verbose-logs --logs and share the log file?
Hi @denelon
It appears this issue is related to
- #3803
Which version of WinGet are you encountering this issue on?
Can you run
winget source update --verbose-logs --logsand share the log file?
It looks like WinGet was unable to connect with the CDN to download the "source" package.
Are you able to directly download the file from: https://cdn.winget.microsoft.com/cache/source.msix?
2023-11-18 22:56:31.955 [CORE] Retrieving headers from url: https://cdn.winget.microsoft.com/cache/source.msix
2023-11-18 22:56:33.977 [FAIL] WindowsPackageManager.dll!00007FFA4D2B5191: LogHr(3) tid(2d40) 80072EFD
2023-11-18 22:56:33.978 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(831)\WindowsPackageManager.dll!00007FFA4D54F7CE: (caller: 00007FFA4D33A565) LogHr(4) tid(2d40) 80072EFD Msg:[winrt::hresult_error: A connection with the server could not be established]
2023-11-18 22:56:33.978 [REPO] Failed to update source: winget
2023-11-18 22:56:34.155 [CLI ] Leaf command succeeded: root:source:update
It looks like WinGet was unable to connect with the CDN to download the "source" package.
Are you able to directly download the file from: https://cdn.winget.microsoft.com/cache/source.msix?
2023-11-18 22:56:31.955 [CORE] Retrieving headers from url: https://cdn.winget.microsoft.com/cache/source.msix 2023-11-18 22:56:33.977 [FAIL] WindowsPackageManager.dll!00007FFA4D2B5191: LogHr(3) tid(2d40) 80072EFD 2023-11-18 22:56:33.978 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(831)\WindowsPackageManager.dll!00007FFA4D54F7CE: (caller: 00007FFA4D33A565) LogHr(4) tid(2d40) 80072EFD Msg:[winrt::hresult_error: A connection with the server could not be established] 2023-11-18 22:56:33.978 [REPO] Failed to update source: winget 2023-11-18 22:56:34.155 [CLI ] Leaf command succeeded: root:source:update
Nope
@quan1232004 - Are you still experiencing this issue with the latest release of the cli?
I still encounter the same issue in Vietnam
On Fri, Mar 15, 2024, 10:38 AM Kaleb Luedtke @.***> wrote:
@quan1232004 https://github.com/quan1232004 - Are you still experiencing this issue with the latest release https://github.com/microsoft/winget-cli/releases/latest of the cli?
— Reply to this email directly, view it on GitHub https://github.com/microsoft/winget-cli/issues/3857#issuecomment-1998881163, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXDHRWUMIHPTHNZL2JYWLX3YYJUL7AVCNFSM6AAAAAA66VUUOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJYHA4DCMJWGM . You are receiving this because you were mentioned.Message ID: @.***>
Still encounter the same issue after months if I dont turn on VPN
It's been years and Microsoft refuses to fix their CDN for Vietnam.
Hey everyone in Vietnam, try FPT instead of Viettel. The FPT connection to Microsoft's CDN works without VPN.
(I don't know about VNPT.)