PowerShell/PowerShellGallery

Issue downloading Modules since maintenance started

PckgrTom opened this issue ยท 19 comments

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

Attempt to install any module from ps gallery

Expected behavior

Module should install like normal

Actual behavior

Install-Package: No match was found for the specified search criteria and module name 'Microsoft.WinGet.Client'. Try Get-PSRepository to
see all available registered module repositories.

Error details

Install-Package: No match was found for the specified search criteria and module name 'Microsoft.WinGet.Client'. Try Get-PSRepository to
see all available registered module repositories.

Environment data

Name                           Value
----                           -----
PSVersion                      5.1.22621.3880
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.3880
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Version

5.1.22621.3880

Visuals

No response

+1 for me on this one too

+1 for me on this one too

It started working for me again but then a git runner just failed with the error so might be intermittent.

dstace commented

+1 from me. Initially it appeared to just be modules, however I have had Install-Script intermittently failing as well.

+1 facing issue while downloading modules.
image

nixuno commented

Using Install-PSResource I was getting a similar error. The API call that PSRG uses is:

https://www.powershellgallery.com/api/v2/FindPackagesById()?$filter=Id+eq+%27ComputerManagementDsc%27+and+NormalizedVersion+eq+%279.1.0%27&$inlinecount=allpages&id=%27ComputerManagementDsc%27

Which was returning an error.

Response status code does not indicate success: 999.' Request sent: 'https://www.powershellgallery.com/api/v2/FindPackagesById()?$filter=Id+eq+%27ComputerManagementDsc%27+and+NormalizedVersion+eq+%279.1.0%27&$inlinecount=allpages&id=%27ComputerManagementDsc%27

This set of query parameters was still working however:

https://www.powershellgallery.com/api/v2/FindPackagesById()?id=%27ComputerManagementDsc%27&$filter=IsLatestVersion

So I think that there is indeed something transient during maintenance as the first API call is working again through PSRG. Just going to wait it out. ๐Ÿ˜„

I'm having same issue now with Install-Package command...

nrv-96 commented

Dear Contributor,

Do we have a clone site or backup of PSGallery to prevent downtime and allow users to download from the backup site?

If you find this comment useful, please react with a thumbs-up ๐Ÿ‘so that repository contributors understand the importance of keeping the site alive.

Seeing the same thing. Also attempting to browse certain packages such as AzureRM.Profile on the web comes back with a WAF error: https://www.powershellgallery.com/packages/AzureRM.Profile/

image

Failing for us too

Trying to get this file from our pkg repo: /nuget/v3/flat2/microsoft.applicationinsights.profiler.aspnetcore/index.json

{"$id": "1","innerException": null,"message": "Failed to retrieve data from the upstream package source 'https://www.powershellgallery.com/api/v2/': 999 ()","typeName": "Microsoft.VisualStudio.Services.Packaging.ServiceShared.Upstream.PublicUpstreamFailureException, Microsoft.VisualStudio.Services.Packaging.ServiceShared","typeKey": "PublicUpstreamFailureException","errorCode": 0,"eventId": 3000}

Same problem for me https://www.powershellgallery.com/packages/MicrosoftPowerBIMgmt.Profile/ shows blocked

PackageManagement\Save-Package : No match was found for the specified search criteria and module name 'MicrosoftPowerBIMgmt.Profile'. Try Get-PSRepository to see all available registered module repositories.

We are having issues with AzureRM.profile package : https://www.powershellgallery.com/packages/AzureRM.profile/ . Shows blocked by firewall rules and we're unable to install package

The same. This is kinda critical for us. Any ETA for the fix?

Same problem for me https://www.powershellgallery.com/packages/MicrosoftPowerBIMgmt.Profile/ shows blocked

PackageManagement\Save-Package : No match was found for the specified search criteria and module name 'MicrosoftPowerBIMgmt.Profile'. Try Get-PSRepository to see all available registered module repositories.

Same. Preventing ADO Pipeline from deploying reports.

+1

Failing for us too

Trying to get this file from our pkg repo: /nuget/v3/flat2/microsoft.applicationinsights.profiler.aspnetcore/index.json

{"$id": "1","innerException": null,"message": "Failed to retrieve data from the upstream package source 'https://www.powershellgallery.com/api/v2/': 999 ()","typeName": "Microsoft.VisualStudio.Services.Packaging.ServiceShared.Upstream.PublicUpstreamFailureException, Microsoft.VisualStudio.Services.Packaging.ServiceShared","typeKey": "PublicUpstreamFailureException","errorCode": 0,"eventId": 3000}

Fixed, it works again for us. Thanks

Thanks for reporting! We added new company wide firewall policies and unfortunately a few of them are causing issues. We've reverted all the recent changes as of roughly 4 hours ago, so folks should be unblocked by this issue now.