以下问题偶尔发生.. 我见过一些帖子 Websocket SSL handshake failure 除非有具体的答案,否则请不要将此问题标记为重复。我无法解决tyrus客户端究竟需要做什么或哪个库支持在android上使用SSL ...
javax.websocket.DeploymentException: SSL handshake has failed
05-09 20:16:00.850 23627-23784/ W/System.err: at org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket._connect(GrizzlyClientSocket.java:396)
05-09 20:16:00.851 23627-23784/ W/System.err: at org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket.access$000(GrizzlyClientSocket.java:103)
05-09 20:16:00.851 23627-23784/ W/System.err: at org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket$1.call(GrizzlyClientSocket.java:235)
05-09 20:16:00.851 23627-23784/ W/System.err: at org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket$1.call(GrizzlyClientSocket.java:231)
05-09 20:16:00.851 23627-23784/ W/System.err: at org.glassfish.tyrus.container.grizzly.client.GrizzlyClientSocket.connect(GrizzlyClientSocket.java:249)
05-09 20:16:00.851 23627-23784/ W/System.err: at org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer.openClientSocket(GrizzlyClientContainer.java:95)
05-09 20:16:00.851 23627-23784/ W/System.err: at org.glassfish.tyrus.client.ClientManager$3$1.run(ClientManager.java:663)
05-09 20:16:00.851 23627-23784/ W/System.err: at org.glassfish.tyrus.client.ClientManager$3.run(ClientManager.java:712)
05-09 20:16:00.851 23627-23784/ W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
05-09 20:16:00.851 23627-23784/ W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-09 20:16:00.851 23627-23784/ W/System.err: at org.glassfish.tyrus.client.ClientManager$SameThreadExecutorService.execute(ClientManager.java:866)
05-09 20:16:00.851 23627-23784/ W/System.err: at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:82)
05-09 20:16:00.851 23627-23784/ W/System.err: at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:511)
05-09 20:16:00.851 23627-23784/ W/System.err: at org.glassfish.tyrus.client.ClientManager.connectToServer(ClientManager.java:373)