- 新しい順
- 投票が多い順
- コメントが多い順
The error message "connection to server at "<proxy DNS name>" (<proxy IP address>), port 5432 failed: server closed the connection unexpectedly" suggests that the RDS proxy is closing the client connection unexpectedly. This issue could be caused by a number of factors, including increased traffic, scaling operations, or issues with the RDS proxy or the database.
Regarding the scaling operation, the RDS proxy is not affected by the scaling of the database instances. RDS proxy does not close the client connection during a scaling operation.
To get more insight into the RDS proxy internal operations, you can enable Enhanced Logging for the RDS proxy. This will provide more detailed logs and metrics, which can help you identify the root cause of the connection failures. However, it is important to note that enabling Enhanced Logging can slow down performance, so it's best to perform this step during a maintenance window or when the traffic is low.
You can also check the CloudWatch Metrics for the RDS proxy and the database. It could be that some metrics like Connections, CPU Utilization, Memory utilization, and so on are at high levels during the failures.
Another approach is to look into the RDS proxy error logs which you can find in the RDS console under the 'Logs and Events' tab. This will give you more information about the connection failures.
In addition, you can also check the RDS proxy connection pool settings, make sure that the connection pool is not too small for the number of connections you are trying to establish.
Finally, you may want to contact AWS support to get more information or help with troubleshooting the problem.
関連するコンテンツ
- 質問済み 6年前