aws / aws/aws-cdk-cli

(watch): occasionally throws "Error occurred while monitoring logs: ThrottlingException: Rate exceeded"

Open
#879 11 comments 8 reactions 0 assignees View on GitHub
bug effort/small p2
Dominant language
TypeScript
Stars
105
Forks
122
Avg merge
1d 17h
Merged PRs (30d)
71

Description

### Describe the bug

Today, as I was developing something normally - I randomly got the following error in the CLI. This happened around 10 minutes after the terminal was "hanging" after a successful deploy of 3 stacks, deployed through the `cdk deploy '*-app' --require-approval=never` command

![Screenshot 2022-04-18 at 10 53 38](https://user-images.githubusercontent.com/1754428/163777056-5d6dbdfe-510d-4496-b5be-df07aa3f6029.png)
.

### Expected Behavior

No throttling errors

### Current Behavior

Throttling error in terminal

### Reproduction Steps

1. Run "cdk watch" normally.
2. Wait for the error to appear sporadically.

### Possible Solution

Reduce polling interval maybe? Or suppress the throttling error, since it doesn't actually impact the UX.

### Additional Information/Context

I've only encountered this once today. I've been using "cdk watch" for months and haven't seen this before.

### CDK CLI Version

2.16.0 (build 4c77925)

### Framework Version

_No response_

### Node.js Version

16.14.0

### OS

MacOS 12.3.1 Monterey

### Language

Typescript

### Language Version

4.5.5

### Other information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.