org.jboss.remoting.CannotConnectException: Error setting up client lease upon performing connect.

tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd and rafael . Or join the community to write better ones.
  1. 0

    Server is likely offline

    GitHub | 8 months ago | Aguythatswantshisproblemstobesolved
    org.jboss.remoting.CannotConnectException: Error setting up client lease upon performing connect.
  2. 0

    Unable to connect to server. Server likely offline

    GitHub | 6 months ago | nottaran
    org.jboss.remoting.CannotConnectException: Error setting up client lease upon performing connect.
  3. 0

    Can a SocketException end of file be caused by low memory in the server?

    Stack Overflow | 5 years ago | MadMad666
    org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is org.jboss.jms.exception.MessagingNetworkFailureException; nested exception is org.jboss.remoting.CannotConnectException: Error setting up client lease upon performing connect.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Your firewall blocks the connection, disable it.
  6. 0
    samebug tip
    Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.

  1. osvzs 4 times, last 1 day ago
  2. poroszd 2 times, last 4 days ago
  3. raytest 3 times, last 2 weeks ago
  4. Dunmer 264 times, last 3 weeks ago
  5. jf-ast 2 times, last 3 weeks ago
62 more registered users
33 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.DualStackPlainSocketImpl.waitForConnect()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    3. java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    5. java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    6. java.net.PlainSocketImpl.connect(Unknown Source)
    7. java.net.SocksSocketImpl.connect(Unknown Source)
    8. java.net.Socket.connect(Unknown Source)
    8 frames
  3. org.jboss.remoting
    Client.connect
    1. org.jboss.remoting.transport.socket.SocketClientInvoker.connect(SocketClientInvoker.java:293)
    2. org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:210)
    3. org.jboss.remoting.transport.bisocket.BisocketClientInvoker.createSocket(BisocketClientInvoker.java:477)
    4. org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:1190)
    5. org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:833)
    6. org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:470)
    7. org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:169)
    8. org.jboss.remoting.MicroRemoteClientInvoker.establishLease(MicroRemoteClientInvoker.java:529)
    9. org.jboss.remoting.Client.setupClientLease(Client.java:2070)
    10. org.jboss.remoting.Client.connect(Client.java:1924)
    11. org.jboss.remoting.Client.connect(Client.java:737)
    11 frames
  4. mage.remote
    SessionImpl.connect
    1. mage.remote.SessionImpl$5.run(SessionImpl.java:403)
    2. mage.remote.SessionImpl.handleRemotingTaskExceptions(SessionImpl.java:136)
    3. mage.remote.SessionImpl.establishJBossRemotingConnection(SessionImpl.java:281)
    4. mage.remote.SessionImpl.connect(SessionImpl.java:239)
    4 frames
  5. mage.client
    MageFrame$7.run
    1. mage.client.MageFrame.connect(MageFrame.java:822)
    2. mage.client.MageFrame.performConnect(MageFrame.java:866)
    3. mage.client.MageFrame.autoConnect(MageFrame.java:835)
    4. mage.client.MageFrame$7.run(MageFrame.java:426)
    4 frames
  6. Java RT
    EventDispatchThread.run
    1. java.awt.event.InvocationEvent.dispatch(Unknown Source)
    2. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    3. java.awt.EventQueue.access$300(Unknown Source)
    4. java.awt.EventQueue$3.run(Unknown Source)
    5. java.awt.EventQueue$3.run(Unknown Source)
    6. java.security.AccessController.doPrivileged(Native Method)
    7. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    8. java.awt.EventQueue.dispatchEvent(Unknown Source)
    9. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    10. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    11. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    12. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    13. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    14. java.awt.EventDispatchThread.run(Unknown Source)
    14 frames