PowerShell / PowerShellGallery

221 stars 61 forks source link

Powershell Gallery is returning 503 #135

Closed kyanha closed 3 years ago

kyanha commented 3 years ago

Powershell Gallery is returning 503. I can't currently run https://github.com/powershell/powershell tests because they try to pull Pester from it.

dariuszparys commented 3 years ago

Same here with Pester and other modules

ChristofStadler commented 3 years ago

Having similar problem installing PSScriptTools, our build pipelines failing as a result.

amorvillier commented 3 years ago

Same behavior on my side

mbrownphotouk commented 3 years ago

I am getting a 503 error when trying to pull any modules down at the moment

arievanderwende commented 3 years ago

Modules cannot be pulled from the PowerShell Gallery at the moment. The PowerShell Gallery seems to be unavailable for at least a few hours already.

GGJason commented 3 years ago

Is there any official websites for PowerShell Gallery status? It is hard to know that it is down or just an internet error.

mbrownphotouk commented 3 years ago

https://github.com/PowerShell/PowerShellGallery/blob/master/psgallery_status.md

Although nothing on there as yet for this

alerickson commented 3 years ago

Hi all, we currently have an outage and are working on resolving it. Our CDN is down preventing packages from being downloaded and availability for the gallery itself has been extremely low. I'll update here as mitigation steps progress.

Creddi commented 3 years ago

Same problem here

o-l-a-v commented 3 years ago

PowerShellGallery has become a essential resource for many. It's been unstable and have had other problems for months.

@alerickson : Is Microsoft comitting to making PowerShellGallery a reliable resource for PowerShell modules in near future, or do we have to look for other solutions (like GitHub maybe) for reliably hosting PowerShell modules?

staedter commented 3 years ago

PowerShellGallery has become a essential resource for many. It's been unstable and have had other problems for months.

@alerickson : Is Microsoft comitting to making PowerShellGallery a reliable resource for PowerShell modules in near future, or do we have to look for other solutions (like GitHub maybe) for reliably hosting PowerShell modules?

I want to second the sentiment. Our CI/CD Pipelines quite heavily rely on the availability of multiple third-party modules that are primarily hosted on PS Gallery... I guess we should try to get rid of that single point of failure but Microsoft also should be doing more to guaranty the availability of something so vital to a lot of people.

Although I personally appreciate that @alerickson gave us the first official information about the problem from the responsible team from Microsoft, I think they should be doing a better job at communicating outages and mitigation progress than replying on Github issues.

mbrownphotouk commented 3 years ago

I concur I have a change which is reliant on me pulling a module down to a new server so this is eating away at my change window.

jaskaran915 commented 3 years ago

facing same issue. Our ADO pipelines relies on powershell gallery for ps module. when we can aspect fix. Same kind of issue was observed few days back, but it was fixed by India Noon time on that day.

isoengas commented 3 years ago

Same here..

TGosselink commented 3 years ago

Same here. Need to install Docker on a new server and therefore need psgallery to install my modules. Can't work on this server now..

RemkoD commented 3 years ago

Same issue here (Netherlands).

GGJason commented 3 years ago

https://github.com/PowerShell/PowerShellGallery/blob/master/psgallery_status.md

Although nothing on there as yet for this

I think this page is for history now...

smorenburg commented 3 years ago

Same here, our pipelines came to a halt.

staedter commented 3 years ago

https://github.com/PowerShell/PowerShellGallery/blob/master/psgallery_status.md Although nothing on there as yet for this

I think this page is for history now...

Yes and apparently the only person on the team that thinks about informing users has no way of updating the repo

The gallery's been experiencing ongoing low availability. The issue should be mitigated now. I unfortunately don't have write permissions to this repo, but I've put in a PR to update the status. Feel free to comment here with updates on whether builds are still breaking. We're working on completely resolving the issue, but I'm hoping the scenario's improved for most.

Originally posted by @alerickson in https://github.com/PowerShell/PowerShellGallery/issues/132#issuecomment-704875043

AnthonyGarriga commented 3 years ago

Same issue here. Hopefully it will be fixed soon.

mbrownphotouk commented 3 years ago

Took longer to time out but still failed

alphaleonis commented 3 years ago

Yeah, still doesn't work here either.

hallerx commented 3 years ago

Still not working.

ajithvs commented 3 years ago

Same issue here..

