A股上市公司传智教育(股票代码 003032)旗下技术交流社区北京昌平校区

 找回密码
 加入黑马

QQ登录

只需一步,快速开始

majin169

初级黑马

  • 黑马币:0

  • 帖子:8

  • 精华:0

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 文件也配置了

1 个回复

倒序浏览
楼主解决没?遇到同样问题哎...
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 加入黑马