AnsweredAssumed Answered

ASMACK 4.0.6

Question asked by Aditya on Jan 12, 2015

Hi All,

 

I used asmack 7.3.11, then file transfers were working. But  DeliveryReceiptManager support is not there in that. So i want to use asmack 4.0.6.jar. I am able to connect. text messages working fine. I want to use SOCKS5.@@ !

But if i try file transfer, I get kb file at receiver side and  i am getting log that

 

Sender Side:

 

01-06 13:59:25.119: D/MediaStore(8649): index = 106

01-06 13:59:25.269: I/ADITYA  PICTURE PATH(8649): /storage/sdcard0/DCIM/Camera/315982599383.jpg

01-06 13:59:25.279: I/ADITYA  FRND PRESENCE(8649): available

01-06 13:59:25.349: I/ADITYA(8649): FILE SIZE :::2040

01-06 13:59:25.389: D/SMACK(8649): SENT (0): <iq id='yW63R-4' to='test7@framily.in/Smack' type='set'><si xmlns="http://jabber.org/protocol/si" id="jsi_1580370052874821506" mime-type="image/jpeg" profile="http://jabber.org/protocol/si/profile/file-transfer"><file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="315995365004.jpg" size="2040" ><desc>image</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>

01-06 13:59:26.289: D/SMACK(8649): RCV (0): <iq type="result" id="yW63R-4" to="test6@framily.in/Smack" xmlns="jabber:client" from="test7@framily.in/Smack"><si xmlns="http://jabber.org/protocol/si"><feature xmlns="http://jabber.org/protocol/feature-neg"><x type="submit" xmlns="jabber:x:data"><field var="stream-method"><value>http://jabber.org/protocol/bytestreams</value><value>http://jabber.org/protocol/ibb</value></field></x></feature></si></iq>

01-06 13:59:26.299: D/SMACK(8649): SENT (0): <iq id='yW63R-5' to='test7@framily.in/Smack' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>

01-06 13:59:27.179: D/SMACK(8649): RCV (0): <iq type="result" id="yW63R-5" to="test6@framily.in/Smack" xmlns="jabber:client" from="test7@framily.in/Smack"><query xmlns="http://jabber.org/protocol/disco#info"><identity type="pc" name="Smack" category="client"/><feature var="http://jabber.org/protocol/commands"/><feature var="http://jabber.org/protocol/xhtml-im"/><feature var="jabber:iq:privacy"/><feature var="vcard-temp"/><feature var="http://jabber.org/protocol/disco#items"/><feature var="urn:xmpp:time"/><feature var="jabber:iq:last"/><feature var="urn:xmpp:ping"/><feature var="http://jabber.org/protocol/bytestreams"/><feature var="http://jabber.org/protocol/ibb"/><feature var="urn:xmpp:http"/><feature var="http://jabber.org/protocol/muc"/><feature var="http://jabber.org/protocol/si"/><feature var="http://jabber.org/protocol/disco#item"/><feature var="http://jabber.org/protocol/si/profile/file-transfer"/><feature var="http://jabber.org/protocol/disco#info"/></query></iq>

01-06 13:59:27.189: D/SMACK(8649): SENT (0): <iq id='yW63R-6' to='framily.in' type='get'><query xmlns='http://jabber.org/protocol/disco#items'></query></iq>

01-06 13:59:27.519: D/SMACK(8649): RCV (0): <iq type="result" id="yW63R-6" to="test6@framily.in/Smack" xmlns="jabber:client" from="framily.in"><query xmlns="http://jabber.org/protocol/disco#items"><item name="Socks5 Bytestreams Service" jid="proxy@framily.in"/></query></iq>

01-06 13:59:27.519: D/SMACK(8649): SENT (0): <iq id='yW63R-7' to='proxy@framily.in' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>

01-06 13:59:27.929: D/SMACK(8649): RCV (0): <iq type="result" id="yW63R-7" to="test6@framily.in/Smack" xmlns="jabber:client" from="proxy@framily.in"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Socks5 Bytestreams Service" type="bytestreams" category="component"/><identity name="Socks5 Bytestreams Service" type="bytestreams" category="proxy"/><feature var="http://jabber.org/protocol/commands"/><feature var="http://jabber.org/protocol/bytestreams"/></query></iq>

