javax.net.ssl.SSLHandshakeException: Java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
好伤心,继续百度,这是android https 证书信任问题,因为websocket的url是https的,提示我缺乏安全证书,SSL证书,这个过程中发下了三篇优秀的博客,
http://blog.csdn.Net/lmj623565791/article/details/48129405 这是鸿洋大神写的当OkHttp遇到Https,
还有一篇也就是能最快解决这种缺乏证书信任问题的博客,就是直接屏蔽掉,简单好用http://blog.csdn.net/zhong1113/article/details/51492469,但是建议读一下大神的博客,好高深。
如果大家想更多的了解webSocket,强烈推荐http://www.open-open.com/lib/view/open1476778263175.html,讲的特别详细