java.net.ConnectException

tip

Check if your MongoDB is available.


rp
tip

host port isnt set

You have a different solution? A short tip here would help you and many other 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,
  • Tcp and web server die after a timeout
    via by ppurang,
  • Eclipse Plug-In Problem
    via by cdp,
  • Jacarta HttpClient error
    via by mark,
  • Eclipse Plug-In Problem
    via by cdp,
  • Jenkins users - Windows Slave start failing
    via by Unknown author,
  • mysterious timeout - Network Samba Java
    via by Unknown author,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    820 more bugmates