Good day, I am using OpenFire 3.9.3 and Smack version 4.1.0 beta1 to attempt to send a file to another mobile client and to spark client which both results in failure.
Also with incoming files, they get stuck at the negotiating status and never continue.
I debugged the IQ being from the device sending the file and received this
<?xml version="1.0" encoding="UTF-8"?>
<iqtype="error"id="HW607-17"from="user1"to="user2">
<sixmlns="http://jabber.org/protocol/si"id="jsi_617279424494901674"mime-type="application/pdf"profile="http://jabber.org/protocol/si/profile/file-transfer">
<filexmlns="http://jabber.org/protocol/si/profile/file-transfer"name="Hgfgcvg_-1226321269.pdf"size="2123243520">
<desc>Hgfgcvg_-1226321269.pdf</desc>
</file>
<featurexmlns="http://jabber.org/protocol/feature-neg">
<xxmlns="jabber:x:data"type="form">
<fieldvar="stream-method"type="list-single">
<option>
<value>http://jabber.org/protocol/bytestreams</value>
</option>
<option>
<value>http://jabber.org/protocol/ibb</value>
</option>
</field>
</x>
</feature>
</si>
<errorcode="503"type="cancel">
<service-unavailablexmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>
<?xml version="1.0" encoding="UTF-8"?><iq to="user2" id="A8cyJ-15" type="set"> <si xmlns="http://jabber.org/protocol/si" id="jsi_8154035058120457630" mime-type="application/pdf" profile="http://jabber.org/protocol/si/profile/file-transfer"> <file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="New_Agent_-1140654337.pdf" size="2123243520"> <desc>New_Agent_-1140654337.pdf</desc> </file> <feature xmlns="http://jabber.org/protocol/feature-neg"> <x xmlns="jabber:x:data" type="form"> <field var="stream-method" type="list-single"> <option> <value>http://jabber.org/protocol/bytestreams</value> </option> <option> <value>http://jabber.org/protocol/ibb</value> </option> </field> </x> </feature> </si></iq>
I am unsure whether this is a client bug or something that was since patched from this version of smack, any tips or suggestions would be greatly welcomed.