Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

File transfer problem with Smack4 and OpenFire 3.93

$
0
0

My team is developing an Android chat application.

The sender is on a wifi network, the recipient is on the same wifi network.

OpenFire is on a separate network that is publicly accessible.

 

My file transfers always error out at the initial or the negotiating stage.

Here is my outgoing packet from the sender phone:

 

<iq id='w8Opu-8' to='352004050192588@chat.314near.com/Smack' type='set'><si xmlns="http://jabber.org/protocol/si" id="jsi_8032046702694389171" mime-type="image/jpeg" profile="http://jabber.org/protocol/si/profile/file-transfer"><file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="187f8b64-d8e5-4a50-acd8-5b08881dd451.jpg" size="18547" ><desc>drawing</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/ibb</value></option></field></x></feature></si></iq>

 

And the error from OpenFire:

 

2014.06.12 13:32:03 org.jivesoftware.openfire.IQRouter - Packet sent to unreachable address <iq id="w8Opu-8" to="352004050192588@chat.314near.com/Smack" type="set" from="14168467633@chat.314near.com/Android"><si xmlns="http://jabber.org/protocol/si" id="jsi_8032046702694389171" mime-type="image/jpeg" profile="http://jabber.org/protocol/si/profile/file-transfer"><file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="187f8b64-d8e5-4a50-acd8-5b08881dd451.jpg" size="18547"><desc>drawing</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/ibb</value></option></field></x></feature></si></iq>


Viewing all articles
Browse latest Browse all 10742

Trending Articles