【发布时间】:2021-05-11 08:59:37
【问题描述】:
由于某种原因,我们的应用程序的后端没有正确构建:
错误信息
虽然使用mvn clean install 仍然有效mvn compile quarkus:dev -pl web 无效,但在构建quarkus-maven-plugin:1.11.3.Final:dev 期间抛出以下错误消息:
10:26:50,438 WARN [io.agr.pool] (agroal-11) Datasource '<default>': 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.
10:26:50,440 WARN [org.fly.cor.int.jdb.JdbcUtils] (Quarkus Main Thread) Connection error: 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. (Caused by No appropriate protocol (protocol is disabled or cipher suites are inappropriate)) Retrying in 1 sec...
10:26:51,445 WARN [io.agr.pool] (agroal-11) Datasource '<default>': 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.
10:26:51,445 WARN [org.fly.cor.int.jdb.JdbcUtils] (Quarkus Main Thread) Connection error: 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. (Caused by No appropriate protocol (protocol is disabled or cipher suites are inappropriate)) Retrying in 2 sec...
10:26:53,450 WARN [io.agr.pool] (agroal-11) Datasource '<default>': Communications link failure
这会随着时间间隔的增加而继续。
采取的步骤
我已经检查过 SQL Docker 容器是否处于离线状态,但它按预期启动并且可以使用 telnet localhost 3306。
由于该项目是使用相同的提交为我的同事构建的,因此我尝试从我们的版本控制中进行全新安装。无济于事。
上周该项目正常运行,项目没有任何变化。两者之间应用的唯一系统范围更改是安装新的 nvidia 驱动程序、cuda 和 cudNN。 GPU 驱动程序应该不会对 Web 应用程序产生任何影响?
有没有人遇到过类似的问题并且知道如何解决?
【问题讨论】: