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):
<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”>
Requested file
](http://jabber.org/protocol/feature-neg">)
http://jabber.org/protocol/bytestreams
http://jabber.org/protocol/ibb</value?
Response from the client:
](http://jabber.org/protocol/si">)
](http://jabber.org/protocol/feature-neg">)
http://jabber.org/protocol/bytestreams
http://jabber.org/protocol/ibb
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.