Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用windows平台下的docker能部署但是在注册时一直报internal server error #4

Open
THyyy opened this issue Jun 10, 2019 · 2 comments

Comments

@THyyy
Copy link

THyyy commented Jun 10, 2019

报错信息如下:
davinci_1 | Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
davinci_1 | at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
davinci_1 | at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
davinci_1 | at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
davinci_1 | at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
davinci_1 | ... 84 more
davinci_1 | 2019-06-10 14:00:22.344 ERROR 25 --- [0.0-8080-exec-3] e.d.core.config.RestExceptionHandler : Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 465;
davinci_1 | nested exception is:
davinci_1 | javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 465;
davinci_1 | nested exception is:
davinci_1 | javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
davinci_1 | 2019-06-10 14:00:22.344 ERROR 25 --- [http-nio-0.0.0.0-8080-exec-3] e.d.core.config.RestExceptionHandler : Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 465;
davinci_1 | nested exception is:
davinci_1 | javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 465;
davinci_1 | nested exception is:
davinci_1 | javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
我猜测是因为 win10 的 SSL 密钥库路径不匹配的问题,但是无法确定。

@THyyy
Copy link
Author

THyyy commented Jun 10, 2019

报错信息如下:
davinci_1 | Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
davinci_1 | at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
davinci_1 | at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
davinci_1 | at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
davinci_1 | at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
davinci_1 | ... 84 more
davinci_1 | 2019-06-10 14:00:22.344 ERROR 25 --- [0.0-8080-exec-3] e.d.core.config.RestExceptionHandler : Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 465;
davinci_1 | nested exception is:
davinci_1 | javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 465;
davinci_1 | nested exception is:
davinci_1 | javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
davinci_1 | 2019-06-10 14:00:22.344 ERROR 25 --- [http-nio-0.0.0.0-8080-exec-3] e.d.core.config.RestExceptionHandler : Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 465;
davinci_1 | nested exception is:
davinci_1 | javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: smtp.qq.com, port: 465;
davinci_1 | nested exception is:
davinci_1 | javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
我猜测是因为 win10 的 SSL 密钥库路径不匹配的问题,但是无法确定。

关闭了SSL连接然后使用QQ邮箱的smtp.qq.com的25端口可以成功启动。
证实了我的猜测!

@chen769330532
Copy link

能说下大概怎么弄吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants