好像是java不信任ssl
Gvsecm24 发布的帖子
-
RE: Mirai-Setu - 在群里获取loliconapi的setu插件
只发信息不发图片报错
出现错误, 请联系管理员检查后台或重试
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target下面是mirai报错
2021-11-20 02:26:19 E/main: Exception in coroutine <unnamed>
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.pro
vider.certpath.SunCertPathBuilderException: unable to find valid certification p
ath to requested target
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.ja
va:370)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.ja
va:313)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.ja
va:308)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
checkServerCerts(CertificateMessage.java:654)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
onCertificate(CertificateMessage.java:473)
at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
consume(CertificateMessage.java:369)
at java.base/