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 | 7 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 | 5 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.
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.connect
    1. mage.client.MageFrame.connect(MageFrame.java:822)
    1 frame
  6. mage.client.dialog
    ConnectDialog$ConnectTask.doInBackground
    1. mage.client.dialog.ConnectDialog$ConnectTask.doInBackground(ConnectDialog.java:411)
    2. mage.client.dialog.ConnectDialog$ConnectTask.doInBackground(ConnectDialog.java:401)
    2 frames
  7. Java RT
    Thread.run
    1. javax.swing.SwingWorker$1.call(Unknown Source)
    2. java.util.concurrent.FutureTask.run(Unknown Source)
    3. javax.swing.SwingWorker.run(Unknown Source)
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    6. java.lang.Thread.run(Unknown Source)
    6 frames