File Transfer bug: item-not-found(404) Could not establish socket with any provided host

Hi all,

I’m try to develop a client server application based on xmpp using smck lib for file transfer.

Actually, client can send file to server.

But, when client ask server for a given file, server couldn’t send back the file, although client has a file transfer listener.

When server try to send back the file, i find this exception: item-not-found(404) Could not establish socket with any provided host.

This works fine locally (when server and client are in the same machine), but not when they are in different machines.

For information, i tried this with a disabled firewall on the server and client side.

Does someone have any idea.

Thanks in advance.

There was a file transfer related bug that was fixed in version 3.2.1. I am not sure if this is the same bug or not, but are you using latest version?

Thank for help…

I was using a nighlty build version of smack 3.2.

Now It works fine with smack 3.2.1.

Best Regards.

Exactly same senario for me. But still it is not working. I am also using smack 3.2.1. Please help me… Thanks in advance

There have been a lot of issues with file transfer. There will be a new release (3.2.2) in the next few weeks that should resolve these issues.

Hi

can you check the smack 3.2.2 alpha that is published here: http://community.igniterealtime.org/blogs/ignite/2011/09/02/smack-322-beta-fixes -ibb-transfer

It would help to verify the functionality.

Thanks.

Thank you for your response.

I tried with smack 3.2.2 alpha. It is not working for me…

Now i got following message

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(Thread.java:619)

Nested Exception:

java.util.concurrent.ExecutionException:

– caused by: No response from remote client:

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

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

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(Thread.java:619)

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:183)

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

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

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

… 3 more