5.2.0 Message duplication in cluster mode

Hamid Alimohammadi
Added almost 5 years ago

Hi dear Artur,

Thank you very much for help.

Bellow I pasted the complete file, I have just changed the real public IP of the servers to private IPs and the real "hostname" in clusters to in the pasted file, that is:

"virt-hosts" =

Node1 "hostname" = with IP

Node2 "hostname" = with IP

(The files in clusters are identical.)

The 1-1 messages get duplicated (we have not tested MCU) and the strange thing is that we face this problem occasionally, I mean sometimes it works fine and some time we get duplicated message.

Thank you again for help.


--comp-class-1 = tigase.muc.MUCComponent

--virt-hosts =

--user-db-uri = jdbc:mysql://

--user-db = mysql

--admins =,,

--comp-name-6 = message-archive

--comp-name-5 = rest

--comp-name-4 = stun

--comp-name-3 = proxy

config-type = --gen-config-all

--comp-name-2 = pubsub

--comp-name-1 = muc

--cluster-mode = true

--cluster-nodes =,

--sm-plugins = +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,-,+starttls,+msgoffline,+vcard-temp,-,-jabber:iq:private,+urn:xmpp:ping,-basic-filter,-domain-filter,+pep,-zlib

--comp-class-6 = tigase.archive.MessageArchiveComponent

--debug = server,xmpp.impl,db,cluster

--comp-class-5 =

--comp-class-4 = tigase.stun.StunComponent

--comp-class-3 = tigase.socks5.Socks5ProxyComponent

--comp-class-2 = tigase.pubsub.PubSubComponent



Replies (3)

Added by Hamid Alimohammadi almost 5 years ago

Just to add I used "console installer" for installation.


Added by Artur Hefczyc TigaseTeam almost 5 years ago

This doesn't look like a complete configuration file. Could you please provide us with a complete config file?

What kind of messages get duplicated? 1-1 or MUC?

Added by wenming gao over 4 years ago

I Use 5.2.1 ,also have the same problem when 1-1 get duplicate messages ,but MUC is normal