RequestLimitExceeded exceptions in error logs
See original GitHub issueI’m seeing a large number of RequestLimitExceeded
exceptions in the logs. Here is an example:
Trace: RequestLimitExceeded: Request limit exceeded.
at Request.extractError (/home/vbarsegyan/former2/cli/node_modules/aws-sdk/lib/services/ec2.js:50:35)
at Request.callListeners (/home/vbarsegyan/former2/cli/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/home/vbarsegyan/former2/cli/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/home/vbarsegyan/former2/cli/node_modules/aws-sdk/lib/request.js:688:14)
at Request.transition (/home/vbarsegyan/former2/cli/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/home/vbarsegyan/former2/cli/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /home/vbarsegyan/former2/cli/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/home/vbarsegyan/former2/cli/node_modules/aws-sdk/lib/request.js:38:9)
at Request.<anonymous> (/home/vbarsegyan/former2/cli/node_modules/aws-sdk/lib/request.js:690:12)
at Request.callListeners (/home/vbarsegyan/former2/cli/node_modules/aws-sdk/lib/sequential_executor.js:116:18) {
code: 'RequestLimitExceeded',
time: 2020-08-19T10:01:39.095Z,
requestId: 'e617cd80-eee2-4021-a1db-7e97ab982bb4',
statusCode: 503,
retryable: true
}
There is some inconsistency in the number resources that are being generated at every run. I ran
node /former2/cli/main.js generate --region us-east-1 --output-terraform /tmp/backup.tf
once a day for 6 days in a row and the files sizes varied as follows: 1.4MB, 459KB, 526KB, 556KB, 529KB, 440KB.
Is this inconsistency somehow tied to the AWS request limit? If so, would it be possible to limit the number asynchronous API requests such that all resources are captured at every run?
Reference: https://github.com/iann0036/former2/issues/86 (thanks again!)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Prevent RequestLimitExceeded errors when launching ... - AWS
A RequestLimitExceeded error for Amazon EC2 APIs usually indicates request rate limiting or resource rate limiting API throttling.
Read more >RequestLimitExceeded (503) Unable to parse ... - GitHub
The error happens in the background worker pool handling the async responses to the calls. And the exception bubbles all the way up,...
Read more >Salesforce Error: REQUEST_LIMIT_EXCEEDED
If you are receiving this error, it means that you have exceeded your Salesforce API request limit. This usually occurs when you make...
Read more >Salesforce API Request Limit Exceeded - DocuSign Support
In DocuSign Connect logs: Salesforce login exception: REQUEST_LIMIT_EXCEEDED: TotalRequests Limit exceeded. ERROR: Invalid Salesforce ...
Read more >Error handling — Boto3 Docs 1.14.0 documentation
Proper logging/messaging - Catching errors and exceptions means you can log ... This is a general exception when an error response is provided...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great. Thanks again for your help!
Hey @iann0036,
Everything works like a charm! Feel free to close this ticket.