java.net.ConnectException: Connection timed out: connect

Jive Software Open Source | Matt Tucker | 10 years ago
  1. 0

    File transfer on macs is broken fairly consistently. It appears that it sometimes works for in-network transfers, but almost always fails for SOCKS5 or in-band. For test: Sender was Mac, receiver was Windows. No errors on Mac. Windows errors: SEVERE: There was an error during file transfer. Error in execution: -- caused by: java.util.concurrent.ExecutionException: -- caused by: No response from remote client: at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateSt ream(IncomingFileTransfer.java:199) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100( IncomingFileTransfer.java:47) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(Incom ingFileTransfer.java:124) at java.lang.Thread.run(Unknown Source) Nested Exception: java.util.concurrent.ExecutionException: -- caused by: No response from remote client: at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateSt ream(IncomingFileTransfer.java:193) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100( IncomingFileTransfer.java:47) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(Incom ingFileTransfer.java:124) at java.lang.Thread.run(Unknown Source) Caused by: -- caused by: No response from remote client: at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator.createIn comingStream(FaultTolerantNegotiator.java:113) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(Inco mingFileTransfer.java:186) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(Inco mingFileTransfer.java:185) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateSt ream(IncomingFileTransfer.java:190) ... 3 more 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.smackx.filetransfer.Socks5TransferNegotiator.selectH ost(Socks5TransferNegotiator.java:196) at org.jivesoftware.smackx.filetransfer.Socks5TransferNegotiator.negotia teIncomingStream(Socks5TransferNegotiator.java:114) at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$Negotiat orService.call(FaultTolerantNegotiator.java:181) at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$Negotiat orService.call(FaultTolerantNegotiator.java:166) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterrup tibly(Unknown Source) at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(Unknown So urce) at java.util.concurrent.ArrayBlockingQueue.put(Unknown Source) at org.jivesoftware.smack.PacketWriter.sendPacket(PacketWriter.java:106) at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java: 670) at org.jivesoftware.smackx.filetransfer.Socks5TransferNegotiator.negotia teIncomingStream(Socks5TransferNegotiator.java:130) at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$Negotiat orService.call(FaultTolerantNegotiator.java:181) at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$Negotiat orService.call(FaultTolerantNegotiator.java:166) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Jive Software Open Source | 10 years ago | Matt Tucker
    java.net.ConnectException: Connection timed out: connect
  2. 0

    File transfer on macs is broken fairly consistently. It appears that it sometimes works for in-network transfers, but almost always fails for SOCKS5 or in-band. For test: Sender was Mac, receiver was Windows. No errors on Mac. Windows errors: SEVERE: There was an error during file transfer. Error in execution: -- caused by: java.util.concurrent.ExecutionException: -- caused by: No response from remote client: at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateSt ream(IncomingFileTransfer.java:199) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100( IncomingFileTransfer.java:47) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(Incom ingFileTransfer.java:124) at java.lang.Thread.run(Unknown Source) Nested Exception: java.util.concurrent.ExecutionException: -- caused by: No response from remote client: at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateSt ream(IncomingFileTransfer.java:193) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100( IncomingFileTransfer.java:47) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(Incom ingFileTransfer.java:124) at java.lang.Thread.run(Unknown Source) Caused by: -- caused by: No response from remote client: at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator.createIn comingStream(FaultTolerantNegotiator.java:113) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(Inco mingFileTransfer.java:186) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(Inco mingFileTransfer.java:185) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateSt ream(IncomingFileTransfer.java:190) ... 3 more 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.smackx.filetransfer.Socks5TransferNegotiator.selectH ost(Socks5TransferNegotiator.java:196) at org.jivesoftware.smackx.filetransfer.Socks5TransferNegotiator.negotia teIncomingStream(Socks5TransferNegotiator.java:114) at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$Negotiat orService.call(FaultTolerantNegotiator.java:181) at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$Negotiat orService.call(FaultTolerantNegotiator.java:166) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterrup tibly(Unknown Source) at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(Unknown So urce) at java.util.concurrent.ArrayBlockingQueue.put(Unknown Source) at org.jivesoftware.smack.PacketWriter.sendPacket(PacketWriter.java:106) at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java: 670) at org.jivesoftware.smackx.filetransfer.Socks5TransferNegotiator.negotia teIncomingStream(Socks5TransferNegotiator.java:130) at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$Negotiat orService.call(FaultTolerantNegotiator.java:181) at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$Negotiat orService.call(FaultTolerantNegotiator.java:166) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    JIRA | 10 years ago | Matt Tucker
    java.net.ConnectException: Connection timed out: connect
  3. 0

    File transfer on macs is broken fairly consistently. It appears that it sometimes works for in-network transfers, but almost always fails for SOCKS5 or in-band. For test: Sender was Mac, receiver was Windows. No errors on Mac. Windows errors: SEVERE: There was an error during file transfer. Error in execution: -- caused by: java.util.concurrent.ExecutionException: -- caused by: No response from remote client: at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateSt ream(IncomingFileTransfer.java:199) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100( IncomingFileTransfer.java:47) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(Incom ingFileTransfer.java:124) at java.lang.Thread.run(Unknown Source) Nested Exception: java.util.concurrent.ExecutionException: -- caused by: No response from remote client: at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) at java.util.concurrent.FutureTask.get(Unknown Source) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateSt ream(IncomingFileTransfer.java:193) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100( IncomingFileTransfer.java:47) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(Incom ingFileTransfer.java:124) at java.lang.Thread.run(Unknown Source) Caused by: -- caused by: No response from remote client: at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator.createIn comingStream(FaultTolerantNegotiator.java:113) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(Inco mingFileTransfer.java:186) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(Inco mingFileTransfer.java:185) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateSt ream(IncomingFileTransfer.java:190) ... 3 more 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.smackx.filetransfer.Socks5TransferNegotiator.selectH ost(Socks5TransferNegotiator.java:196) at org.jivesoftware.smackx.filetransfer.Socks5TransferNegotiator.negotia teIncomingStream(Socks5TransferNegotiator.java:114) at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$Negotiat orService.call(FaultTolerantNegotiator.java:181) at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$Negotiat orService.call(FaultTolerantNegotiator.java:166) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterrup tibly(Unknown Source) at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(Unknown So urce) at java.util.concurrent.ArrayBlockingQueue.put(Unknown Source) at org.jivesoftware.smack.PacketWriter.sendPacket(PacketWriter.java:106) at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java: 670) at org.jivesoftware.smackx.filetransfer.Socks5TransferNegotiator.negotia teIncomingStream(Socks5TransferNegotiator.java:130) at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$Negotiat orService.call(FaultTolerantNegotiator.java:181) at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$Negotiat orService.call(FaultTolerantNegotiator.java:166) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Jive Software Open Source | 10 years ago | Matt Tucker
    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. michallos 1 times, last 1 week ago
  2. treefolk 2 times, last 4 days ago
  3. linxiaolong 18 times, last 1 month ago
  4. Kialandei 1 times, last 1 month ago
  5. DoktorDoener666 41 times, last 3 weeks ago
24 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 Extensions
    FaultTolerantNegotiator$NegotiatorService.call
    1. org.jivesoftware.smackx.filetransfer.Socks5TransferNegotiator.selectHost(Socks5TransferNegotiator.java:196)
    2. org.jivesoftware.smackx.filetransfer.Socks5TransferNegotiator.negotiateIncomingStream(Socks5TransferNegotiator.java:114)
    3. org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$NegotiatorService.call(FaultTolerantNegotiator.java:181)
    4. org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator$NegotiatorService.call(FaultTolerantNegotiator.java:166)
    4 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    2. java.util.concurrent.FutureTask.run(Unknown Source)
    3. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    4. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    5. java.util.concurrent.FutureTask.run(Unknown Source)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    7. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    8. java.lang.Thread.run(Unknown Source)
    8 frames