MUC Service Discovery Missing

Troy Mestler
Added about 5 years ago


MUC seems to be missing from the list of discoverable features. I'm using Strophe with the disco plugin on the client and tigase 5.2.0-beta3 as the server with the MUC chat service set up. The service itself is actually working (I can create, join and message chatrooms) but it's just not listed as a feature. When I query available features, I get this list:

<?xml version="1.0" encoding="UTF-8"?>

  <query xmlns="">

     <identity category="component" type="im" name="Tigase ver. 5.2.0-beta3-b3269/2f52ffe1 (2013-08-26/19:07:14)" />

     <identity category="server" type="im" name="Tigase ver. 5.2.0-beta3-b3269/2f52ffe1 (2013-08-26/19:07:14)" />

     <feature var="" />

     <feature var="" />

     <feature var="" />

     <feature var="jabber:iq:version" />

     <feature var="jabber:iq:roster" />

     <feature var="jabber:iq:roster-dynamic" />

     <feature var="vcard-temp" />

     <feature var="urn:ietf:params:xml:ns:xmpp-sasl" />

     <feature var="urn:xmpp:ping" />

     <feature var="urn:ietf:params:xml:ns:xmpp-session" />

     <feature var="" />

     <feature var="msgoffline" />

     <feature var="" />

     <feature var="" />

     <feature var="jabber:iq:privacy" />

     <feature var="urn:ietf:params:xml:ns:xmpp-bind" />

     <feature var="jabber:iq:private" />

     <feature var="jabber:iq:auth" />

  <query xmlns="">

     <item jid="" name="Multi User Chat" />


As you can see, the query does return MUC in an item, but not as a feature. Using OpenFire, muc is returned as a feature. Which is correct here?

Here is my file:

config-type = --gen-config-def

--virt-hosts = loadtest,,,

--debug = server,muc




Replies (2)


Added by Artur Hefczyc TigaseTeam about 5 years ago

To receive MUC features you have to send query disco#info to MUC component which has been sent to you as an item. In your case:

<iq type="get" to="" id="aac7a">
<query xmlns=""/>

And a response should look like this:

<iq from="" type="result" id="aac7a" to="">
<query xmlns="">
<identity category="conference" type="text" name="Multi User Chat"/>
<feature var=""/>
<feature var=""/>
<feature var="jabber:iq:version"/>
<feature var="urn:xmpp:ping"/>

I do not know too much about OpenFire server implementation and their MUC but our Tigase behavior is in compliance with the MUC spec:

Added by Troy Mestler about 5 years ago

I found out what was going wrong here: in my config file, I had specified as a virtual host. When I remove that, everything works as expected.