- Newest
- Most votes
- Most comments
To resolve the DBProxy Target unavailable due to an internal error
issue trying to do these steps:
- Check the RDS Proxy and database instances are in a healthy state.
- Verify the RDS Proxy configuration, including security groups and VPC settings.
- Ensure network settings like ACLs and route tables allow traffic between the RDS Proxy and database instances.
- Check the logs for any error messages or clues.
- Consider restarting the RDS Proxy if the issue persists.
Thanks for getting back to me Osvaldo.
-
Both the RDS instance and proxy have a status of available however the target group containing the db instance is unavailable. I am unsure how to investigate or restore this.
-
As far as I can tell the proxy config is correct. The security groups allow in and outbound traffic where necessary. The lambda, DB and proxy are all in the same VPC and the proxy shares subnets with both the lambda and the DB.
-
The route tables are configured to allow traffic between subnets and the ACLs also.
-
The cloudwatch logs for the proxy aren't being written despite the proxy's IAM role having permission to do so.
-
I'm not sure it's possible to 'restart' the proxy outside of deleting and recreating.
Thanks again.
-
Relevant content
- asked 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
What do the CloudWatch logs for the Proxy state? I imagine the Proxy is facing an issue where it either can't reach the instance, or the user created for proxy can't connect/access a system database in order to check the health. What is the destination instance engine?
Thanks for getting back to me @Kyle_B. CloudWatch logs for the proxy aren't being written- for whatever reason (proxy IAM role has permission to write to log group). Am trying to connect to a postgres db. The DB user in question is able to connect directly but not via the proxy.