java.net.ConnectException: Connection timed out: connect

JIRA | Daniel Henninger | 8 years ago
  1. 0

    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

    Jive Software Open Source | 8 years ago | Daniel Henninger
    java.net.ConnectException: Connection timed out: connect
  2. 0

    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

    JIRA | 8 years ago | Daniel Henninger
    java.net.ConnectException: Connection timed out: connect
  3. 0

    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

    Jive Software Open Source | 8 years ago | Daniel Henninger
    java.net.ConnectException: Connection timed out: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tcp and web server die after a timeout

    Google Groups | 8 years ago | ppurang
    java.net.ConnectException: Connection timed out: connect
  6. 0

    ERROR: No sessionId provided. Most likely your original newBrowserSession command failed

    Google Groups | 6 years ago | saravana kumar
    java.net.ConnectException: Connection timed out: connect

  1. linxiaolong 18 times, last 3 weeks ago
  2. Kialandei 1 times, last 1 month ago
  3. DoktorDoener666 41 times, last 2 weeks ago
  4. kjhdofjosvs 2 times, last 1 month ago
  5. Gatgeagent 1 times, last 2 months ago
22 more registered users
65 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection timed out: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(Unknown Source)
    3. java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    4. java.net.PlainSocketImpl.connect(Unknown Source)
    5. java.net.SocksSocketImpl.connect(Unknown Source)
    6. java.net.Socket.connect(Unknown Source)
    7. java.net.Socket.connect(Unknown Source)
    8. java.net.Socket.<init>(Unknown Source)
    9. java.net.Socket.<init>(Unknown Source)
    9 frames
  3. Smack
    XMPPConnection.connect
    1. org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection.java:1006)
    2. org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:1536)
    2 frames
  4. net.sf.kraken
    XMPPSession$1.run
    1. net.sf.kraken.protocols.xmpp.XMPPSession$1.run(XMPPSession.java:201)
    1 frame