01-06 13:59:27.939: D/SMACK(8649): SENT (0): <iq id='yW63R-8' to='proxy@framily.in' type='get'><query xmlns="http://jabber.org/protocol/bytestreams"/></iq>

01-06 13:59:28.269: D/SMACK(8649): RCV (0): <iq type="result" id="yW63R-8" to="test6@framily.in/Smack" xmlns="jabber:client" from="proxy@framily.in"><query xmlns="http://jabber.org/protocol/bytestreams"><streamhost jid="proxy@framily.in" host="104.236.105.213" port="1080"/></query></iq>

01-06 13:59:28.279: D/SMACK(8649): SENT (0): <iq id='yW63R-9' to='test7@framily.in/Smack' type='set'><query xmlns="http://jabber.org/protocol/bytestreams" sid="jsi_1580370052874821506" mode = "tcp"><streamhost jid="test6@framily.in/Smack" host="127.0.0.1" port="7777"/><streamhost jid="proxy@framily.in" host="104.236.105.213" port="1080"/></query></iq>

01-06 13:59:29.969: D/SMACK(8649): RCV (0): <iq type="result" id="yW63R-9" to="test6@framily.in/Smack" xmlns="jabber:client" from="test7@framily.in/Smack"><query xmlns="http://jabber.org/protocol/bytestreams"><streamhost-used jid="proxy@framily.in"/></query></iq>

01-06 13:59:30.999: D/SMACK(8649): SENT (0): <iq id='yW63R-10' to='proxy@framily.in' type='set'><query xmlns="http://jabber.org/protocol/bytestreams" sid="jsi_1580370052874821506"><activate>test7@framily.in/Smack</activate></query></iq>

01-06 13:59:31.329: D/SMACK(8649): RCV (0): <iq type="error" id="yW63R-10" to="test6@framily.in/Smack" xmlns="jabber:client" from="proxy@framily.in"><error type="cancel"><internal-server-error xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>

01-06 13:59:31.339: D/SMACK(8649): SENT (0): <iq id='yW63R-11' to='test7@framily.in/Smack' type='set'><open xmlns="http://jabber.org/protocol/ibb" block-size="4096" sid="jsi_1580370052874821506" stanza="iq"/></iq>

 

 

Receiver Side:

 

01-12 18:43:27.247: D/SMACK(6071): RCV (0): <iq type="set" id="yW63R-12" to="test7@framily.in/Smack" xmlns="jabber:client" from="test6@framily.in/Smack"><si id="jsi_2039515987838332001" xmlns="http://jabber.org/protocol/si" profile="http://jabber.org/protocol/si/profile/file-transfer" mime-type="image/jpeg"><file size="2040" xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="315995464634.jpg"><desc>image</desc></file><feature xmlns="http://jabber.org/protocol/feature-neg"><x type="form" xmlns="jabber:x:data"><field type="list-single" var="stream-method"><option><value>http://jabber.org/protocol/bytestreams</value></option><option><value>http://jabber.org/protocol/ibb</value></option></field></x></feature></si></iq>

01-12 18:43:27.257: I/ADITYA REQUESTOR onPreExecute(6071): test6@framily.in/Smack

01-12 18:43:27.267: E/ADITYA TO ::(6071): /storage/emulated/0/Framily/Temp/315995464634.jpg

01-12 18:43:27.267: E/FAP(6071): seding packet Id::/storage/emulated/0/Framily/Temp/315995464634.jpg

01-12 18:43:27.267: I/ADITYA(6071): FILE SIZE :::2040

01-12 18:43:27.267: E/FAP(6071): DESC :::image

01-12 18:43:27.277: D/SMACK(6071): SENT (0): <iq id='yW63R-12' to='test6@framily.in/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>

01-12 18:43:28.178: D/SMACK(6071): RCV (0): <iq type="get" id="yW63R-13" to="test7@framily.in/Smack" xmlns="jabber:client" from="test6@framily.in/Smack"><query xmlns="http://jabber.org/protocol/disco#info"/></iq>

