java.net.ConnectException:一般 SSLEngine 问题

java.net.ConnectException: General SSLEngine problem

我得到 "java.net.ConnectException: General SSLEngine problem"

   import play.api.libs.ws._

   ws.url("https://bacd.com")
     .withFollowRedirects(true)           
     .get

但是,它适用于我尝试过的所有其他网址。异常的根本原因是什么?

请检查默认 SSLContext 是否设置为 true。 ssl-config.default = true 或者您可以在此处查看 SSL-Config https://lightbend.github.io/ssl-config/WSQuickStart.html `