当前位置:网站首页>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 ~
边栏推荐
- 意外收获史诗级分布式资源,从基础到进阶都干货满满,大佬就是强!
- USB network card drive data stream
- Sword finger offer notes: T53 - I. find numbers in the sorted array
- 配置更改删除了路由过滤器,分布路由器不堪重负:加拿大网络大瘫痪
- LNMP architecture setup (deploy discuz Forum)
- 53 亿 BI 市场 TOP 10:帆软、微软、永洪、SAP、百度、IBM、SAS、思迈特、Salesforce、浪潮通软
- LNMP架构搭建(部署Discuz论坛)
- 解决@OneToMany查询陷入循环引用问题
- Makefile template
- Iptables firewall
猜你喜欢

Can you really write binary search - variant binary search

Wilcoxon rank sum and signed rank

Keil MDK编译出现..\USER\stm32f10x.h(428): error: #67: expected a “}“错误的解决办法
![[unity entry program] creator kitfps: first person shooting 3D game](/img/2b/78b535973b2898f53752ceeb25ef01.png)
[unity entry program] creator kitfps: first person shooting 3D game

LNMP architecture setup (deploy discuz Forum)

Principle of control system based on feedback rate

STS下载教程(include官网无法下载解决方案)

Introduction to box diagram

shell编程之免交互

上半年火灾起数下降27.7%,广东将这样提升全民消防安全素质
随机推荐
Sync.map of go language
Strictly control outdoor operation time! Foshan housing and Urban Rural Development Bureau issued a document: strengthening construction safety management during high temperature
53 亿 BI 市场 TOP 10:帆软、微软、永洪、SAP、百度、IBM、SAS、思迈特、Salesforce、浪潮通软
Arduino常见供电问题与解决
数据库 cli 工具 docker 镜像
STM32编译出现error: L6235E: More than one section matches selector - cannot all be FIRST/L
JS-寄生组合式继承
广东:剧本杀等新行业新业态场所,消防安全监管不再“缺位”
Guangdong: fire safety supervision is no longer "absent" in new industries and new formats such as script killing
哈希表 详细讲解
Weibo comment crawler + visualization
Write and read system temporary files: createtempfile and tempfilecontent[easy to understand]
CLS 监控告警:实时保障线上服务高可用性
系统临时文件的写和读:createTempFile和tempFileContent[通俗易懂]
Principle of control system based on feedback rate
孤独的年轻人,戒不了Jellycat
Pytorch shows the summary like tensorflow
torch‘ has no attribute ‘inference_ mode‘
MySQL数据库主从复制集群原理概念以及搭建流程
图像分割 vs Adobephotoshop(PS)