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

Aperta
#318 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
azure, powershell
Ambito
backend, devops

Direzione di ricerca

The report names Install-PSResource, the Az modules, Azure DevOps, and the PowerShell Gallery v2 package query. Start by checking whether the 504 responses are still reproducible and whether the failure comes from the gallery service or the pipeline request. The report does not identify a repository file or test; done means package downloads complete reliably without the reported gateway timeout.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Prerequisites
  • Write a descriptive title.
  • 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‌
Environment data
Azure DevOps
Version

?? Azure DevOps

Visuals

No response

Lingua principale
PowerShell
Stelle
289
Fork
83
Merge medio
1m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PowerShell/PowerShellGallery

Tutte le issue di PowerShell/PowerShellGallery

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.