Project

General

Profile

Unordered messages with lost messages & duplication

Aejaz Muslim
Added about 4 years ago

Hi,

I am using latest Smack API version(4.1.1)on Android & Tigase version(7.0.1

with mysql, init.properties attached below) & am seeing lost messages with

duplicate messages in following situation consistently. Both sender & receiver

have stream management enabled.

A & B login to Tigase & enable Stream management & announce presence &

exchange few messages successfully. While both are online there is no

issue in message sequence or duplication & everything is fine.

Now if I disable A's network connection & then B sends 5-6 messages(I tried up to

10 messages). After enabling A's connection & about a minute wait I see messages

being received by A which are the same number of messages as were sent but are

out of order & 1-2 of them are duplicates. As same number of messages are being

received as are sent but with duplicates, it implies that some messages

are lost. Only on very few rare occasions I see no duplicates & message order

preserved. This problem shows less frequently when there are 2-3 messages sent

while the receiver is offline but frequently shows up when there are more than

5-6 messages sent.

I also came across *Bug #3017(Message not delivered until stream

management timeout time expires)* & thought that is may fix my problem

& did a local build of server snapshot & gave it a try as well, but the

problem remains.

My init.properties is as follows. I suspect the problem I am seeing maybe due to

incorrect configuration but need help to figure which option(s) could cause the

behavior mentioned,

*--------------------------------------init.properties start------------------------------*
--comp-class-1 = tigase.muc.MUCComponent
--virt-hosts = dev1
--user-db-uri = jdbc:mysql://192.168.15.110/tigasedb?user=root&password=root&autoCreateUser=true
--user-db = mysql
--admins = admin@dev1
--comp-name-6 = message-archive
--comp-name-5 = rest
--comp-name-4 = stun
--comp-name-3 = proxy
config-type = --gen-config-def
--comp-name-2 = pubsub
--comp-name-1 = muc
--cluster-mode = false
sess-man/plugins-conf/auto-authorize=true
sess-man/plugins-conf/amp/store-limit=1500
amp/store-limit[S]=1500
--watchdog_ping_type=xmpp
--watchdog_delay=60000
--watchdog_timeout=60000
--max-inactivity-time=60
c2s/processors[s]=urn:xmpp:sm:3
--sm-plugins = +message-all,-amp,-message,+message-archive-xep-0136,+jabber:iq:auth,+urn:ietf:params:xml:ns:xmpp-sasl,+urn:ietf:params:xml:ns:xmpp-bind,+urn:ietf:params:xml:ns:xmpp-session,+jabber:iq:register,+jabber:iq:roster,+presence,+jabber:iq:privacy,+jabber:iq:version,+http://jabber.org/protocol/stats,+starttls,+msgoffline,+vcard-temp,+http://jabber.org/protocol/commands,+jabber:iq:private,+urn:xmpp:ping,+basic-filter,+domain-filter,+pep,-zlib
--comp-class-6 = tigase.archive.MessageArchiveComponent
--debug = server,xmpp.impl,db
--message-archive/auto=true
sess-man/plugins-conf/message-archive-xep-0136/default-store-method=message
sess-man/plugins-conf/message-archive-xep-0136/required-store-method=message
--comp-class-5 = tigase.http.rest.RestMessageReceiver
--comp-class-4 = tigase.stun.StunComponent
--comp-class-3 = tigase.socks5.Socks5ProxyComponent
--comp-class-2 = tigase.pubsub.PubSubComponent
*--------------------------------------init.properties end------------------------------*

Replies (5)

Added by Wojciech Kapcia TigaseTeam about 4 years ago

Could you share full XML log of both clients?

Added by Aejaz Muslim about 4 years ago

Sorry for not attaching the log before.

Please find the log attached. I am running

the tigase version 7.1.0-SNAPSHOT-b3870.

A is asengar@dev1

B is 852275@dev1

A sends message "test" to B when online.

B replies with "test1".

Then I disable the network connection for A & B

sends messages, 1,2,3,4,5,6.

After connection is enabled for A, it receives

1,6,4,4,2,6(in this order).

The message body tag has some application specific

data as well but the actual message shown to end

user is after the last ':' character.

Added by Aejaz Muslim about 4 years ago

