Flowdalic/asmack — Issue #2: IBB transfer in not working correctly
Author: hyuricane
Created: 2012-02-10 11:22:17+00:00
State: open

i am trying to receive file from Spark.
sending file to spark working correctly.

both client not showing any progress but. adb log showing that file is sended.
IncomingFileTransfer.getProgress() always return 0 and IncoingFileTransfer.getStatus() always negotiating.
here my ADB log :

02-10 18:13:10.895: D/SMACK(31689): 06:13:10 PM SENT (1152099928):
02-10 18:13:19.835: D/SMACK(31689): 06:13:19 PM RCV (1152099928): <iq id="DrcJk-208" to="085222968868@telkomchat/Smack" from="admin@telkomchat/Spark 2.6.3" type="set"><si xmlns="http://jabber.or
02-10 18:13:19.835: D/SMACK(31689): 06:13:19 PM RCV (1152099928): g/protocol/si" id="jsi_8280716905379367710" mime-type="image/png" profile="http://jabber.org/protocol/si/profile/file-transfer">
02-10 18:13:19.835: D/SMACK(31689): 06:13:19 PM RCV (1152099928): <file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="image_S2.png" size="1318"><desc>Sending file</desc></fil
02-10 18:13:19.835: D/SMACK(31689): 06:13:19 PM RCV (1152099928): e><feature xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data" type="form"><field var="stream-method" type="
02-10 18:13:19.835: D/SMACK(31689): 06:13:19 PM RCV (1152099928): list-single"><option><value>http://jabber.org/protocol/bytestreams</value></option><option><value>http://jabber.org/protocol/ibb
02-10 18:13:19.845: D/SMACK(31689): 06:13:19 PM RCV (1152099928): </value></option></field></x></feature></si></iq>
02-10 18:13:22.585: D/SMACK(31689): 06:13:22 PM SENT (1152099928): <iq id="DrcJk-208" to="admin@telkomchat/Spark 2.6.3" from="085222968868@telkomchat/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>
02-10 18:13:22.805: D/SMACK(31689): 06:13:22 PM RCV (1152099928): <iq id="DrcJk-209" to="085222968868@telkomchat/Smack" type="get" from="admin@telkomchat/Spark 2.6.3"><query xmlns="http://jabber
02-10 18:13:22.805: D/SMACK(31689): 06:13:22 PM RCV (1152099928): .org/protocol/disco#info"/></iq>
02-10 18:13:22.815: D/SMACK(31689): 06:13:22 PM SENT (1152099928): <iq id="DrcJk-209" to="admin@telkomchat/Spark 2.6.3" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="client" name="Smack" type="pc"/><feature var="http://jabber.org/protocol/caps"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="jabber:iq:privacy"/><feature var="http://jabber.org/protocol/si/profile/file-transfer"/><feature var="http://jabber.org/protocol/si"/><feature var="http://jabber.org/protocol/ibb"/><feature var="http://jabber.org/protocol/bytestreams"/></query></iq>
02-10 18:13:23.425: D/SMACK(31689): 06:13:23 PM RCV (1152099928): <iq id="DrcJk-213" to="085222968868@telkomchat/Smack" type="set" from="admin@telkomchat/Spark 2.6.3"><query xmlns="http://jabber
02-10 18:13:23.435: D/SMACK(31689): 06:13:23 PM RCV (1152099928): .org/protocol/bytestreams" sid="jsi_8280716905379367710" mode="tcp"><streamhost jid="admin@telkomchat/Spark 2.6.3" host="192.168
02-10 18:13:23.435: D/SMACK(31689): 06:13:23 PM RCV (1152099928): .8.1" port="7777"/><streamhost jid="proxy.telkomchat" host="10.11.26.95" port="7777"/></query></iq>
02-10 18:13:23.455: D/SMACK(31689): 06:13:23 PM SENT (1152099928): <iq id="DrcJk-213" to="admin@telkomchat/Spark 2.6.3" from="085222968868@telkomchat/Smack" type="error"><query xmlns="http://jabber.org/protocol/bytestreams" sid="jsi_8280716905379367710" mode = "tcp"><streamhost jid="admin@telkomchat/Spark 2.6.3" host="192.168.8.1" port="7777"/><streamhost jid="proxy.telkomchat" host="10.11.26.95" port="7777"/></query><error code="404" 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>
02-10 18:13:23.675: D/SMACK(31689): 06:13:23 PM RCV (1152099928): <iq id="DrcJk-214" to="085222968868@telkomchat/Smack" type="set" from="admin@telkomchat/Spark 2.6.3"><open xmlns="http://jabber.
02-10 18:13:23.675: D/SMACK(31689): 06:13:23 PM RCV (1152099928): org/protocol/ibb" block-size="4096" sid="jsi_8280716905379367710" stanza="iq"/></iq>
02-10 18:13:23.675: D/SMACK(31689): 06:13:23 PM SENT (1152099928): <iq id="DrcJk-214" to="admin@telkomchat/Spark 2.6.3" from="085222968868@telkomchat/Smack" type="result"></iq>
02-10 18:13:23.835: D/SMACK(31689): 06:13:23 PM RCV (1152099928): <iq id="DrcJk-215" to="085222968868@telkomchat/Smack" type="set" from="admin@telkomchat/Spark 2.6.3"><data xmlns="http://jabber.
02-10 18:13:23.845: D/SMACK(31689): 06:13:23 PM RCV (1152099928): org/protocol/ibb" seq="0" sid="jsi_8280716905379367710">iVBORw0KGgoAAAANSUhEUgAAAIUAAABrCAIAAADW9taZAAAE7UlEQVR42u2dT2vUQBjG5ysI
02-10 18:13:23.845: D/SMACK(31689): 06:13:23 PM RCV (1152099928): fpU9mO9RPAkVIeC994IH8WZ68OBBUEFF1lJFDRStskJFK7a0utU2LbWUrfafrZUiXtSZzO7sm0ySzWR3s9P6PDzQyWR2M5nfvPMm2W3L/p4ABRPX2NA1r3ECToWBB3hA
02-10 18:13:23.845: D/SMACK(31689): 06:13:23 PM RCV (1152099928): 4AEeEHgcD/kuE3J98DBSo+YMjbozvb768JxEFOAxGB48OhwvAA8jLbpDo4x6pBY0CfEL6x1vJKwcW5TMRIEgdCZ2wKOU+Ah5uGNVfq+jbnr8Mc6mKhcgWs7gkbpcgYc5
02-10 18:13:23.845: D/SMACK(31689): 06:13:23 PM RCV (1152099928): DxIN8WYiqrKCI0zkro/rq57y0DJKuHxxSDPVjsHRIZ2DR0cekfmeluEFCZFRsjMH8kfX10Jjej5PvOKS+T/XMzTwKEGtJQvXu1ZIrFd5HzDjfrCMOxWT20ZBJO15ybfD
02-10 18:13:23.865: D/SMACK(31689): 06:13:23 PM RCV (1152099928): P7A9Bg/wgMEDPGDdT88xKvcueNhBJYEEeFjCQ2xeunKmGTMYIAt4MHb+qSg/cMHDivhobs5dBQ/wAA/wsPh6N8rjALJJ4AEeUAaPm5mq1+s3oRLFDo9+p5lSwcwtKT7W
02-10 18:13:23.865: D/SMACK(31689): 06:13:23 PM RCV (1152099928): t36kee/wlzTAlMdjZXO/o7f2j6RBpe88Pm/s5Xdj9yc3kPSRx4e1HVPzpQyB0i8ecytbBby6uc8NJL3nMbP0VfpiS6omrVIZSHrP43W9Ic0HXX4FiBfSanQvbXwHkl7y
02-10 18:13:23.865: D/SMACK(31689): 06:13:23 PM RCV (1152099928): qC1sSKvRlwBim6qZ7vqXXSDpGY+puXVlyoDCoG0SPb+6DSS94TH5bo06hoRvxhqk+f3yNyDpAY8nb1apdR6xBhl++2kTSLrl8XA6UE5br2ibbE9/bABJVzyqtSXp7Hyu
02-10 18:13:23.865: D/SMACK(31689): 06:13:23 PM RCV (1152099928): mnV0bX4DSIrzuPfikzS9uk2ryemp2XUgKcjj9rO6tLr1UzVplXnMMzyQFOFx/cl8n/xoOgASi3hwj79axpNHi3hw33/5mRtIbOEhfef5IgLFIh7ctyY/cuOjX1t4SN/w
02-10 18:13:23.865: D/SMACK(31689): 06:13:23 PM RCV (1152099928): F6QBxgoeuvEdn8j3fQbOA6YGD8t4YMm2K39gCMADAg/wgIrwqI4/hu0x/v6VRRI8sERYIvAADwg8wAMCD/CAwAM8oC6ffxCBx+BhnL3gKmcjOVE82OtTyuBhB4/t08LW
02-10 18:13:23.875: D/SMACK(31689): 06:13:23 PM RCV (1152099928): 8IjBAI+y00MsSYDHYHisRCUH3RRGm0elyXW4Kiqrw6wyPFwJN2cvR/fZnDMoD6Nc8o6xjjbiIZEU53F59kCCqIgS58EqsooX7eSgx0Sa8/HYznQeHnS9kpumMNo82hKj
02-10 18:13:23.875: D/SMACK(31689): 06:13:23 PM RCV (1152099928): L+KjSSgMj9YGeBjHB6ViwCMaAoRHGwrWK4P4kNqcX1BI8sAg+SMSAXEeEonNUWJbPpd4OA/pnDD0fK6tVyKV2JzOLeKRGB9GMHC92/f4MIKB5yX9jY88DxDxPLGk+KA3
02-10 18:13:23.875: D/SMACK(31689): 06:13:23 PM RCV (1152099928): huBRNo8MgccxFniABwQe4AGBB3hA4PEf8MBvwQxK4AEeEHiAB2Qxj8BzmOsXfLEvPm1mjheId+E/ZJUsFH/LtNe3uiqPKg/c3iP/haYf757eptnItKOl8OCdLD564nQ1
02-10 18:13:23.885: D/SMACK(31689): 06:13:23 PM RCV (1152099928): lOo0C4NJ6VOrWr2vmgNqSkXnVuC5jqP64Hutguq12cmXwaMrHMkj3j2P8KUaZ4JD7ZOHIBQoEN91PC+zh8kHMuPBYnHZisLIseOhGd9OwhH20nNjCwF5acJaQBrHMLT3
02-10 18:13:23.885: D/SMACK(31689): 06:13:23 PM RCV (1152099928): pnRBNHNdJ9zUupcwTVQVHUI5/BQ8DR7eLGlO0Dc3mY8Z8UFPnp6vNjHFHAnSZ0FsrpGx0krt1SE5PvSwSNzb6hJd2hO6p1epGtKPZpf1iFHNdR6xdGkQIIk8/gGpyLbi
02-10 18:13:23.885: D/SMACK(31689): 06:13:23 PM RCV (1152099928): apDe7AAAAABJRU5ErkJggg==</data></iq>
02-10 18:13:23.885: D/SMACK(31689): 06:13:23 PM SENT (1152099928): <iq id="DrcJk-215" to="admin@telkomchat/Spark 2.6.3" from="085222968868@telkomchat/Smack" type="error"><error code="501" type="CANCEL"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
02-10 18:13:24.035: D/SMACK(31689): 06:13:24 PM RCV (1152099928): <iq id="DrcJk-216" to="085222968868@telkomchat/Smack" type="set" from="admin@telkomchat/Spark 2.6.3"><data xmlns="http://jabber.
02-10 18:13:24.045: D/SMACK(31689): 06:13:24 PM RCV (1152099928): org/protocol/ibb" seq="0" sid="jsi_8280716905379367710">iVBORw0KGgoAAAANSUhEUgAAAIUAAABrCAIAAADW9taZAAAE7UlEQVR42u2dT2vUQBjG5ysI
02-10 18:13:24.055: D/SMACK(31689): 06:13:24 PM RCV (1152099928): fpU9mO9RPAkVIeC994IH8WZ68OBBUEFF1lJFDRStskJFK7a0utU2LbWUrfafrZUiXtSZzO7sm0ySzWR3s9P6PDzQyWR2M5nfvPMm2W3L/p4ABRPX2NA1r3ECToWBB3hA
02-10 18:13:24.055: D/SMACK(31689): 06:13:24 PM RCV (1152099928): 4AEeEHgcD/kuE3J98DBSo+YMjbozvb768JxEFOAxGB48OhwvAA8jLbpDo4x6pBY0CfEL6x1vJKwcW5TMRIEgdCZ2wKOU+Ah5uGNVfq+jbnr8Mc6mKhcgWs7gkbpcgYc5
02-10 18:13:24.055: D/SMACK(31689): 06:13:24 PM RCV (1152099928): DxIN8WYiqrKCI0zkro/rq57y0DJKuHxxSDPVjsHRIZ2DR0cekfmeluEFCZFRsjMH8kfX10Jjej5PvOKS+T/XMzTwKEGtJQvXu1ZIrFd5HzDjfrCMOxWT20ZBJO15ybfD
02-10 18:13:24.055: D/SMACK(31689): 06:13:24 PM RCV (1152099928): P7A9Bg/wgMEDPGDdT88xKvcueNhBJYEEeFjCQ2xeunKmGTMYIAt4MHb+qSg/cMHDivhobs5dBQ/wAA/wsPh6N8rjALJJ4AEeUAaPm5mq1+s3oRLFDo9+p5lSwcwtKT7W
02-10 18:13:24.065: D/SMACK(31689): 06:13:24 PM RCV (1152099928): t36kee/wlzTAlMdjZXO/o7f2j6RBpe88Pm/s5Xdj9yc3kPSRx4e1HVPzpQyB0i8ecytbBby6uc8NJL3nMbP0VfpiS6omrVIZSHrP43W9Ic0HXX4FiBfSanQvbXwHkl7y
02-10 18:13:24.065: D/SMACK(31689): 06:13:24 PM RCV (1152099928): qC1sSKvRlwBim6qZ7vqXXSDpGY+puXVlyoDCoG0SPb+6DSS94TH5bo06hoRvxhqk+f3yNyDpAY8nb1apdR6xBhl++2kTSLrl8XA6UE5br2ibbE9/bABJVzyqtSXp7Hyu
02-10 18:13:24.075: D/SMACK(31689): 06:13:24 PM RCV (1152099928): mnV0b
02-10 18:13:24.075: D/SMACK(31689): 06:13:24 PM RCV (1152099928): X4DSIrzuPfikzS9uk2ryemp2XUgKcjj9rO6tLr1UzVplXnMMzyQFOFx/cl8n/xoOgASi3hwj79axpNHi3hw33/5mRtIbOEhfef5IgLFIh7ctyY/cuOjX1t4SN/wF6QBx
02-10 18:13:24.075: D/SMACK(31689): 06:13:24 PM RCV (1152099928): goeuvEdn8j3fQbOA6YGD8t4YMm2K39gCMADAg/wgIrwqI4/hu0x/v6VRRI8sERYIvAADwg8wAMCD/CAwAM8oC6ffxCBx+BhnL3gKmcjOVE82OtTyuBhB4/t08LW8IjBA
02-10 18:13:24.075: D/SMACK(31689): 06:13:24 PM RCV (1152099928): I+y00MsSYDHYHisRCUH3RRGm0elyXW4Kiqrw6wyPFwJN2cvR/fZnDMoD6Nc8o6xjjbiIZEU53F59kCCqIgS58EqsooX7eSgx0Sa8/HYznQeHnS9kpumMNo82hKjL+KjS
02-10 18:13:24.075: D/SMACK(31689): 06:13:24 PM RCV (1152099928): SgMj9YGeBjHB6ViwCMaAoRHGwrWK4P4kNqcX1BI8sAg+SMSAXEeEonNUWJbPpd4OA/pnDD0fK6tVyKV2JzOLeKRGB9GMHC92/f4MIKB5yX9jY88DxDxPLGk+KA3huBRN
02-10 18:13:24.075: D/SMACK(31689): 06:13:24 PM RCV (1152099928): o8MgccxFniABwQe4AGBB3hA4PEf8MBvwQxK4AEeEHiAB2Qxj8BzmOsXfLEvPm1mjheId+E/ZJUsFH/LtNe3uiqPKg/c3iP/haYf757eptnItKOl8OCdLD564nQ1lOo0C
02-10 18:13:24.085: D/SMACK(31689): 06:13:24 PM RCV (1152099928): 4NJ6VOrWr2vmgNqSkXnVuC5jqP64Hutguq12cmXwaMrHMkj3j2P8KUaZ4JD7ZOHIBQoEN91PC+zh8kHMuPBYnHZisLIseOhGd9OwhH20nNjCwF5acJaQBrHMLT3pnRBN
02-10 18:13:24.085: D/SMACK(31689): 06:13:24 PM RCV (1152099928): HNdJ9zUupcwTVQVHUI5/BQ8DR7eLGlO0Dc3mY8Z8UFPnp6vNjHFHAnSZ0FsrpGx0krt1SE5PvSwSNzb6hJd2hO6p1epGtKPZpf1iFHNdR6xdGkQIIk8/gGpyLbiapDe7
02-10 18:13:24.085: D/SMACK(31689): 06:13:24 PM RCV (1152099928): AAAAABJRU5ErkJggg==</data></iq>
02-10 18:13:24.085: D/SMACK(31689): 06:13:24 PM SENT (1152099928): <iq id="DrcJk-216" to="admin@telkomchat/Spark 2.6.3" from="085222968868@telkomchat/Smack" type="error"><error code="501" type="CANCEL"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
02-10 18:13:24.175: I/System.out(31689): size : 1318
02-10 18:13:24.175: I/System.out(31689): sent : -1
02-10 18:13:24.175: I/System.out(31689): progress : 0.0
02-10 18:13:24.175: I/System.out(31689): status : Negotiated
02-10 18:13:24.175: I/System.out(31689): size : 1318
02-10 18:13:24.175: I/System.out(31689): sent : -1
02-10 18:13:24.175: I/System.out(31689): progress : 0.0
02-10 18:13:24.175: I/System.out(31689): status : Negotiated
02-10 18:13:24.215: D/SMACK(31689): 06:13:24 PM RCV (1152099928): <iq id="DrcJk-217" to="085222968868@telkomchat/Smack" type="set" from="admin@telkomchat/Spark 2.6.3"><close xmlns="http://jabber
02-10 18:13:24.215: D/SMACK(31689): 06:13:24 PM RCV (1152099928): .org/protocol/ibb" sid="jsi_8280716905379367710"/></iq>
02-10 18:13:24.215: D/SMACK(31689): 06:13:24 PM SENT (1152099928): <iq id="DrcJk-217" to="admin@telkomchat/Spark 2.6.3" from="085222968868@telkomchat/Smack" type="result"></iq>
02-10 18:13:24.675: I/System.out(31689): size : 1318
02-10 18:13:24.675: I/System.out(31689): sent : -1
02-10 18:13:24.675: I/System.out(31689): progress : 0.0
02-10 18:13:24.675: I/System.out(31689): status : Negotiated
02-10 18:13:24.685: I/System.out(31689): size : 1318
02-10 18:13:24.685: I/System.out(31689): sent : -1
02-10 18:13:24.685: I/System.out(31689): progress : 0.0
02-10 18:13:24.685: I/System.out(31689): status : Negotiated
02-10 18:13:25.185: I/System.out(31689): size : 1318
02-10 18:13:25.185: I/System.out(31689): sent : -1
02-10 18:13:25.185: I/System.out(31689): progress : 0.0
02-10 18:13:25.185: I/System.out(31689): status : Negotiated