PowerShellGallery icon indicating copy to clipboard operation
PowerShellGallery copied to clipboard

Increasing failure rate when downloading packages - 504 (Gateway Time-out)

Open ssmith80 opened this issue 8 months ago • 8 comments

Prerequisites

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

Steps to reproduce

Our Azure DevOps release pipeline installs the Az modules, and we have noticed a considerable increase in the frequency of 504 Gateway Time-out errors in the past few days. It has failed repeatedly in the last hour.

Expected behavior

We can pull the Az modules package in a timely manner.

Actual behavior

The process fails, with the following output:
‌Install-PSResource : ‌Response status code does not indicate success: 504 (Gateway Time-out).

Error details

‌Install-PSResource : ‌Response status code does not indicate success: 504 (Gateway Time-out). Request sent: https:www.powershellgallery.comapiv2FindPackagesById()?$filter=NormalizedVersion+ge+%274.0.1%27+and+Id+eq+%27Az.Accounts%27&$inlinecount=allpages&$skip=0&$orderby=NormalizedVersion+desc&id=%27Az.Accounts%27‌

Environment data

Azure DevOps

Version

?? Azure DevOps

Visuals

No response

ssmith80 avatar Jun 17 '25 21:06 ssmith80