Question

Is there any difference between using the public IP vs using the private IP of a droplet (connection stability wise)?

Posted November 27, 2018 3k views
UbuntuMySQLDebianDockerNetworkingMariaDBDatabases

Hi DO community, I ask this question because I have a DockerContainer(Java) -> Droplet(MariaDB) app and sometimes (is not frequent and I haven’t discovered any pattern) receive the warning

WARN com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@d1e1999 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value

And I checked all my code and I’m not executing any query after the close statement (I’m using a Closeable wrapper for the hibernate entity manager).

Thanks in advance

1 comment
Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!