当前位置:网站首页>Alibaba cloud RDS exception during pool initialization
Alibaba cloud RDS exception during pool initialization
2022-07-27 12:10:00 【H_ Dsheng】
Alibaba cloud database RDS edition Communications link failure hole
This is a big hole .
Before 11 Every month is fine , I don't know why this is happening now ??
The project is normally in idea Run successfully in , Pack it up jar Packages or war The following errors will be reported when the package is released , Cause the project connection to fail .
log The key in the log log by :
ERROR com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Exception during pool initialization.
com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
I found many ways in Baidu , Setting up useSSL=false
#serverTimezone: Asia/Shanghai
# useUnicode: true
# allowPublicKeyRetrieval: true
And set the parameters of cloud database wait_timeout and innactive_timeout The value of is larger ,
No success !
The final solution :
I Directly in Alibaba cloud RDS The management console logs into the database , then tomcat-ui Interface manager app Start this war package , actually start succeed ( You can't retry many times before )( direct restart tomcat Service is OK , I am here manager app It starts because I have opened this interface at this time )
Running success chart :
sign : Started SpringsunApplication in 13.924 seconds (JVM running for 41505.291)
This is really a big hole now …
Maybe Alibaba cloud database rules have changed ???( I have never touched this setting ,11 It was all right before the month , released war Packages can also run )
The only operation I think of is that I shut down Alibaba cloud server at the weekend , Recently, my server has also been frequently detected for external attacks , Baidu for a while , I found that it was hacked into a timed script , Lead to CPU Often occupy too much , Thus, it is detected by Alibaba cloud as an external attack , The one in the scheduled task has been deleted and sealed IP.
But I don't think it involves Alibaba cloud database when I shut down Alibaba cloud server ? These two are independent services ( The database instance is always running )
And I may every start once tomcat, I need to log in to Alibaba cloud database panel ??
Anyway, If someone sees or knows that there is a better solution , Please leave a message and tell me ~
边栏推荐
- JS字符串方法总结
- USB network card drive data stream
- LNMP architecture setup (deploy discuz Forum)
- 上半年火灾起数下降27.7%,广东将这样提升全民消防安全素质
- Newton Raphson iterative method
- [machine learning whiteboard derivation series] learning notes --- conditional random fields
- A possibility that ch340 module cannot be recognized / burned
- 暂用 Solo,博客选择困难
- 【机器学习-白板推导系列】学习笔记---条件随机场
- 解决@OneToMany查询陷入循环引用问题
猜你喜欢

Adobe audit prompts that the sampling rate of audio input does not match the output device - problem solving

图像分割 vs Adobephotoshop(PS)

LNMP architecture setup (deploy discuz Forum)
新版数据仓库的同步使用参考(新手向)

Matlab draws Bode diagram with time delay system

MATLAB画带延时系统的伯德图

Regular expression of shell programming (grep of shell script text three swordsmen)

N ¨UWA: Visual Synthesis Pre-training for Neural visUal World creAtionChenfei

源码编译安装LAMP

Shake quickly to rescue the "frustrated person"
随机推荐
shell中的while循环实例
Introduction to box diagram
Database cli tool docker image
V-show失效问题
Detailed explanation of MATLAB S-function
哈希表 详细讲解
Packet transmission: application layer - kernel - hardware
希腊字母读法
Adobe audit prompts that the sampling rate of audio input does not match the output device - problem solving
Principle, concept and construction process of MySQL database master-slave replication cluster
In the first half of the year, the number of fires decreased by 27.7%. Guangdong will improve the fire safety quality of the whole people in this way
Synchronous use reference of the new version of data warehouse (for beginners)
mysql8msi安装教程(数据库mysql安装教程)
Shell script text three swordsman awk
Unity Shader 一 激光特效Shader[通俗易懂]
Summary of leetcode SQL exercises (MySQL Implementation)
Image segmentation vs Adobe Photoshop (PS)
二分查找判定树(二分查找树平均查找长度)
广东财政多举措助力稳住粮食安全“压舱石”
Difference between verification and calibration