You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
0x801901f4 : Internal server error (500) when I try to execute winget list and winget install (Source is down) #1437
When I try to execute winget list or winget install command I get an 0x801901f4 : Internal error in server (500) error.
Steps to reproduce
Execute winget list, winget install.
[winget list]
Ocorreu um erro inesperado ao executar o comando:
0x801901f4 : Erro interno de servidor (500).
[winget install Mozilla.Firefox]
Ocorreu um erro inesperado ao executar o comando:
0x801901f4 : Erro interno de servidor (500).
Expected behavior
List installed apps (with winget list) or install a new app (with winget install)
Actual behavior
Throw an internal server error
Environment
[winget --info]
Windows Package Manager v1.0.11694
Copyright (c) Microsoft Corporation. Todos os direitos reservados.
Windows: Windows.Desktop v10.0.22000.176
Pacote: Microsoft.DesktopAppInstaller v1.15.11694.0
Registros: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Reacted by Easton Pillay, Leo, Jonas H., Cihangir Ali KAPLAN, Adrian Georg Herrmann, Void48, ibrahim yöndemli, woolyninja, Bas van den Wollenberg, Tyler Brown and 11 more
The newstore source is down, which breaks the client entirely unless you add --source winget to all of your commands. I made a bug about this a few weeks ago: #1349.
BTW, for anyone at MS troubleshooting, it's the manifestSearch endpoint throwing 500s:
Reacted by Deivid Gabriel, Leo, Eyad Salah, woolyninja, Demitrius Nelon, Thomas Vochten ☕👨💻🏃♂️, Daniel Santa Rosa, Anduin Xue, Emma, Basil Eldho and 5 more
changed the title [-]0x801901f4 : Internal server error (500) when I try to execute any command[/-][+]0x801901f4 : Internal server error (500) when I try to execute winget list and winget install (Source is down)[/+]on Sep 6, 2021
Same here and it's super frustrating. Reproduced on both a System76 Thelio and a Lenovo Thinkpad T15 gen2 both running Windows 11 Insiders Beta/latest update.
Easton Pillay (@jedieaston) the REST source for the store packages is a different internal package. We've already contacted them regarding the 500 errors. Deivid Gabriel (@Fukubi) thanks for reopening this. There was a small misunderstanding when implementing the API. I believe the issue for the errors has been resolved, but I wanted to keep this open so we can make sure to do a better job handling these kinds of issues in the client.
Maybe? I'm in Brazil using the windows 11, want me to send some infos?
If it's a regional thing (e.g. because of new server code that needs to roll out across all regions) it should work for everybody at some point, so I'll just check again later.
Do you know if this is by design or if it's a bug?
Not an answer to the question, but I think it's fine for the Microsoft Store to be an available source by default, so long as winget doesn't bomb out if it can't reach one of the stores. It should give a message that the store is unavailable but still install if the right ID or moniker has been set for a package in the main winget repo.
I would like to be able to set a moniker for the MIcrosoft Store version, so there's no confusion between the packages. The MS Store version will auto-update, so would be the superior choice in principle, but only if I can set different monikers for the different packages. The one in the winget repo is signed with our org's cert. The one in the MS Store is signed with the MS Store cert.
I removed the newstore, since it made winget all but unusable (who has time to input --source every time!?). However, I'm trying to add it back again since people are saying it started working again (and it's also working on my laptop). But trying to addit results in the same Internal server error (500)
I removed the newstore, since it made winget all but unusable (who has time to input --source every time!?). However, I'm trying to add it back again since people are saying it started working again (and it's also working on my laptop). But trying to addit results in the same Internal server error (500)
winget source add -t Microsoft.Rest -n newstore https://storeedgefd.dsx.mp.microsoft.com/v9.0 worked for me.
Can confirm that it worked. But imho, it's surprising that this was necessary. 'winget source list' doesn't mention "Type" anywhere. So it's far from obvious that this flag needs to be added. Especially since the error code didn't mention it either.
Activity
jedieaston commentedon Sep 6, 2021
The newstore source is down, which breaks the client entirely unless you add
--source wingetto all of your commands. I made a bug about this a few weeks ago: #1349.BTW, for anyone at MS troubleshooting, it's the manifestSearch endpoint throwing 500s:
Fukubi commentedon Sep 6, 2021
With
--source wingetit works perfectly, many thanks.jedieaston commentedon Sep 6, 2021
Demitrius Nelon (@denelon) Can you reopen this? It's the only issue noting that the source is down.
Edit: I just remembered that it's Labor Day, so the team is probably off. Uh, Deivid Gabriel (@Fukubi), can you do it?
Fukubi commentedon Sep 6, 2021
Yeah, no problem.
[-]0x801901f4 : Internal server error (500) when I try to execute any command[/-][+]0x801901f4 : Internal server error (500) when I try to execute winget list and winget install (Source is down)[/+]derkrasseleo commentedon Sep 7, 2021
I just turned on my machine and also got this error..

