[jitsi-dev] [jicofo] In some cases focus cannot join the room


#1

Hi there,

When I join several times the same empty room (only if there are no other
users there), sometimes focus crashes and the jicofo gives the following
error in logs:

23:11:10.813 INFO: [50]
org.jitsi.jicofo.ChatRoomRoleAndPresence.memberPresenceChanged().115
Participants count: 1
23:11:10.813 WARNING: [50]
org.jitsi.jicofo.ChatRoomRoleAndPresence.electNewOwner().167 Focus role
unknown
23:11:10.813 INFO: [50]
org.jitsi.jicofo.JitsiMeetConference.onMemberJoined().415 Member my_id
joined my_room@conference.speak.in
23:11:10.813 INFO: [50]
org.jitsi.jicofo.ChatRoomRoleAndPresence.localUserRoleChanged().240 Focus
role: MEMBER init: true
23:11:10.814 SEVERE: [50]
org.jitsi.jicofo.ChatRoomRoleAndPresence.localUserRoleChanged().246 Focus
must be an owner!
23:11:10.814 INFO: [50]
org.jitsi.impl.protocol.xmpp.OperationSetColibriConferenceImpl.expireConference().334
Nothing to expire - no conference allocated yet
23:11:10.816 SEVERE: [45]
org.jitsi.jicofo.JitsiMeetConference.joinTheRoom().337
net.java.sip.communicator.service.protocol.OperationFailedException: Failed
to join the room
net.java.sip.communicator.service.protocol.OperationFailedException: Failed
to join the room
net.java.sip.communicator.service.protocol.OperationFailedException: Failed
to join the room
        at
org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:219)
        at
org.jitsi.impl.protocol.xmpp.ChatRoomImpl.join(ChatRoomImpl.java:143)
        at
org.jitsi.jicofo.JitsiMeetConference.joinTheRoom(JitsiMeetConference.java:331)
        at
org.jitsi.jicofo.JitsiMeetConference.maybeJoinTheRoom(JitsiMeetConference.java:313)
        at
org.jitsi.jicofo.JitsiMeetConference.registrationStateChanged(JitsiMeetConference.java:1085)
        at
org.jitsi.jicofo.ProtocolProviderHandler.registrationStateChanged(ProtocolProviderHandler.java:123)
        at
net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:176)
        at
net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:130)
        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.register(XmppProtocolProvider.java:176)
        at org.jitsi.jicofo.util.RegisterThread.run(RegisterThread.java:38)
Caused by: forbidden(-1) Only owners can configure rooms
        at
org.jivesoftware.smackx.muc.MultiUserChat.getConfigurationForm(MultiUserChat.java:577)
        at
org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:177)
        ... 9 more

After that, this room is "dead" till I restart jicofo, jitsi-videobridge
and prosody.

Regards,
Zalmoxisus


#2

Sorry for the false alarm. Just forget to add focus in prosody.cfg.lua
admins object. It seems that most the time jicofo is the owner of the room,
but when it is not it throw that error. Granting the admin rights fixed it.

···

On Thu, Dec 18, 2014 at 10:37 PM, Michael Diordiev <zalmoxisus@gmail.com> wrote:

Hi there,

When I join several times the same empty room (only if there are no other
users there), sometimes focus crashes and the jicofo gives the following
error in logs:

23:11:10.813 INFO: [50]
org.jitsi.jicofo.ChatRoomRoleAndPresence.memberPresenceChanged().115
Participants count: 1
23:11:10.813 WARNING: [50]
org.jitsi.jicofo.ChatRoomRoleAndPresence.electNewOwner().167 Focus role
unknown
23:11:10.813 INFO: [50]
org.jitsi.jicofo.JitsiMeetConference.onMemberJoined().415 Member my_id
joined my_room@conference.speak.in
23:11:10.813 INFO: [50]
org.jitsi.jicofo.ChatRoomRoleAndPresence.localUserRoleChanged().240 Focus
role: MEMBER init: true
23:11:10.814 SEVERE: [50]
org.jitsi.jicofo.ChatRoomRoleAndPresence.localUserRoleChanged().246 Focus
must be an owner!
23:11:10.814 INFO: [50]
org.jitsi.impl.protocol.xmpp.OperationSetColibriConferenceImpl.expireConference().334
Nothing to expire - no conference allocated yet
23:11:10.816 SEVERE: [45]
org.jitsi.jicofo.JitsiMeetConference.joinTheRoom().337
net.java.sip.communicator.service.protocol.OperationFailedException: Failed
to join the room
net.java.sip.communicator.service.protocol.OperationFailedException:
Failed to join the room
net.java.sip.communicator.service.protocol.OperationFailedException:
Failed to join the room
        at
