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
Make sure you are able to repro it on the latest version
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
Hi, the request from the error looks it's formatted strangely. Is this error consistent or intermittent?
Can you share the output of: Get-PSResourceRepository -Name PSGallery
We are seeing slowness and timeouts as well. Seems something may have started around the 17th. Requests are not taking 900k MS before they timeout this is just our general AWS monitor for all our packages in PSG.
Hi Bo Blodgett (@boblodgett) we've had a few reports of this now. We're seeing failures and high amounts of specific exceptions but are still investigating the underlying issues. Our CPU is a bit high, so we've scaled up the instances we're using. Please report back here if the issue persists or resolves. We'll be monitoring our logs to see if these exceptions continue but it's helpful to have more reports with timestamps from users as well.
We had a much better day yesterday with no more 504s so this seems to have resolved the issue, thanks. I will report back should it start occurring again.
We had several pipelines failing this morning (7-8am CET) when they tried to install modules, and the PowerShell Gallery website was really slow and gave 504 in the browser randomly. Now, 9am it seems more responsive again. So still problems with stability.
This is happening again this morning, and preventing us from deploying to production. Our release pipelines have been trying to pull from PSGallery for over an hour, some of which are timing out with 504s. I am concerned that this seems to happen too frequently for my liking - it is such a crucial step to our deployment. Please advise on a) fixing it short term and b) what are the longer term plans to stop this reoccuring?
Activity
ssmith80 commentedon Jun 19, 2025
We are still experiencing this with high frequency...
alerickson commentedon Jun 19, 2025
Hi, the request from the error looks it's formatted strangely. Is this error consistent or intermittent?
Can you share the output of:
Get-PSResourceRepository -Name PSGalleryboblodgett commentedon Jun 20, 2025
We are seeing slowness and timeouts as well. Seems something may have started around the 17th. Requests are not taking 900k MS before they timeout this is just our general AWS monitor for all our packages in PSG.
alerickson commentedon Jun 20, 2025
Hi Bo Blodgett (@boblodgett) we've had a few reports of this now. We're seeing failures and high amounts of specific exceptions but are still investigating the underlying issues. Our CPU is a bit high, so we've scaled up the instances we're using. Please report back here if the issue persists or resolves. We'll be monitoring our logs to see if these exceptions continue but it's helpful to have more reports with timestamps from users as well.
boblodgett commentedon Jun 23, 2025
The duration has been normal since around 1PM on 6/20 PT.
ssmith80 commentedon Jun 24, 2025
We had a much better day yesterday with no more 504s so this seems to have resolved the issue, thanks. I will report back should it start occurring again.
pbo-top commentedon Jun 26, 2025
We had several pipelines failing this morning (7-8am CET) when they tried to install modules, and the PowerShell Gallery website was really slow and gave 504 in the browser randomly. Now, 9am it seems more responsive again. So still problems with stability.
ssmith80 commentedon Jul 22, 2025
This is happening again this morning, and preventing us from deploying to production. Our release pipelines have been trying to pull from PSGallery for over an hour, some of which are timing out with 504s. I am concerned that this seems to happen too frequently for my liking - it is such a crucial step to our deployment. Please advise on a) fixing it short term and b) what are the longer term plans to stop this reoccuring?