01-12 18:43:28.228: D/SMACK(6071): SENT (0): <iq id='yW63R-13' to='test6@framily.in/Smack' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='client' name='Smack' type='pc'/><feature var='http://jabber.org/protocol/commands'/><feature var='http://jabber.org/protocol/xhtml-im'/><feature var='jabber:iq:privacy'/><feature var='vcard-temp'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='urn:xmpp:time'/><feature var='jabber:iq:last'/><feature var='urn:xmpp:ping'/><feature var='http://jabber.org/protocol/bytestreams'/><feature var='http://jabber.org/protocol/ibb'/><feature var='urn:xmpp:http'/><feature var='http://jabber.org/protocol/muc'/><feature var='http://jabber.org/protocol/si'/><feature var='http://jabber.org/protocol/disco#item'/><feature var='http://jabber.org/protocol/si/profile/file-transfer'/><feature var='http://jabber.org/protocol/disco#info'/></query></iq>

01-12 18:43:29.289: D/SMACK(6071): RCV (0): <iq type="set" id="yW63R-15" to="test7@framily.in/Smack" xmlns="jabber:client" from="test6@framily.in/Smack"><query xmlns="http://jabber.org/protocol/bytestreams" mode="tcp" sid="jsi_2039515987838332001"><streamhost jid="test6@framily.in/Smack" port="7777" host="127.0.0.1"/></query></iq>

01-12 18:43:29.369: D/SMACK(6071): SENT (0): <iq id='yW63R-15' to='test6@framily.in/Smack' type='error'><query xmlns="http://jabber.org/protocol/bytestreams" sid="jsi_2039515987838332001" mode = "tcp"><streamhost jid="test6@framily.in/Smack" host="127.0.0.1" port="7777"/></query><error type="cancel"><item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xml:lang="en" xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Could not establish socket with any provided host</text></error></iq>

01-12 18:43:30.110: D/SMACK(6071): RCV (0): <iq type="set" id="yW63R-16" to="test7@framily.in/Smack" xmlns="jabber:client" from="test6@framily.in/Smack"><open sid="jsi_2039515987838332001" xmlns="http://jabber.org/protocol/ibb" stanza="iq" block-size="4096"/></iq>

01-12 18:43:30.130: D/SMACK(6071): SENT (0): <iq id='yW63R-16' to='test6@framily.in/Smack' type='result'></iq>

01-12 18:43:31.652: D/SMACK(6071): RCV (0): <iq type="set" id="yW63R-17" to="test7@framily.in/Smack" xmlns="jabber:client" from="test6@framily.in/Smack"><data seq="0" xmlns="http://jabber.org/protocol/ibb" sid="jsi_2039515987838332001">/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABALDA4MChAODQ4SE RATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESE hgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY 2P/w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DH/6qmsbaEwtI0gDE4+gzzVeD7FHo13Jk/vZDk885NKrO7stgpxsrsZ9ngi0CQfaOZX659 /8A61bVsqKu2M5Cqo+nFZM4sha6dbbCQ7A4/wA/Wte3ZXeUxrgbgPyArGWxoiYiotuJVJqY9KjmGCpHp msixuD60U5k+Y80UAVk6VOveiigRkzxp5upfKOsdXJflvrPHHyf0NFFbIkwdSlk/s24+c/8fbd61pGLW qZOeB/IUUVcdyXsSwxp9g+6Orf1pBBF/YIHlrjf6e5ooqBlqWGP7VYfIvC8cVPEBum4/wCWh/pRRWUth ok7VHc/eT6UUUiit5j/AN40UUUgP//Z</data></iq>

01-12 18:43:31.662: D/SMACK(6071): SENT (0): <iq id='yW63R-17' to='test6@framily.in/Smack' type='result'></iq>

01-12 18:43:32.272: D/SMACK(6071): RCV (0): <iq type="set" id="yW63R-18" to="test7@framily.in/Smack" xmlns="jabber:client" from="test6@framily.in/Smack"><close xmlns="http://jabber.org/protocol/ibb" sid="jsi_2039515987838332001"/></iq>

01-12 18:43:32.272: D/SMACK(6071): SENT (0): <iq id='yW63R-18' to='test6@framily.in/Smack' type='result'></iq>

01-12 18:43:32.673: E/ADITYA(6071): result :success

01-12 18:43:32.673: E/VRV(6071): In ChatActivity getResponsesuccess

01-12 18:43:32.673: D/SMACK(6071): SENT (0): <iq id='85YN2-5' to='test6@framily.in/Smack' type='set'><close xmlns="http://jabber.org/protocol/ibb" sid="jsi_2039515987838332001"/></iq>

Outcomes