powered by Jive Software

File Transfer Problems

Hello!

We are using Server Wildfire 3.1.1 and Client Spark 2.5.1 Released.

The chat is working very well, but we’’ re having problems with file transfering.

When the user try to send a file immediately gets a message in the chat window “You were unable to send the file to user” and an option to retry. The user that was receiving gets the usual options to accept or reject but if he/she chooses to accept the message “negotiation is going on…” appears … nothing more happens.

It doesn’'t happen always, but sometimes.

Below the log extracted from the machine that was receiving the file, when this wrong happened:

================================================================================ ======================================

17/04/2007 13:31:01 org.jivesoftware.spark.util.log.Log error

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.negotiateStream(Incom ingFileTransfer.java:199)

at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100(IncomingFi leTransfer.java:47)

at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(IncomingFileTra nsfer.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.negotiateStream(Incom ingFileTransfer.java:193)

at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100(IncomingFi leTransfer.java:47)

at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(IncomingFileTra nsfer.java:124)

at java.lang.Thread.run(Unknown Source)

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(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

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

… 3 more

================================================================================ ======================================

We tryed manually enter the host and port into the “advanced login options”, according with another thread about the same wrong on this forum, but it didn’'t work.

The file transfer is very important to us.

Thanks in advance

Igor Freitas

Hi,

Could you send me a file? my jid is francisco at jivesoftware dot com.

Thanks,

Francisco

Hi Igor,

Could you post the log extracted from the machine that was sending the file?

I guess something like “Error occured during file transfer. …”

Thanks,

Francisco

Check your network connections and make sure you don’‘t have an adapter that is showing up as connected even though it really isn’'t. That worked for me.

Hi Francisco!

Below the log extracted from the machine that was sending the file when the error happened:

================================================================================ =====

25/04/2007 16:26:00 org.jivesoftware.spark.util.log.Log error

SEVERE: There was an error during file transfer.

Error in execution:

– caused by: java.util.concurrent.ExecutionException: File transfer negotiation failed.:

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

at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100(IncomingFi leTransfer.java:47)

at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(IncomingFileTra nsfer.java:124)

at java.lang.Thread.run(Unknown Source)

Nested Exception:

java.util.concurrent.ExecutionException: File transfer negotiation failed.:

at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)

at java.util.concurrent.FutureTask.get(Unknown Source)

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

at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100(IncomingFi leTransfer.java:47)

at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(IncomingFileTra nsfer.java:124)

at java.lang.Thread.run(Unknown Source)

Caused by: File transfer negotiation failed.:

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

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(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

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

… 3 more

================================================================================ ==============

Thanks in advance.

Igor

Have you tried using the latest beta? We made some changes to file transfer that may fix this issue.

Cheers,

Derek

Derek!

We tried with 2.5.2 Beta and 2.5.2 Released but the problem is still happening.

The transfer file using clients Pandion with the same Wildfire Server 3.1.1 works very well. We prefer working with Spark, but we need to solve this problem.

Below, the log extracted from the machine that was sending the file:

09/05/2007 14:04:30 org.jivesoftware.spark.util.log.Log error

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.negotiateStream(Incom ingFileTransfer.java:199)

at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100(IncomingFi leTransfer.java:47)

at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(IncomingFileTra nsfer.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.negotiateStream(Incom ingFileTransfer.java:193)

at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer.access$100(IncomingFi leTransfer.java:47)

at org.jivesoftware.smackx.filetransfer.IncomingFileTransfer$1.run(IncomingFileTra nsfer.java:124)

at java.lang.Thread.run(Unknown Source)

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(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

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

… 3 more

Thanks,

Igor

Hi Igor,

May be it is a timeout problem. Before login go to Advanced and could you tell me the value of “Response Timeout (sec)” ?

Could you set it to 10 and try a file transfer?

Thanks,

Francisco

Hello Francisco!

We tryed to do this.

Every machine is configured with timeout = 15.

The problem is still happening.

Thanks,

Igor

Hey Igor,

This document describes how Spark sends the file when there is an error using the first file transfer method. You can also can find more debugging tools in spark in http://wiki.igniterealtime.org/display/NINJA/Toolstodebug+Spark.

How are the packages transfered in your case?

Thanks a lot,

Francisco