PowerShellGallery icon indicating copy to clipboard operation
PowerShellGallery copied to clipboard

502 for HTTP requests of the install-module

Open iambernics opened this issue 4 years ago • 0 comments

Hi All,

We are getting HTTP 502 for requests of the install-module from PS Gallery back-end (https://psg-prod-eastus.azureedge.net/packages Feed) randomly, you can find an example below.

The Azure Support could not able to resolve the root cause and suggested this channel.

Unfortunately, thousands of our developers are affected worldwide.

Please share the suggested support channel on the Microsoft side If you are not responsible for the infrastructure-related issues.

Thanks a lot!

Regards, Gabor

CPackageManagement\Install-Package : Package 'AzureRM.profile' failed to be 
installed because: End of Central Directory record could not be found.
At C:\Program 
Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1772 
char:21
+ ...          $null = PackageManagement\Install-Package @PSBoundParameters
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidResult: (AzureRM.profile:String) [Install 
   -Package], Exception
    + FullyQualifiedErrorId : Package '{0}' failed to be installed because: {1 
   },Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

iambernics avatar Apr 27 '20 08:04 iambernics