javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? [duplicate]

南楼画角 提交于 2019-11-28 11:02:29

It is possible that you are using a proxy to get the ssl content, but your proxy setup is wrong. You should consider using http as proxy scheme, and then https as your scheme for the actual content. This solved my problem.

As the error message says, the probability is that the peer is talking plaintext, not SSL.

I have gotten this error before when my connection was being blocked by complex firewall rules. If you have in place it might be worth looking at the configuration.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!