ket0x4 commentedon Sep 7, 2021
I have same issue + I can't download apps from microsoft store too
feoh commentedon Sep 8, 2021
Same here and it's super frustrating. Reproduced on both a System76 Thelio and a Lenovo Thinkpad T15 gen2 both running Windows 11 Insiders Beta/latest update.
I submitted feedback at: https://aka.ms/AAdr7rh
yooakim commentedon Sep 8, 2021
I have the same issue as well, frustrating.
danyalahmed commentedon Sep 8, 2021
I am facing same issue, as mentioned above for now --source winget seems to work
jedieaston commentedon Sep 8, 2021
Demitrius Nelon (@denelon) should this issue be moved to microsoft/winget-cli-restsource? I don't know who's responsible for making sure the store source is up...
denelon commentedon Sep 8, 2021
Easton Pillay (@jedieaston) the REST source for the store packages is a different internal package. We've already contacted them regarding the 500 errors. Deivid Gabriel (@Fukubi) thanks for reopening this. There was a small misunderstanding when implementing the API. I believe the issue for the errors has been resolved, but I wanted to keep this open so we can make sure to do a better job handling these kinds of issues in the client.
24 remaining items
adrianghc commentedon Sep 9, 2021
Do you know if this is by design or if it's a bug?
adrianghc commentedon Sep 9, 2021
If it's a regional thing (e.g. because of new server code that needs to roll out across all regions) it should work for everybody at some point, so I'll just check again later.
Jaifroid commentedon Sep 9, 2021
That fixed it in Windows 11, thanks Levvie - she/her (@ItzLevvie).
Jaifroid commentedon Sep 9, 2021
Not an answer to the question, but I think it's fine for the Microsoft Store to be an available source by default, so long as winget doesn't bomb out if it can't reach one of the stores. It should give a message that the store is unavailable but still install if the right ID or moniker has been set for a package in the main winget repo.
I would like to be able to set a moniker for the MIcrosoft Store version, so there's no confusion between the packages. The MS Store version will auto-update, so would be the superior choice in principle, but only if I can set different monikers for the different packages. The one in the winget repo is signed with our org's cert. The one in the MS Store is signed with the MS Store cert.
feoh commentedon Sep 9, 2021
+1 this started working for me this morning as well. Thanks to whoever brought it back to life! Having to remember --source winget was a drag :)
cloudrootab commentedon Sep 17, 2021
I removed the newstore, since it made winget all but unusable (who has time to input --source every time!?). However, I'm trying to add it back again since people are saying it started working again (and it's also working on my laptop). But trying to addit results in the same Internal server error (500)
Jaifroid commentedon Sep 17, 2021
I have the same issue.
jedieaston commentedon Sep 17, 2021
I think you need to add
-t Microsoft.Rest.winget source add -t Microsoft.Rest -n newstore https://storeedgefd.dsx.mp.microsoft.com/v9.0worked for me.cloudrootab commentedon Sep 17, 2021
Can confirm that it worked. But imho, it's surprising that this was necessary. 'winget source list' doesn't mention "Type" anywhere. So it's far from obvious that this flag needs to be added. Especially since the error code didn't mention it either.
Jaifroid commentedon Sep 17, 2021
Also works for me. Thanks!
denelon commentedon Sep 17, 2021
You can also run
winget source resetto have the client attempt resolving source related issues and add "default" sources back.SynapseScribe commentedon Mar 21, 2024
found it documented here:
https://github.com/microsoft/winget-cli-restsource