Closed SonalikaMishra closed 1 year ago
Yes, the AWS SDK already backs off and retries requests that are rate limited.
Could you please share documentation for this and how to configure it's service client for EC2 services?
Hi @SonalikaMishra - sorry for the delay on responding to this. If this is still an issue for you, you can find information about how the AWS SDK for PHP does retries and how to configure them, in the following documentation. You can also turn on debug logs by passing the parameter debug => true to the client config, and in those logs you can see the retries made for that request.
Thanks!
This issue has not recieved a response in 1 week. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.
Confirm by changing [ ] to [x] below:
Version of AWS SDK for PHP? Example: v3.133.6
Aws\Sdk::VERSION
in your codecomposer show -i
Version of AWS SDK for PHP : v3.139.1 Version of AWS Service Provider for Laravel? v3.5.0
Version of Laravel (
php artisan --version
)? Laravel Framework Lumen (6.3.3) (Laravel Components ^6.0)Version of PHP (
php -v
)? PHP 7.3.21 Describe the question We are currently using a lumen framework provided service layer on top of aws-sdk-php called aws-sdk-php-laravel. We are facing some throttling issue with ELB (describeTags).(AWS) Throttling (client): Rate exceeded - <ErrorResponse xmlns="http://elasticloadbalancing.amazonaws.com/ is there any way to configure service client for elb to use "retry" in our case? "aws-sdk-php-laravel" is it supports retry mechanism?