org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:219)
        at
org.jitsi.impl.protocol.xmpp.ChatRoomImpl.join(ChatRoomImpl.java:143)
        at
org.jitsi.jicofo.JitsiMeetConference.joinTheRoom(JitsiMeetConference.java:331)
        at
org.jitsi.jicofo.JitsiMeetConference.maybeJoinTheRoom(JitsiMeetConference.java:313)
        at
org.jitsi.jicofo.JitsiMeetConference.registrationStateChanged(JitsiMeetConference.java:1085)
        at
org.jitsi.jicofo.ProtocolProviderHandler.registrationStateChanged(ProtocolProviderHandler.java:123)
        at
net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:176)
        at
net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:130)
        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.register(XmppProtocolProvider.java:176)
        at org.jitsi.jicofo.util.RegisterThread.run(RegisterThread.java:38)
Caused by: forbidden(-1) Only owners can configure rooms
        at
org.jivesoftware.smackx.muc.MultiUserChat.getConfigurationForm(MultiUserChat.java:577)
        at
org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:177)
        ... 9 more

After that, this room is "dead" till I restart jicofo, jitsi-videobridge
and prosody.

Regards,
Zalmoxisus


#3

Hey Michael,

Yes, creators (first party to arrive) are owners by default but the
focus requires this to be verified or otherwise refuses to work for
security reasons.

Emil

···

On Fri, Dec 19, 2014 at 2:45 AM, Michael Diordiev <zalmoxisus@gmail.com> wrote:

Sorry for the false alarm. Just forget to add focus in prosody.cfg.lua
admins object. It seems that most the time jicofo is the owner of the room,
but when it is not it throw that error. Granting the admin rights fixed it.

On Thu, Dec 18, 2014 at 10:37 PM, Michael Diordiev <zalmoxisus@gmail.com> > wrote:

Hi there,

When I join several times the same empty room (only if there are no other
users there), sometimes focus crashes and the jicofo gives the following
error in logs:

23:11:10.813 INFO: [50]
org.jitsi.jicofo.ChatRoomRoleAndPresence.memberPresenceChanged().115
Participants count: 1
23:11:10.813 WARNING: [50]
org.jitsi.jicofo.ChatRoomRoleAndPresence.electNewOwner().167 Focus role
unknown
23:11:10.813 INFO: [50]
org.jitsi.jicofo.JitsiMeetConference.onMemberJoined().415 Member my_id
joined my_room@conference.speak.in
23:11:10.813 INFO: [50]
org.jitsi.jicofo.ChatRoomRoleAndPresence.localUserRoleChanged().240 Focus
role: MEMBER init: true
23:11:10.814 SEVERE: [50]
org.jitsi.jicofo.ChatRoomRoleAndPresence.localUserRoleChanged().246 Focus
must be an owner!
23:11:10.814 INFO: [50]
org.jitsi.impl.protocol.xmpp.OperationSetColibriConferenceImpl.expireConference().334
Nothing to expire - no conference allocated yet
23:11:10.816 SEVERE: [45]
org.jitsi.jicofo.JitsiMeetConference.joinTheRoom().337
net.java.sip.communicator.service.protocol.OperationFailedException: Failed
to join the room
net.java.sip.communicator.service.protocol.OperationFailedException:
Failed to join the room
net.java.sip.communicator.service.protocol.OperationFailedException:
Failed to join the room
        at
org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:219)
        at
org.jitsi.impl.protocol.xmpp.ChatRoomImpl.join(ChatRoomImpl.java:143)
        at
org.jitsi.jicofo.JitsiMeetConference.joinTheRoom(JitsiMeetConference.java:331)
        at
org.jitsi.jicofo.JitsiMeetConference.maybeJoinTheRoom(JitsiMeetConference.java:313)
        at
org.jitsi.jicofo.JitsiMeetConference.registrationStateChanged(JitsiMeetConference.java:1085)
        at
org.jitsi.jicofo.ProtocolProviderHandler.registrationStateChanged(ProtocolProviderHandler.java:123)
        at
net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:176)
        at
net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:130)
        at
org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.register(XmppProtocolProvider.java:176)
        at
org.jitsi.jicofo.util.RegisterThread.run(RegisterThread.java:38)
Caused by: forbidden(-1) Only owners can configure rooms
        at
org.jivesoftware.smackx.muc.MultiUserChat.getConfigurationForm(MultiUserChat.java:577)
        at
org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:177)
        ... 9 more

After that, this room is "dead" till I restart jicofo, jitsi-videobridge
and prosody.

Regards,
Zalmoxisus

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org