awslabs / awslabs/aws-codedeploy-plugin

Rate Exceeded Error

Abierto
#95 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
156
Forks
130
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con la ruta de polling del plugin para la Amazon CodeDeploy GetDeployment API; el issue identifica esta operación como la que falla e indica que el intervalo de polling es de 5 segundos. Reproduce o inspecciona el comportamiento bajo los bursts de requests reportados y, después, verifica que los deployments exitosos ya no hagan que Jenkins informe de un fallo cuando AWS devuelve un error de throttling.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
aws, java
Área
cloud, devops
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.