aperally commented 3 years ago

same here (Ireland)

jlbaptista commented 3 years ago

Can confirm @aperally statement. Continues to be down in Ireland.

mbrownphotouk commented 3 years ago

@alerickson Any update?

harisubramaniam1 commented 3 years ago

Same here UK

gokusupa commented 3 years ago

Large impact here.

LeoSchoonhoven commented 3 years ago

Same here, pulling out my hairs as to why it wasn's working

ghost commented 3 years ago

Created a pull request to update the status page - https://github.com/PowerShell/PowerShellGallery/pull/136

DanielFrei64 commented 3 years ago

it JUST came up for me.. hopefully long enough to get a couple pipelines through

venkat1017 commented 3 years ago

Still not for me. I tried a few minutes back

snd3r commented 3 years ago

I had a problem with installing PSReadline, now I have a second one - I don't understand why so many people don't vendor pipeline dependencies.

MonaMoravej commented 3 years ago

We (In Sitecore) still have the issue, any ETA on that? has been blocking us for hours.

s1mark commented 3 years ago

Unable to install azure related modules...

providyn commented 3 years ago

For me this means I am dead in the water to managing my WVD 1.0 environment because it is 100% managed by Powershell and I rebuilt my machine and cannot reinstall the modules needed to manage it.

PaulVrugt commented 3 years ago

It's been down for over 7 hours now....this is getting ridiculous

andersidahl commented 3 years ago

what is happening??? Still down.....

gokusupa commented 3 years ago

Anybody remember last year when Azure Devops went down in south central US and we all wondered why there was no redundancy of the Azure Devops systems in other datacenters. The entirety of their development platform was down for a day for the entire customer base.

Pepperidge farms remembers

amorvillier commented 3 years ago

Workaround to install Az module: Az module could be installed from the last msi file: https://github.com/Azure/azure-powershell/releases/download/v5.0.0-October2020/Az-Cmdlets-5.0.0.33612-x64.msi

MattJeanes commented 3 years ago

For those who just need Az modules and are using Azure Pipelines see this comment, negates the need to install them at all as they are already pre-installed on Azure Pipelines Hosted Agents: https://github.com/PowerShell/PowerShellGallery/issues/132#issuecomment-716863626

kohithreddy commented 3 years ago

For those who just need Az modules and are using Azure Pipelines see this comment, negates the need to install them at all as they are already pre-installed on Azure Pipelines Hosted Agents: #132 (comment)

we are experiencing the issue even in AzurePowershell task. image

image

Inline Scripts to test:

Script 1 : Get-PSRepository

Script 2: Set-PSRepository -Name PSGallery -InstallationPolicy Trusted

MattJeanes commented 3 years ago

we are experiencing the issue even in AzurePowershell task.

Personally we are using Azure CLI task set to Powershell Core and we use this bit of code to authenticate Az module from the CLI as we use both Az and CLI in our scripts.

function Connect-AzAccountFromCli {
    Write-Debug "Connecting Az powershell account from cli"
    $token = (az account get-access-token) | ConvertFrom-Json
    $null = Connect-AzAccount -AccessToken $token.accessToken -AccountId $token.subscription -Tenant $token.tenant
}

Note if you do this the token will only last an hour or so and you will have to call that function again

mbrownphotouk commented 3 years ago

Doesnt help us that needs modules that are not azure based

MattJeanes commented 3 years ago

For other modules if you have them downloaded locally on your dev PC you could ship them with your code and do a local import, I've just changed our deployment scripts to do this with Newtonsoft.Json to eliminate our dependency on Powershell Gallery.

For example, I copied C:\Users\<user>\Documents\Powershell\Modules\newtonsoft.json\1.0.2.201 (location varies depending on PowerShell version and install scope) into the same folder as our deployment scripts, renamed it to Newtonsoft.Json and then in our script ran Import-Module -Name (Join-Path $PSScriptRoot "Newtonsoft.Json")

You can see what modules are pre-installed on Azure Pipeline agents if you use those here: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml

ghost commented 3 years ago

Jesus, how is this still not fixed?

codaamok commented 3 years ago

Because it's probably a hard problem

KingAlison commented 3 years ago

I can't download EXO V2 powershell module from PSGallery.

buckthebug commented 3 years ago

Because it's probably a hard problem

It seems they don't have any DR plan. 🤦‍♂️