Skip to content
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

Failed when searching Source #3419

Open
mcswainy opened this issue Jul 10, 2023 · 16 comments
Open

Failed when searching Source #3419

mcswainy opened this issue Jul 10, 2023 · 16 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source

Comments

@mcswainy
Copy link

Brief description of your issue

When I run winget upgrade, I get an error of : "Failed when searching source; results will not be included: msstore". And package update fails.

Steps to reproduce

run winget upgrade, I get an error of : "Failed when searching source; results will not be included: msstore". And package update fails.

Expected behavior

Winget should update the installed packages.

Actual behavior

I am unable to update/install packages.

Environment

C:\windows\system32>winget --info
Windows Package Manager v1.5.1572
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.3086
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.1572.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Jul 10, 2023
@mcswainy
Copy link
Author

Went looking through the Log files and I see this:
`2023-07-10 08:11:30.805 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(137)\WindowsPackageManager.dll!00007FFFF1C15783: (caller: 00007FFFF1C150E8) Exception(1) tid(e33c) 8A150044
2023-07-10 08:11:30.805 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\CompositeSource.cpp(1084)\WindowsPackageManager.dll!00007FFFF1D0E312: (caller: 00007FFFF1BED6E3) LogHr(1) tid(e33c) 8A150044 Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(137)\WindowsPackageManager.dll!00007FFFF1C15783: (caller: 00007FFFF1C150E8) Exception(1) tid(e33c) 8A150044 ]

2023-07-10 08:11:30.805 [REPO] Failed to search source for correlation: msstore
2023-07-10 08:11:30.805 [REPO] Did not find Id [XPFCG5NRKXQPKT] in tracked source: msstore`

@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source and removed Needs-Triage Issue need to be triaged labels Jul 10, 2023
@MiketheMaker18
Copy link

Having same issue here. Doesn't matter if I run PS elevated or not.

@PCAssistSoftware
Copy link

same issue here - any solution yet?

@tmcknight
Copy link

I had the same error message, and I was able to fix the issue by manually updating the App Installer in the Microsoft Store.

@PCAssistSoftware
Copy link

I had the same error message, and I was able to fix the issue by manually updating the App Installer in the Microsoft Store.

Unfortunately I had already tried that and it hasn't solved it for me

@ghost
Copy link

ghost commented Aug 23, 2023

Brief description of your issue

When I run winget upgrade, I get an error of : "Failed when searching source; results will not be included: msstore". And package update fails.

Steps to reproduce

run winget upgrade, I get an error of : "Failed when searching source; results will not be included: msstore". And package update fails.

Expected behavior

Winget should update the installed packages.

Actual behavior

I am unable to update/install packages.

Environment

C:\windows\system32>winget --info
Windows Package Manager v1.5.1572
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.3086
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.1572.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

I reset the source and that helped me.

I did,
-winget source reset msstore

@sfiruch
Copy link

sfiruch commented Sep 26, 2023

My msstore source was listed as https://storeedgefd.dsx.mp.microsoft.com/v9.0, which returns

<Error>
<Message>No HTTP resource was found that matches the request URI 'https://useast.storeedgefd-origin.xbetservices.akadns.net/v9.0'.</Message>
</Error>

Don't know how that URL ended up in winget.

@caglaryalcin
Copy link

I have the same problem.
image

@BrandonWanHuanSheng
Copy link

BrandonWanHuanSheng commented Oct 14, 2023

It look like my msstore URL contain data on backward. https://storeedgefd.dsx.mp.microsoft.com/v9.0/information But it still say update failed for msstore. Could be there is msstore data was corrupted? Winget still run normally and update winget source normally without the msstore.
Screenshot (4)
Screenshot (6)

@BrandonWanHuanSheng
Copy link

BrandonWanHuanSheng commented Oct 30, 2023

@denelon. Where is the endpoint?
Failed when searching source: msstore
An unexpected error occurred while executing the command:
0x8a150044 : The rest source endpoint is not found.

@BrandonWanHuanSheng
Copy link

@sharpjs
Copy link

sharpjs commented Nov 8, 2023

Running this from an elevated prompt fixed it for me:

winget source reset msstore

This is the solution from #3419 (comment) above, just formatted to be easier to notice and adding the note about elevation.

@BrandonWanHuanSheng
Copy link

Seem like it is not work for me.

@KumarMudedla
Copy link

Having the same issue

Until we run the Winget one time with admin account it is showing me below error. No issues running with the System context.

I am running below is logged in user (Standard user account)

Winget search vscode
Failed when searching source; results will not be included: winget
No package found matching input criteria.

Winget install --exact --id GitHub.GitHubDesktop

Failed when searching source: winget
An unexpected error occurred while executing the command:
0x8a15000f : Data required by the source is missing

winget list winget
Name Id Version Source


App Installer Microsoft.AppInstaller 1.22.10661.0 winget
Microsoft.UI.Xaml.2.8 Microsoft.UI.Xaml.2.8 8.2310.30001.0 winget
Microsoft.UI.Xaml.2.7 Microsoft.UI.Xaml.2.7 7.2208.15002.0 winget
Windows Package Manager Source (winget) Microsoft.Winget.Source_8wekyb3d8bbwe 2024.321.1946.202

winget --info
Windows Package Manager v1.7.10661
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.3296
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10661.0

winget list winget
Name Id Version Source


App Installer Microsoft.AppInstaller 1.22.10661.0 winget
Microsoft.UI.Xaml.2.8 Microsoft.UI.Xaml.2.8 8.2310.30001.0 winget
Microsoft.UI.Xaml.2.7 Microsoft.UI.Xaml.2.7 7.2208.15002.0 winget
Windows Package Manager Source (winget) Microsoft.Winget.Source_8wekyb3d8bbwe 2024.321.1946.202

winget --info
Windows Package Manager v1.7.10661
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.3296
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10661.0

Winget Directories

Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads

Links

Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting State

LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled

@mahvili
Copy link

mahvili commented Aug 8, 2024

@caglaryalcin
Copy link

I solved the problem by using InstallerType as in my .json file below.

https://github.com/caglaryalcin/after-format/blob/main/files/apps/winget.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source
Projects
None yet
Development

No branches or pull requests