当前位置:网站首页>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 ~
边栏推荐
- Firewall firewall
- torch‘ has no attribute ‘inference_ mode‘
- 图像分割 vs Adobephotoshop(PS)
- 硬刚甲方后:中国移动 4908 万大单被废
- Shell编程之正则表达式(Shell脚本文本三剑客之grep)
- How to make a graph? Multiple subgraphs in a graph are histogram (or other graphs)
- [网摘][医学影像] 常用的DICOM缩略图解释以及Viewer converter 转换工具
- Arduino常见供电问题与解决
- CH340模块无法识别/烧写不进的一种可能性
- While loop instance in shell
猜你喜欢

Solution of digital tube flash back after proteus8 professional version cracking

求不同采样周期下的传递函数有限零点

npm踩坑

Strictly control outdoor operation time! Foshan housing and Urban Rural Development Bureau issued a document: strengthening construction safety management during high temperature

LNMP architecture setup (deploy discuz Forum)

TapNet: Multivariate Time Series Classification with Attentional Prototypical Network

go 用本地代码replace

Keil MDK compilation appears..\user\stm32f10x H (428): error: # 67: expected a "}" wrong solution

解决方案:Can not issue executeUpdate() or executeLargeUpdate() for SELECTs

Image segmentation vs Adobe Photoshop (PS)
随机推荐
微机和单片机的区别
新版数据仓库的同步使用参考(新手向)
Shell编程之正则表达式(Shell脚本文本三剑客之grep)
Newton-Raphson迭代法
[machine learning whiteboard derivation series] learning notes - probability graph model and exponential family distribution
数据库 cli 工具 docker 镜像
基于bolt数据库实现简单的区块链 day(2)
Check the number of file descriptors opened by each process under the system
Tlc549proteus simulation &sallen key filter &ad736vrms to DC conversion &proteus view 51 register value
JS字符串方法总结
系统临时文件的写和读:createTempFile和tempFileContent[通俗易懂]
Weibo comment crawler + visualization
go入门篇 (5)
Example of MATLAB dichotomy (example of finding zero point by dichotomy)
上半年火灾起数下降27.7%,广东将这样提升全民消防安全素质
希腊字母读法
Idea: can't use subversion command line client: SVN solution
暂用 Solo,博客选择困难
解决方案:idea project没有显示树状图
JS-寄生组合式继承