AnsweredAssumed Answered

about :No response from remote client:

Question asked by liuchuang on Oct 30, 2014
Latest reply on Oct 30, 2014 by Flow

i have a problem about using smack file transfer api.our project have five linux server ; 2 external client(web1,web2), 2 internal client(web3,web4),openfire server .

internet--->F5-->web1,web2--.>F5-->openfire;web1 and web2 is the same

internal net--->F5--->web3,web4--->F5--->openfire ;web3,web4 is the same

when internet user and internal user transfer file each other ,it throws exepction like :

 

Error in execution:

  -- caused by: java.util.concurrent.ExecutionException:

  -- caused by: No response from remote client:

  at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(Incom ingFileTransfer.java:199)

  at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.recieveFile(IncomingF ileTransfer.java:73)

  at com.sunyard.im.connection.AgentConnection$3.fileTransferRequest(AgentConnection .java:695)

  at org.jivesoftware.smackx.filetransfer.FileTransferManager.fireNewRequest(FileTra nsferManager.java:105)

  at org.jivesoftware.smackx.filetransfer.FileTransferManager$1.processPacket(FileTr ansferManager.java:91)

  at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader .java:819)

  at org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java: 799)

  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:450)

  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)

  at java.util.concurrent.FutureTask.run(FutureTask.java:149)

  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 906)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:929)

  at java.lang.Thread.run(Thread.java:796)

Nested Exception:

java.util.concurrent.ExecutionException:

  -- caused by: No response from remote client:

  at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:243)

  at java.util.concurrent.FutureTask.get(FutureTask.java:102)

  at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(Incom ingFileTransfer.java:193)

  at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.recieveFile(IncomingF ileTransfer.java:73)

  at com.sunyard.im.connection.AgentConnection$3.fileTransferRequest(AgentConnection .java:695)

  at org.jivesoftware.smackx.filetransfer.FileTransferManager.fireNewRequest(FileTra nsferManager.java:105)

  at org.jivesoftware.smackx.filetransfer.FileTransferManager$1.processPacket(FileTr ansferManager.java:91)

  at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(PacketReader .java:819)

  at org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java: 799)

  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:450)

  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)

  at java.util.concurrent.FutureTask.run(FutureTask.java:149)

  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 906)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:929)

  at java.lang.Thread.run(Thread.java:796)

Caused by:

 

 

  -- caused by: No response from remote client:

  at org.jivesoftware.smackx.filetransfer.FaultTolerantNegotiator.createIncomingStre am(FaultTolerantNegotiator.java:113)

  at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(IncomingFileTr ansfer.java:186)

  at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$2.call(IncomingFileTr ansfer.java:185)

  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)

  at java.util.concurrent.FutureTask.run(FutureTask.java:149)

  at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.negotiateStream(Incom ingFileTransfer.java:190)

  ... 12 more

they send and recive message is ok but tranfer file like above

what things can i do to fix it?

Outcomes