Maged Mortaga
06/11/2022, 8:10 PMThrottling: Rate exceeded
very often when I start my application via sst start
.
Is it possible to find out what causes the Throttling?
From the stack trace I am only able to see that is was thrown by the AWS SDK.
It always occurs after the console prints the SST Console: <https://console.serverless-stack.com>
line.
If the error is not thrown, which happens after I wait between 10 - 30 minutes, it will print Debug session started. Listening for requests...
and work againAdrian Schweizer
06/11/2022, 10:00 PMMaged Mortaga
06/11/2022, 11:27 PMDescribeStackResource
event causes this issue. It seems to be called 8 times at the same time and this causes an ThrottlingException
Is there anything we can do on our side to mitigate this problem?Adrian Schweizer
06/12/2022, 12:09 PMAdrian Schweizer
06/12/2022, 12:11 PMFrank
Maged Mortaga
06/13/2022, 6:42 AMFrank
Frank
Rate exceeded
error comes from here. It’s fetching the constructs metadata for each stack from CloudFormation. It doesn’t seem we are using the returned constructs
variable in the code. Can you verify that? https://github.com/serverless-stack/serverless-stack/blob/master/packages/cli/scripts/start.mjs#L107-L123Maged Mortaga
06/13/2022, 3:55 PMthdxr
06/13/2022, 3:57 PM