I tried with adding/removing different sm plugins without success.

Is there a page which has description of which plugins should work well

with each other along with explanation of each plugin's functionality.

Also, is there a support email address & alternate phone number(I tried

calling (415) 315 9771 but was unable to reach anyone). Please help.

Added by Wojciech Kapcia TigaseTeam about 4 years ago

Aejaz Muslim wrote:

Then I disable the network connection for A & B

sends messages, 1,2,3,4,5,6.

After connection is enabled for A, it receives

1,6,4,4,2,6(in this order).

From the attached server logs:

2015-05-15 07:27:43.453 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>, SIZE=51, XMLNS=urn:ietf:params:xml:ns:xmpp-sasl, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=null
2015-05-15 07:27:43.478 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1, Writing packet: from=null, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<stream:features><sm xmlns="urn:xmpp:sm:3"/><register xmlns="http://jabber.org/features/iq-register"/><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>, SIZE=315, XMLNS=null, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=null
2015-05-15 07:27:43.569 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<iq xmlns="jabber:client" type="result" id="6NXL1-4" to="asengar@dev1/47ce0cc2ec34487f"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>asengar@dev1/47ce0cc2ec34487f</jid></bind></iq>, SIZE=187, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=result
2015-05-15 07:27:43.598 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<iq xmlns="jabber:client" type="result" id="6NXL1-6" to="asengar@dev1/47ce0cc2ec34487f"/>, SIZE=89, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=result
2015-05-15 07:27:43.668 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<iq xmlns="jabber:client" type="result" id="6NXL1-8" to="asengar@dev1/47ce0cc2ec34487f"><query xmlns="jabber:iq:roster"/></iq>, SIZE=126, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=result
2015-05-15 07:27:43.819 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<presence from="asengar@dev1/47ce0cc2ec34487f" xmlns="jabber:client" id="6NXL1-10" to="asengar@dev1"><c node="http://www.igniterealtime.org/projects/smack" xmlns="http://jabber.org/protocol/caps" hash="sha-1" ver="os2Kusj3WEOivn5n4iFr/ZEO8ls="/></presence>, SIZE=256, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=AUTH, TYPE=null
2015-05-15 07:27:43.822 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<iq xmlns="jabber:client" type="result" id="6NXL1-13" to="asengar@dev1/47ce0cc2ec34487f"/>, SIZE=90, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=result
2015-05-15 07:27:43.835 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<presence from="asengar@dev1/47ce0cc2ec34487f" xmlns="jabber:client" id="6NXL1-11" to="asengar@dev1"><c node="http://www.igniterealtime.org/projects/smack" xmlns="http://jabber.org/protocol/caps" hash="sha-1" ver="os2Kusj3WEOivn5n4iFr/ZEO8ls="/></presence>, SIZE=256, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=AUTH, TYPE=null
2015-05-15 07:28:21.993 [in_11-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_33881, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_33881 Socket[addr=/50.161.80.209,port=33881,localport=5222], jid: 852275@dev1/2101e057de2545e2, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_33881, DATA=<message from="asengar@dev1/47ce0cc2ec34487f" xmlns="jabber:client" id="6NXL1-17" type="chat" to="852275@dev1"><body>Dr. Ashvini Sengar:#@#:asengar:#@#:1:#@#:test</body></message>, SIZE=179, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:21.996 [in_15-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, type: accept, Socket: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092 Socket[addr=/101.57.48.175,port=18092,localport=5222], jid: 852275@dev1/3af3281fc19d25b9, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, DATA=<message from="asengar@dev1/47ce0cc2ec34487f" xmlns="jabber:client" id="6NXL1-17" type="chat" to="852275@dev1"><body>Dr. Ashvini Sengar:#@#:asengar:#@#:1:#@#:test</body></message>, SIZE=179, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:28.203 [in_15-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, type: accept, Socket: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092 Socket[addr=/101.57.48.175,port=18092,localport=5222], jid: 852275@dev1/3af3281fc19d25b9, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-19" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:test1</body></message>, SIZE=182, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:28.212 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-19" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:test1</body></message>, SIZE=182, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:39.925 [in_15-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, type: accept, Socket: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092 Socket[addr=/101.57.48.175,port=18092,localport=5222], jid: 852275@dev1/3af3281fc19d25b9, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-20" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:1</body></message>, SIZE=178, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:39.928 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-20" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:1</body></message>, SIZE=178, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:41.867 [in_15-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, type: accept, Socket: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092 Socket[addr=/101.57.48.175,port=18092,localport=5222], jid: 852275@dev1/3af3281fc19d25b9, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-21" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:2</body></message>, SIZE=178, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:41.884 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-21" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:2</body></message>, SIZE=178, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:48.044 [in_15-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, type: accept, Socket: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092 Socket[addr=/101.57.48.175,port=18092,localport=5222], jid: 852275@dev1/3af3281fc19d25b9, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-22" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:3</body></message>, SIZE=178, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:48.052 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-22" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:3</body></message>, SIZE=178, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:51.008 [in_15-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, type: accept, Socket: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092 Socket[addr=/101.57.48.175,port=18092,localport=5222], jid: 852275@dev1/3af3281fc19d25b9, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-23" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:4</body></message>, SIZE=178, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:51.019 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-23" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:4</body></message>, SIZE=178, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:53.928 [in_15-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, type: accept, Socket: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092 Socket[addr=/101.57.48.175,port=18092,localport=5222], jid: 852275@dev1/3af3281fc19d25b9, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-24" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:5</body></message>, SIZE=178, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:53.938 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-24" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:5</body></message>, SIZE=178, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:56.729 [in_15-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, type: accept, Socket: c2s@dev1/216.218.236.91_5222_101.57.48.175_18092 Socket[addr=/101.57.48.175,port=18092,localport=5222], jid: 852275@dev1/3af3281fc19d25b9, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_101.57.48.175_18092, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-25" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:6</body></message>, SIZE=178, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:28:56.741 [in_10-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[addr=/50.161.80.209,port=34124,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-25" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:6</body></message>, SIZE=178, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:29:23.381 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>, SIZE=51, XMLNS=urn:ietf:params:xml:ns:xmpp-sasl, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=null
2015-05-15 07:29:23.403 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1, Writing packet: from=null, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<stream:features><sm xmlns="urn:xmpp:sm:3"/><register xmlns="http://jabber.org/features/iq-register"/><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>, SIZE=315, XMLNS=null, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=null
2015-05-15 07:29:23.501 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<iq xmlns="jabber:client" type="result" id="6NXL1-21" to="asengar@dev1/47ce0cc2ec34487f"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>asengar@dev1/47ce0cc2ec34487f</jid></bind></iq>, SIZE=188, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=result
2015-05-15 07:29:23.528 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<iq xmlns="jabber:client" type="result" id="6NXL1-23" to="asengar@dev1/47ce0cc2ec34487f"/>, SIZE=90, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=result
2015-05-15 07:29:23.607 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<iq xmlns="jabber:client" type="result" id="6NXL1-21" to="asengar@dev1/47ce0cc2ec34487f"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>asengar@dev1/47ce0cc2ec34487f</jid></bind></iq>, SIZE=188, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=result
2015-05-15 07:29:23.611 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<iq xmlns="jabber:client" type="result" id="6NXL1-23" to="asengar@dev1/47ce0cc2ec34487f"/>, SIZE=90, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=result
2015-05-15 07:29:23.619 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<iq xmlns="jabber:client" type="result" id="6NXL1-25" to="asengar@dev1/47ce0cc2ec34487f"><query xmlns="jabber:iq:roster"/></iq>, SIZE=127, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=result
2015-05-15 07:29:23.653 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<presence from="asengar@dev1/47ce0cc2ec34487f" xmlns="jabber:client" id="6NXL1-26" to="asengar@dev1"><c node="http://www.igniterealtime.org/projects/smack" xmlns="http://jabber.org/protocol/caps" hash="sha-1" ver="0dEJo9E722bsfw1EA0UwvhzZxcc="/></presence>, SIZE=256, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=AUTH, TYPE=null
2015-05-15 07:29:23.660 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<presence from="asengar@dev1/47ce0cc2ec34487f" xmlns="jabber:client" id="6NXL1-28" to="asengar@dev1"><c node="http://www.igniterealtime.org/projects/smack" xmlns="http://jabber.org/protocol/caps" hash="sha-1" ver="HD3Oz+JX2Gx+b0ENPu2VNrDWp1A="/></presence>, SIZE=256, XMLNS=jabber:client, PRIORITY=PRESENCE, PERMISSION=AUTH, TYPE=null
2015-05-15 07:29:52.824 [Watchdog - c2s]   ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_34124 Socket[unconnected], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=null, to=null, DATA=<iq from="dev1" type="get" id="tigase-ping" to="asengar@dev1/47ce0cc2ec34487f"><ping xmlns="urn:xmpp:ping"/></iq>, SIZE=113, XMLNS=null, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=get
2015-05-15 07:30:20.241 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-19" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:test1</body><delivery-error xmlns="http://tigase.org/delivery-error"/></message>, SIZE=240, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:30:20.248 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<iq from="dev1" type="result" id="tigase-ping" to="asengar@dev1/47ce0cc2ec34487f"/>, SIZE=83, XMLNS=null, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=result
2015-05-15 07:30:20.255 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-20" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:1</body><delivery-error xmlns="http://tigase.org/delivery-error"/></message>, SIZE=236, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:30:20.264 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-21" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:2</body><delivery-error xmlns="http://tigase.org/delivery-error"/></message>, SIZE=236, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:30:20.266 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-22" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:3</body><delivery-error xmlns="http://tigase.org/delivery-error"/></message>, SIZE=236, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:30:20.272 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-23" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:4</body><delivery-error xmlns="http://tigase.org/delivery-error"/></message>, SIZE=236, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:30:20.283 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-24" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:5</body><delivery-error xmlns="http://tigase.org/delivery-error"/></message>, SIZE=236, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat
2015-05-15 07:30:20.289 [in_13-c2s]        ConnectionManager.writePacketToSocket()  FINEST: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, type: accept, Socket: c2s@dev1/216.218.236.91_5222_50.161.80.209_49279 Socket[addr=/50.161.80.209,port=49279,localport=5222], jid: asengar@dev1/47ce0cc2ec34487f, Writing packet: from=sess-man@dev1, to=c2s@dev1/216.218.236.91_5222_50.161.80.209_49279, DATA=<message from="852275@dev1/2101e057de2545e2" xmlns="jabber:client" id="u851d-25" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:6</body><delivery-error xmlns="http://tigase.org/delivery-error"/></message>, SIZE=236, XMLNS=jabber:client, PRIORITY=NORMAL, PERMISSION=AUTH, TYPE=chat

And particular excerpts

ns="jabber:client" id="u851d-19" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:test1</bo
ns="jabber:client" id="u851d-20" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:1</body><
ns="jabber:client" id="u851d-21" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:2</body><
ns="jabber:client" id="u851d-22" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:3</body><
ns="jabber:client" id="u851d-23" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:4</body><
ns="jabber:client" id="u851d-24" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:5</body><
ns="jabber:client" id="u851d-25" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:6</body><

and:

lns="jabber:client" id="u851d-20" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:1</body>
lns="jabber:client" id="u851d-21" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:2</body>
lns="jabber:client" id="u851d-22" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:3</body>
lns="jabber:client" id="u851d-23" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:4</body>
lns="jabber:client" id="u851d-24" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:5</body>
lns="jabber:client" id="u851d-25" type="chat" to="asengar@dev1"><body>Shankar Tripathi:#@#:852275:#@#:852275:#@#:6</body>

As you can see each time Tigase maintains stanza order.

Aejaz Muslim wrote:

I tried with adding/removing different sm plugins without success.

Is there a page which has description of which plugins should work well

with each other along with explanation of each plugin's functionality.

Default set of plugins should work in majority of installations. There is no page outlining purpose of each plugin as each name is almost always self-explanatory.

In terms of packet ordering following --queue-implementation may be helpful. However, as I stated above - Tigase sends out packets in the correct order already.

Also, is there a support email address & alternate phone number(I tried

calling (415) 315 9771 but was unable to reach anyone). Please help.

Please note Business Hours (PST) note on the contact page.

Preferred way of communication is through our ticketing system. There are also options for more flexible support options.

Added by Aejaz Muslim almost 4 years ago

Thanks Wojciech, after your reply I debugged the client library & found an issue

there. After fixing that, this issue got resolved.

    (1-5/5)