java.net.ConnectException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Imported issue was from janzi: Hello, if I connect to a server using the xmpp transport the connection always timed out, but there is a server-2-server connection active and also I can connect to server using xmpp client without any error. If I test the connection I'll be within the same network segment, so I'm sure the firewall does not block the requests. Is there any trouble with encrypted connections or something? Does anybody has a solution? Error: 2009.03.03 15:01:20 xmpp user is not able to connect: <USERNAME>@web.de XMPPError connecting to web.de:5222.: remote-server-error(502) XMPPError connecting to web.de:5222. -- caused by: java.net.ConnectException: Connection timed out: connect at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:1021) at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1536) at net.sf.kraken.protocols.xmpp.XMPPSession$1.run(XMPPSession.java:201) Nested Exception: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:1006) at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1536) at net.sf.kraken.protocols.xmpp.XMPPSession$1.run(XMPPSession.java:201) 2009.03.03 15:01:20 Session <JID> disconnected from xmpp.capevision.net. Reconnecting... (attempt 1) 2009.03.03 15:01:20 438031 (01/03/00) - Connection #55 tested: OK 2009.03.03 15:01:20 438032 (01/03/00) - Connection #55 tested: OK 2009.03.03 15:01:29 session 516 timeout 2009.03.03 15:01:29 session 516 sent message PNG
    via by Daniel Henninger,
  • Imported issue was from janzi: Hello, if I connect to a server using the xmpp transport the connection always timed out, but there is a server-2-server connection active and also I can connect to server using xmpp client without any error. If I test the connection I'll be within the same network segment, so I'm sure the firewall does not block the requests. Is there any trouble with encrypted connections or something? Does anybody has a solution? Error: 2009.03.03 15:01:20 xmpp user is not able to connect: <USERNAME>@web.de XMPPError connecting to web.de:5222.: remote-server-error(502) XMPPError connecting to web.de:5222. -- caused by: java.net.ConnectException: Connection timed out: connect at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:1021) at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1536) at net.sf.kraken.protocols.xmpp.XMPPSession$1.run(XMPPSession.java:201) Nested Exception: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:1006) at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1536) at net.sf.kraken.protocols.xmpp.XMPPSession$1.run(XMPPSession.java:201) 2009.03.03 15:01:20 Session <JID> disconnected from xmpp.capevision.net. Reconnecting... (attempt 1) 2009.03.03 15:01:20 438031 (01/03/00) - Connection #55 tested: OK 2009.03.03 15:01:20 438032 (01/03/00) - Connection #55 tested: OK 2009.03.03 15:01:29 session 516 timeout 2009.03.03 15:01:29 session 516 sent message PNG
    via by Daniel Henninger,
  • Imported issue was from janzi: Hello, if I connect to a server using the xmpp transport the connection always timed out, but there is a server-2-server connection active and also I can connect to server using xmpp client without any error. If I test the connection I'll be within the same network segment, so I'm sure the firewall does not block the requests. Is there any trouble with encrypted connections or something? Does anybody has a solution? Error: 2009.03.03 15:01:20 xmpp user is not able to connect: <USERNAME>@web.de XMPPError connecting to web.de:5222.: remote-server-error(502) XMPPError connecting to web.de:5222. -- caused by: java.net.ConnectException: Connection timed out: connect at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:1021) at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1536) at net.sf.kraken.protocols.xmpp.XMPPSession$1.run(XMPPSession.java:201) Nested Exception: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:1006) at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1536) at net.sf.kraken.protocols.xmpp.XMPPSession$1.run(XMPPSession.java:201) 2009.03.03 15:01:20 Session <JID> disconnected from xmpp.capevision.net. Reconnecting... (attempt 1) 2009.03.03 15:01:20 438031 (01/03/00) - Connection #55 tested: OK 2009.03.03 15:01:20 438032 (01/03/00) - Connection #55 tested: OK 2009.03.03 15:01:29 session 516 timeout 2009.03.03 15:01:29 session 516 sent message PNG
    via by Daniel Henninger,
  • GCM connection error
    via Stack Overflow by Reva
    ,
    • java.net.ConnectException: Connection timed out: connect at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:1021) at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1536) at net.sf.kraken.protocols.xmpp.XMPPSession$1.run(XMPPSession.java:201)

    Users with the same issue

    emmanuelstroememmanuelstroem
    51 times, last one,