1. 程式人生 > >android pn推送是出現reomte-server-error(502)

android pn推送是出現reomte-server-error(502)

07-23 17:18:33.249: E/Androidpn_XmppManager(17600): XMPP connection failed
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): XMPPError connecting to 192.168.1.82:5222.: remote-server-error(502) XMPPError connecting to 192.168.58.82:5222.
07-23 17:18:33.249: E/Androidpn_XmppManager(17600):   -- caused by: java.net.ConnectException: failed to connect to /192.168.1.82 (port 5222): connect failed: ETIMEDOUT (Connection timed out)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600):
at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:500)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:917)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at org.androidpn.client.XmppManager$ConnectTask.run(XmppManager.java:306)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600):
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600):
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at java.lang.Thread.run(Thread.java:864)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): Nested Exception: 
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): java.net.ConnectException: failed to connect to /192.168.1.82 (port 5222): connect failed: ETIMEDOUT (Connection timed out)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at libcore.io.IoBridge.connect(IoBridge.java:114)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at java.net.Socket.connect(Socket.java:872)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at java.net.Socket.connect(Socket.java:815)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at org.jivesoftware.smack.proxy.DirectSocketFactory.createSocket(DirectSocketFactory.java:28)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:488)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:917)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at org.androidpn.client.XmppManager$ConnectTask.run(XmppManager.java:306)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at java.lang.Thread.run(Thread.java:864)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): Caused by: libcore.io.ErrnoException: connect failed: ETIMEDOUT (Connection timed out)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at libcore.io.Posix.connect(Native Method)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:85)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at libcore.io.IoBridge.connectErrno(IoBridge.java:127)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): at libcore.io.IoBridge.connect(IoBridge.java:112)
07-23 17:18:33.249: E/Androidpn_XmppManager(17600): ... 14 more
07-23 17:18:33.269: E/Androidpn_XmppManager(17600): LoginTask.run()... other error
07-23 17:18:33.269: E/Androidpn_XmppManager(17600): Failed to login to xmpp server. Caused by: Not connected to server.


這個是網路問題?