Connection hanging occasionally with Amazon RDS MySQL & Play Framework 1.2.5 (c3p0 default settings)

不羁的心 提交于 2019-12-05 17:28:00

Answering again to myself:

We ended first up using socketTimeout specified for MySQL driver so so that connection test doesn't get stuck.

It seems that the underlying TCP connections ended up so that that there is no answer from the server (TCP ACK or anything).

UPDATE: The final solution was got with giving tcpdump for AWS support, they found out some case within AWS infrastructure. They adviced us to open the ephemeral port range in our EC2 instance's security group. More discussion at AWS forum.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!