I have been working on establishing file transfers to and from an Openfire plugin. To do this I have the plugin create a contact that has a fileTransferListener. File transfers to a client from the plugin (plugin client) work just fine. Transfers from a client to the plugin (plugin client) terminate with the following error: The remote user did not respond or the connection timed out. I need help to understand why.
I am testing the connections on a single computer, however, this needs to also work in a server environment with remote connections.
I mapped out the packets going back and forth for this transaction.
Initial file transfer request sent by the server (plugin client):
<iq id="5mUbs-8" to="tester3@asb/Smack" from="modeltransferuser@asb/Smack" type="set">
<si xmlns="http://jabber.org/protocol/si" id="jsi_6494784254748412498" profile="http://jabber.org/protocol/si/profile/file-transfer">
<file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="model.jar" size="7486597">
<desc>Requested file</desc>
</file>
<feature xmlns="http://jabber.org/protocol/feature-neg">
<x xmlns="jabber:x:data" type="form">
<field var="stream-method" type="list-multi">
<option>
<value>http://jabber.org/protocol/bytestreams</value>
</option>
<option>
<value>http://jabber.org/protocol/ibb</value?
</optioin>
</field>
</x>
</feature>
</si>
</iq>
Response from the client:
<iq id="5mUbs-8" to="modeltransferuser@asb/Smack" from="tester3@asb/Smack" type="result">
<si xmlns="http://jabber.org/protocol/si">
<feature xmlns="http://jabber.org/protocol/feature-neg">
<x xmlns="jabber:x:data" type="submit">
<field var="stream=method">
<value>http://jabber.org/protocol/bytestreams</value>
<value>http://jabber.org/protocol/ibb</value>
</field>
</x>
</feature>
</si>
</iq>
That is the end of the packets. The transfer times out with the aforementioned error. Again, any input here is appreciated and if I have not included useful information please let me know.
Thank you.