当前位置:网站首页>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 ~
边栏推荐
- MySQL数据库主从复制集群原理概念以及搭建流程
- Principle of control system based on feedback rate
- Leetcode 03: t58. Length of the last word (simple); Sword finger offer 05. replace spaces (simple); Sword finger offer 58 - ii Rotate string left (simple)
- [machine learning whiteboard derivation series] learning notes - probability graph model and exponential family distribution
- 源码编译安装LAMP
- V-show failure
- Guangdong: fire safety supervision is no longer "absent" in new industries and new formats such as script killing
- [unity entry program] creator kitfps: first person shooting 3D game
- Unexpected harvest of epic distributed resources, from basic to advanced are full of dry goods, big guys are strong!
- 暂用 Solo,博客选择困难
猜你喜欢

JS parasitic combinatorial inheritance

JS-寄生组合式继承

MATLAB画带延时系统的伯德图
Unexpected harvest of epic distributed resources, from basic to advanced are full of dry goods, big guys are strong!

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

【产品】关于微信产品分析

Shell script text three swordsmen sed

Iptables firewall

Weibo comment crawler + visualization

Temporary use of solo, difficult choice of Blog
随机推荐
go入门篇 (3)
系统临时文件的写和读:createTempFile和tempFileContent[通俗易懂]
Arduino常见供电问题与解决
About offline caching application cache / using manifest file caching
Difference quotient approximation of wechat quotient
go语言之sync.Map
暂用 Solo,博客选择困难
我在英国TikTok做直播电商
Sword finger offer notes: t57 - I. and two numbers of S
[untitled] multimodal model clip
The first case of monkeypox in pregnant women in the United States: the newborn was injected with immunoglobulin and was safely born
Detailed explanation of MATLAB S-function
求不同采样周期下的传递函数有限零点
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
Principle of control system based on feedback rate
Binary search decision tree (average search length of binary search tree)
[machine learning whiteboard derivation series] learning notes --- conditional random fields
Summary of leetcode SQL exercises (MySQL Implementation)
Temporary use of solo, difficult choice of Blog
关于离线缓存Application Cache /使用 manifest文件缓存