awslabs / awslabs/aws-codedeploy-plugin
Rate Exceeded Error
- 主要言語
- Java
- スター
- 156
- フォーク
- 130
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
調査の方向性
Amazon CodeDeploy GetDeployment API に対する plugin の polling path から始めてください。issue ではこれが失敗している operation として特定され、polling interval は 5 秒と記載されています。報告された request bursts 下での挙動を再現または調査し、その後、AWS が throttling error を返した場合でも、successful deployments によって Jenkins が失敗を報告しなくなったことを確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, java
- 領域
- cloud, devops
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100