Project

General

Profile

Registration required (error 407) in MUC

Hamid Alimohammadi
Added almost 4 years ago

Hi,

When a client tries to add group sometimes it gets an error registration-required from MUC like the following:

<presence to='room@muc.test.net/abc' from='user1@test.net/*' xmlns='jabber:client'><priority>0</priority><x xmlns='http://jabber.org/protocol/muc'/><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://camaya.net/gloox' ver='YwG3zUfkUXJozeiIdR3q3XtM5kc='/><x xmlns='vcard-temp:x:update'/></presence>

<presence from='room@muc.test.net/abc' to='user1@test.net/*' type='error' xmlns='jabber:client'><priority>0</priority><x xmlns='http://jabber.org/protocol/muc'/><c node='http://camaya.net/gloox' ver='YwG3zUfkUXJozeiIdR3q3XtM5kc=' hash='sha-1' xmlns='http://jabber.org/protocol/caps'/><x xmlns='vcard-temp:x:update'/><error type='auth' code='407'><registration-required xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></presence>

Do you know what might cause this issue?

Thank you in advance for help

config-type=--gen-config-def
--admins=admin@test.com
--virt-hosts=test.com
--vhost-anonymous-enabled = false
--user-db-uri=jdbc:mysql://10.10.10.75/tigasedb?user=tigase&password=tigase12
--user-db=mysql
--cluster-mode=false
--debug=server,db,archive
--monitoring=jmx:9050,http:9080,snmp:9060
--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,+http://jabber.org/protocol/stats,+starttls,+amp,-msgoffline,+vcard-temp,+http://jabber.org/protocol/commands,+jabber:iq:private,+urn:xmpp:ping,+basic-filter,+domain-filter,+pep,-zlib,+jabber:iq:last
--amp-security-level=NONE
--comp-class-6=tigase.archive.MessageArchiveComponent
message-archive/archive-repo-uri=jdbc:mysql://10.10.10.75/tigasedb?user=tigase&password=tigase12
--message-archive/auto=true
c2s/watchdog_delay[L]=60000
c2s/watchdog_timeout[L]=40000
c2s/watchdog_ping_type=xmpp
c2s/max-inactivity-time[L]=100
sess-man/plugins-conf/message-archive-xep-0136/required-store-method=body
sess-man/plugins-conf/message-archive-xep-0136/component-jid=message-archive@test.com
c2s/processors[s]=urn:xmpp:sm:3
muc/default_room_config/muc#roomconfig_persistentroom=true
muc/default_room_config/muc#roomconfig_publicroom=false
muc/default_room_config/muc#roomconfig_membersonly=true
muc/default_room_config/muc#roomconfig_changesubject=true
muc/default_room_config/muc#maxhistoryfetch=500
muc/default_room_config/muc#roomconfig_roomname=Group
muc/muc-allow-chat-states[B]=true
--comp-class-1=tigase.muc.MUCComponent
--comp-name-6=message-archive
--comp-name-1=muc

Replies (1)

(1)
Avatar?id=6098&size=32x32

Added by Bartosz Małkowski TigaseTeam almost 4 years ago

If you are joining to non-created room room@, you can't join to it because you are not member of this room, because default configuration of room is: @muc/default_room_config/muc#roomconfig_membersonly=true

    (1-1/1)