XMPP connection failed
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): XMPPError connecting to 10.1.8.8:5222.: remote-server-error(502) XMPPError connecting to 10.1.8.8:5213.
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): -- caused by: java.net.ConnectException: failed to connect to /10.1.8.8 (port 5213): connect failed: ECONNREFUSED (Connection refused)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:572)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:999)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at org.androidpn.client.XmppManager$ConnectTask.run(XmppManager.java:306)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.lang.Thread.run(Thread.java:856)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): Nested Exception:
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): java.net.ConnectException: failed to connect to /10.1.8.8 (port 5213): connect failed: ECONNREFUSED (Connection refused)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at libcore.io.IoBridge.connect(IoBridge.java:114)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.net.Socket.connect(Socket.java:842)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.net.Socket.connect(Socket.java:785)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at org.jivesoftware.smack.proxy.DirectSocketFactory.createSocket(DirectSocketFactory.java:24)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:560)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:999)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at org.androidpn.client.XmppManager$ConnectTask.run(XmppManager.java:306)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at java.lang.Thread.run(Thread.java:856)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): Caused by: libcore.io.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at libcore.io.Posix.connect(Native Method)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:85)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at libcore.io.IoBridge.connectErrno(IoBridge.java:127)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): at libcore.io.IoBridge.connect(IoBridge.java:112)
08-13 15:25:34.185: E/Androidpn_XmppManager(5242): ... 14 more
08-13 15:25:34.185: D/Androidpn_XmppManager(5242): runTask()...
报错log. 对应的
androidpn.properties 文件与
服务端的jdbc.properties 文件也配置了 |
|