[jitsi-dev] XMPP file transfer jitsi version 2 stable still failing


#1

I had reported earlier issues with file transfers for XMPP

I'm now using version 2 stable (on win7 64bit) using google talk XMPP

I've attached a log of an outgoing file transfer that failed.
The file transfer is also extremely slow, 3KB/s

12:11:58.596 INFO: [41] impl.protocol.jabber.OperationSetChangePasswordJabberImpl.supportsPasswordChange().95 Exception occurred while trying to find out if inband registrations are supported. Returning trueanyway.
12:12:07.599 SEVERE: [3789] impl.protocol.jabber.OperationSetFileTransferJabberImpl.run().622 An exception occured while transfering file:
error writing to output stream:
   -- caused by: java.io.IOException: Error while closing stream: No response from server.
     at org.jivesoftware.smackx.filetransfer.FileTransfer.writeToStream(FileTransfer.java:219)
     at org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer$2.run(OutgoingFileTransfer.java:233)
     at java.lang.Thread.run(Unknown Source)
Nested Exception:
java.io.IOException: Error while closing stream: No response from server.
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession.closeByLocal(InBandBytestreamSession.java:213)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession.close(InBandBytestreamSession.java:153)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IQIBBOutputStream.writeToXML(InBandBytestreamSession.java:768)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.flushBuffer(InBandBytestreamSession.java:707)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.writeOut(InBandBytestreamSession.java:679)
     at org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.write(InBandBytestreamSession.java:641)
     at org.jivesoftware.smackx.filetransfer.FileTransfer.writeToStream(FileTransfer.java:217)
     at org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer$2.run(OutgoingFileTransfer.java:233)
     at java.lang.Thread.run(Unknown Source)


#2

Hey Craig,

I had reported earlier issues with file transfers for XMPP

I'm now using version 2 stable (on win7 64bit) using google talk XMPP

Google prefer use of pseudo TCP and their support for IBB file transfer
(which is what Jitsi supports) has been spotty at best.

I've attached a log of an outgoing file transfer that failed.
The file transfer is also extremely slow, 3KB/s

This is entirely in Google's grasp and there's really nothing we could
do about it (other than adding support for Pseudo TCP file transfers).

Cheers,
Emil

···

On 09.04.13, 04:20, Craig Chandler wrote:

12:11:58.596 INFO: [41]
impl.protocol.jabber.OperationSetChangePasswordJabberImpl.supportsPasswordChange().95
Exception occurred while trying to find out if inband registrations are
supported. Returning trueanyway.
12:12:07.599 SEVERE: [3789]
impl.protocol.jabber.OperationSetFileTransferJabberImpl.run().622 An
exception occured while transfering file:
error writing to output stream:
   -- caused by: java.io.IOException: Error while closing stream: No
response from server.
     at
org.jivesoftware.smackx.filetransfer.FileTransfer.writeToStream(FileTransfer.java:219)
     at
org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer$2.run(OutgoingFileTransfer.java:233)
     at java.lang.Thread.run(Unknown Source)
Nested Exception:
java.io.IOException: Error while closing stream: No response from server.
     at
org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession.closeByLocal(InBandBytestreamSession.java:213)
     at
org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession.close(InBandBytestreamSession.java:153)
     at
org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IQIBBOutputStream.writeToXML(InBandBytestreamSession.java:768)
     at
org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.flushBuffer(InBandBytestreamSession.java:707)
     at
org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.writeOut(InBandBytestreamSession.java:679)
     at
org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.write(InBandBytestreamSession.java:641)
     at
org.jivesoftware.smackx.filetransfer.FileTransfer.writeToStream(FileTransfer.java:217)
     at
org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer$2.run(OutgoingFileTransfer.java:233)
     at java.lang.Thread.run(Unknown Source)

--
https://jitsi.org


#3

To test this, I've setup an ejabberd server

It hasn't crashed sending a file but the transfer was extremely slow 1Kb/s

I tried with another client and was getting faster transfers (around 40Kb/s)

I changed the ejabberd c2s shaper to fast and the jitsi file send jumped to 8Kb/s

This leads me to think Jitsi will only route file transfers through the server, is this correct?
Are there settings I can change to use p2p file transfers?

(sorry getting away from the google talk file transfers failing now)

···

On 9/04/2013 12:23 PM, Emil Ivov wrote:

Hey Craig,

On 09.04.13, 04:20, Craig Chandler wrote:

I had reported earlier issues with file transfers for XMPP

I'm now using version 2 stable (on win7 64bit) using google talk XMPP

Google prefer use of pseudo TCP and their support for IBB file transfer
(which is what Jitsi supports) has been spotty at best.

I've attached a log of an outgoing file transfer that failed.
The file transfer is also extremely slow, 3KB/s

This is entirely in Google's grasp and there's really nothing we could
do about it (other than adding support for Pseudo TCP file transfers).

Cheers,
Emil

12:11:58.596 INFO: [41]
impl.protocol.jabber.OperationSetChangePasswordJabberImpl.supportsPasswordChange().95
Exception occurred while trying to find out if inband registrations are
supported. Returning trueanyway.
12:12:07.599 SEVERE: [3789]
impl.protocol.jabber.OperationSetFileTransferJabberImpl.run().622 An
exception occured while transfering file:
error writing to output stream:
    -- caused by: java.io.IOException: Error while closing stream: No
response from server.
      at
org.jivesoftware.smackx.filetransfer.FileTransfer.writeToStream(FileTransfer.java:219)
      at
org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer$2.run(OutgoingFileTransfer.java:233)
      at java.lang.Thread.run(Unknown Source)
Nested Exception:
java.io.IOException: Error while closing stream: No response from server.
      at
org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession.closeByLocal(InBandBytestreamSession.java:213)
      at
org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession.close(InBandBytestreamSession.java:153)
      at
org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IQIBBOutputStream.writeToXML(InBandBytestreamSession.java:768)
      at
org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.flushBuffer(InBandBytestreamSession.java:707)
      at
org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.writeOut(InBandBytestreamSession.java:679)
      at
org.jivesoftware.smackx.bytestreams.ibb.InBandBytestreamSession$IBBOutputStream.write(InBandBytestreamSession.java:641)
      at
org.jivesoftware.smackx.filetransfer.FileTransfer.writeToStream(FileTransfer.java:217)
      at
org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer$2.run(OutgoingFileTransfer.java:233)
      at java.lang.Thread.run(Unknown Source)