Releem / mysqlconfigurer

Releem is a simple MySQL tuning tool to improve database performance and reduce servers costs.
https://releem.com
GNU General Public License v3.0
255 stars 27 forks source link

DescribeDBInstances, exceeded maximum number of attempts #155

Closed drupaladmin closed 1 year ago

drupaladmin commented 1 year ago

I've got the error in releem-agent logs: releem-agent[22036]: ERROR : [Main] - 2023/04/05 10:43:47 main.go:131: operation error RDS: DescribeDBInstances, exceeded maximum number of attempts, 3, https response error StatusCode: 0, RequestID: , request send failed, Post "https://rds.us-west-2a.amazonaws.com/": dial tcp: lookup rds.us-west-2a.amazonaws.com: no such host

The problem experienced after EC2 instance hadn't the right permissions.

drupaladmin commented 1 year ago

Might be helpful https://stackoverflow.com/questions/55016714/an-error-occurred-throttlingexception-when-calling-the-getdeployment-operation https://docs.aws.amazon.com/general/latest/gr/api-retries.html

drupaladmin commented 1 year ago

The root cause of the problem was incorrect configuration. aws_region="us-west-2a" should be changed to aws_region="us-west-2"