awslabs / awslabs/aws-codedeploy-plugin

Rate Exceeded Error

Aperta
#95 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
156
Fork
130
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

We've been using the Code Deploy Jenkins plug in for about a year with no trouble. Then about 2 weeks ago we started getting errors like this about every other build:

Failed CodeDeploy post-build step; exception follows.
Rate exceeded (Service: AmazonCodeDeploy; Status Code: 400; Error Code: ThrottlingException;

The deploys actually succeeds, but Jenkins reports it as a failure. Amazon support says the problem is with the GetDeployment API, the polling that the plug in does to see if the deployment is successful. They say our Jenkins server is sending 41 of those per minute with higher bursts. They say the bursts are causing the error. We have the polling interval set to 5 seconds.

Anybody have any ideas? Seems to me the problem must be on the Amazon side since we haven't changed anything on the Jenkins server in months. Amazon is insisting that the problem is with Jenkins.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con il percorso di polling del plugin per la Amazon CodeDeploy GetDeployment API; l'issue identifica questa come l'operazione che fallisce e indica che l'intervallo di polling è di 5 secondi. Riproduci o ispeziona il comportamento in presenza dei bursts di requests segnalati, quindi verifica che i deployments riusciti non facciano più segnalare un errore a Jenkins quando AWS restituisce un errore di throttling.

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

Valutazione

Stack tecnologico
aws, java
Ambito
cloud, devops
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.