nacos-group / nacos-docker

This project contains a Docker image meant to facilitate the deployment of Nacos .

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

这个项目使用的 docker image: nacos/nacos-mysql:5.7 坑了我半天时间 Caused by: javax.net.ssl.SSLException: Unsupported record version Unknown-0.0

geekyouth opened this issue · comments

主要报错 ssl 非常邪门,闻所未闻:

Caused by: com.alibaba.nacos.api.exception.NacosException: Nacos Server did not start because dumpservice bean construction failure :
2023-04-25T06:20:50.909753689Z No DataSource set

Nacos Server did not start because dumpservice bean construction failure :
2023-04-25T06:57:16.370673266Z No DataSource set
Invocation of init method failed; nested exception is ErrCode:500, ErrMsg:Nacos Server did not start because dumpservice bean construction failure :
No DataSource set

Caused by: javax.net.ssl.SSLException: Unsupported record version Unknown-0.0
at sun.security.ssl.InputRecord.checkRecordVersion(InputRecord.java:552)

后来我换成本地的 win mysql 实例就可以连接了,还有一个错误 No DataSource set 可能原因是 nacos 数据库里的 user 用户 nacos 密码必须在 mysql 实例存在,而且初始化的 mysql-config.sql 里面对应的 nacos 密码也应该一致。

Thanks for your feedback, it is a good usage tip for users.