simplewall icon indicating copy to clipboard operation
simplewall copied to clipboard

Bug - Using Winget with simplewall results in slow downloads

Open brokoler opened this issue 4 years ago • 8 comments

Hello,

I'm using Winget, the official Windows repository to install and update software packages. Since simplewall was installed, the downloads via following Powershell commands take much longer:

  • winget install
  • winget upgrade

When simplewall is disabled, the downloads are immediately started. With simplewall enabled, it takes around 5-10 seconds until the download is started.

brokoler avatar Aug 19 '21 16:08 brokoler

winget might use services like BITS and DO.

Chaython avatar Aug 19 '21 23:08 Chaython

Add "BITS", "DoSvc" and "UsoSvc" services to allowed list and try again.

henrypp avatar Aug 22 '21 07:08 henrypp

@henrypp thank you, I whitelisted "BITS, "DoSvc" and "UsoSvc" in services tab. On top of that "appinstallercli.exe" requests internet permission, it's only working when I whitelist it.

Whitelisting those four entries didn't help though, installing and updating apps via Winget ist still really slow when simplewall is enabled.

Do you have any other idea which services to whitelist? I will try to troubleshoot this further.

Thanks!

Edit: Whitelisting "svchost.exe" solves this problem, but this is definitely not what I want. :)

brokoler avatar Aug 22 '21 08:08 brokoler

@eggplanting

Do you have any other idea which services to whitelist? I will try to troubleshoot this further.

"App Installer" (uwp app) and "appinstallercli.exe" (win32 app), also may be helpful disable Blocklist update section.

henrypp avatar Aug 22 '21 08:08 henrypp

App Installer UWP app is missing for me, appinstallercli.exe got all permissions. What exactly do you mean with "disable Blocklist update section"?

I enabled all Microsoft Updater rules in the blocklist globally, which for example allows me to search for Windows Updates. Also enabled all other Blocklist rules globally for testing, this didn't help to solve the problem.

brokoler avatar Aug 22 '21 09:08 brokoler

What exactly do you mean with "disable Blocklist update section"?

Disable or Allow blocklist update section, it is not required, just for testing.

henrypp avatar Aug 22 '21 11:08 henrypp

image image image Anyways, ask on winget https://github.com/microsoft/winget-cli all dependencies, but if all MSFT servers are set to allow, it doesn't make sense that it would only be slower. Also winget is bad, because of these dependencies, because lack of moderation of repos... If you want a cli package manager try choclatey or the many others pre-dating microcrap. The download speeds via msft store are very slow for me or any of my friends, who don't use simplewall. [I get 600mbps with steam, only <150mbps with msft store and often as low as 1mb/s] my friend has fiber/gigabit, and was only getting 24mbps via Xbox store. Unlike most other major companies, MSFT doesn't seem to have local cacheing servers for its appstores, like steam just downloads from my ISP. MSFT does their own hosting rather than good CDNs.

Chaython avatar Aug 22 '21 20:08 Chaython

winget might use services like BITS and DO.

Sometimes, users can set wininet as the default service so whitelisting that would also make sense.

vedantmgoyal9 avatar Nov 09 '21 17:11 vedantmgoyal9