Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Is there any difference between using the public IP vs using the private IP of a droplet (connection stability wise)?
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
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×