Skip to content

与服务器的连接经常失效

fyhzf1986 edited this page Jun 17, 2014 · 1 revision

真机测试,在内网有时候连不上服务器,Log如下: 06-17 11:14:06.437 5453-5549/ W/System.err﹕ XMPPError establishing connection with server.: remote-server-error(502) XMPPError establishing connection with server. 06-17 11:14:06.437 5453-5549/ W/System.err﹕ -- caused by: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x585c6218: Failure in SSL library, usually a protocol error 06-17 11:14:06.437 5453-5549/ W/System.err﹕ error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error (external/openssl/ssl/s23_clnt.c:741 0x5d9e9c58:0x00000000) 06-17 11:14:06.437 5453-5549/ W/System.err﹕ at org.jivesoftware.smack.XMPPConnection.initReaderAndWriter(XMPPConnection.java:978) 06-17 11:14:06.437 5453-5549/ W/System.err﹕ at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:1125) 06-17 11:14:06.437 5453-5549/ W/System.err﹕ at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:313) 06-17 11:14:06.437 5453-5549/ W/System.err﹕ at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:44) 06-17 11:14:06.437 5453-5549/ W/System.err﹕ at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:76) 06-17 11:14:06.437 5453-5549/ W/System.err﹕ Nested Exception:

Clone this wiki locally