Project

General

Profile

Tigase server Missing Rooms

Ansuman Patro
Added over 3 years ago

We are attempting to fetch list of Rooms in Tigase server using the following stanza -

<iq type="get" to="muc.sb.com" id="fetchMyRooms" from="harsha@sb.com/60773786-tigase-187"><query xmlns="http://jabber.org/protocol/disco#items"/></iq>

Alarmingly, sometimes it misses to fetch some rooms and continues doing so until we restart the server. The problem recurs again after sometime.

E.g. We have 3 groups named as "XMMP Dev", "XMPP QA", "XMPP Steering".

The above stanza misses out "XMPP Dev" and "XMPP Steering". It only shows "XMPP QA".

Upon querying the XMPP server for the details of XMPP Dev we get the stanza which we have attached in the email.

Please find the stanza of the other Room "XMPP QA" to aid you to compare the 2 rooms.

Kindly help us in fixing this issue. Appreciate your timely help.


Replies (4)

Added by Ansuman Patro over 3 years ago

Hi Tigase Team,

We need a quick solution to this problem, appreciate your help.

Thanks,

Ansuman

Added by Daniel Wisnewski IoT 1 Cloud over 3 years ago

Hey Ansuman,

It looks like the Dev room is not set as persistent, which will disappear if there are no users present. If chatadmin_xmpp%20dev@muc.sb.com controls other rooms, they may not appear at a disco#items request as a result.

Also, there is an affiliation

    <option label="none">
          <value>none</value>/Users/vijendran/Desktop/XMPP Room Config.txt
        </option>

I would suggest cleaning that room affiliation label (unless that is an accidental C/P)

Is it always the same rooms that are missing, or are they different each time?

Also please include which version of Tigase you are using.

Dan

Added by Ansuman Patro over 3 years ago

Hey Dan,

Thanks for the reply.

_It looks like the Dev room is not set as persistent, which will disappear if there are no users present. If chatadmin_xmpp%20dev@muc.sb.com controls other rooms, they may not appear at a disco#items request as a result.

_ We are creating only persistent rooms, "XMMP Dev" is a persistent room, it used to show up until recently it disappeared, we just had a look at tigase db, it seems that all rooms data are present.

_Also, there is an affiliation

none/Users/vijendran/Desktop/XMPP Room Config.txt

I would suggest cleaning that room affiliation label (unless that is an accidental C/P)__

Yeah it was accidental.

_Is it always the same rooms that are missing, or are they different each time?

_ Different rooms. But once it missed, it never shows up until Tigase is restarted.

_Also please include which version of Tigase you are using.

_ We are using Tigase 7.0.2

Currently we reinstalled Tigase. We will keep an eye on the issue, if it reproduces we will provide you more information.

Thanks,

Ansuman

Added by Wojciech Kapcia TigaseTeam over 3 years ago

Ansuman Patro wrote:

_ We are creating only persistent rooms, "XMMP Dev" is a persistent room, it used to show up until recently it disappeared, we just had a look at tigase db, it seems that all rooms data are present.

XMPP QA IQ.txt

      <field label="Make Room Persistent?" type="boolean" var="muc#roomconfig_persistentroom">
        <value>1</value>
      </field>

XMPP Dev IQ.txt

      <field label="Make Room Persistent?" type="boolean" var="muc#roomconfig_persistentroom">
        <value>0</value>
      </field>

Dev room is NOT configured as persistent!

And room being present in the db doesn't incline that it's persistent - please check all data (including configuration) from the db.

    (1-4/4)