[jitsi-dev] Jicofo crashes occasionally saying "Focus must be an owner" and doesn't recover


#1

Hi,

While doing browser to browser call sometimes jicofo crashes saying "Focus
must be an owner".
This doesn't happen everytime. Please find below the error log I got.

2015-08-25 14:00:48.331 SEVERE: [25]
org.jitsi.jicofo.ChatRoomRoleAndPresence.verifyFocusRole().299 Focus must
be an owner!
2015-08-25 14:00:48.339 INFO: [43]
org.jitsi.jicofo.FocusManager.createConference().312 Exception while trying
to start the conference
net.java.sip.communicator.service.protocol.OperationFailedException: Failed
to join the room
        at
org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:235)
        at
org.jitsi.impl.protocol.xmpp.ChatRoomImpl.join(ChatRoomImpl.java:156)
        at
org.jitsi.jicofo.JitsiMeetConference.joinTheRoom(JitsiMeetConference.java:308)
        at
org.jitsi.jicofo.JitsiMeetConference.start(JitsiMeetConference.java:277)
        at
org.jitsi.jicofo.FocusManager.createConference(FocusManager.java:308)
        at
org.jitsi.jicofo.FocusManager.conferenceRequest(FocusManager.java:244)
        at
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq(FocusComponent.java:412)
        at
org.jitsi.jicofo.xmpp.FocusComponent.handleIQSet(FocusComponent.java:248)
        at
org.xmpp.component.AbstractComponent.processIQRequest(AbstractComponent.java:515)
        at
org.xmpp.component.AbstractComponent.processIQ(AbstractComponent.java:289)
        at
org.xmpp.component.AbstractComponent.processQueuedPacket(AbstractComponent.java:239)
        at
org.xmpp.component.AbstractComponent.access$100(AbstractComponent.java:81)
        at
org.xmpp.component.AbstractComponent$PacketProcessor.run(AbstractComponent.java:1051)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
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:193)
        ... 15 more

Thanks in advance for the help.

Thanks,
Martin


#2

Hi,

Thanks for the report ! I've also seen that. The error occurs when
Jicofo user is not recognized as and admin by Prosody. We're going to
investigate that. Here's the ticket you can use to track the progress
on that issue:

[1]: https://github.com/jitsi/jicofo/issues/24

Regards,
Pawel

···

On Wed, Aug 26, 2015 at 3:08 PM, martin sebastian <martin.sebastian1@gmail.com> wrote:

Hi,

While doing browser to browser call sometimes jicofo crashes saying "Focus
must be an owner".
This doesn't happen everytime. Please find below the error log I got.

2015-08-25 14:00:48.331 SEVERE: [25]
org.jitsi.jicofo.ChatRoomRoleAndPresence.verifyFocusRole().299 Focus must be
an owner!
2015-08-25 14:00:48.339 INFO: [43]
org.jitsi.jicofo.FocusManager.createConference().312 Exception while trying
to start the conference
net.java.sip.communicator.service.protocol.OperationFailedException: Failed
to join the room
        at
org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:235)
        at
org.jitsi.impl.protocol.xmpp.ChatRoomImpl.join(ChatRoomImpl.java:156)
        at
org.jitsi.jicofo.JitsiMeetConference.joinTheRoom(JitsiMeetConference.java:308)
        at
org.jitsi.jicofo.JitsiMeetConference.start(JitsiMeetConference.java:277)
        at
org.jitsi.jicofo.FocusManager.createConference(FocusManager.java:308)
        at
org.jitsi.jicofo.FocusManager.conferenceRequest(FocusManager.java:244)
        at
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq(FocusComponent.java:412)
        at
org.jitsi.jicofo.xmpp.FocusComponent.handleIQSet(FocusComponent.java:248)
        at
org.xmpp.component.AbstractComponent.processIQRequest(AbstractComponent.java:515)
        at
org.xmpp.component.AbstractComponent.processIQ(AbstractComponent.java:289)
        at
org.xmpp.component.AbstractComponent.processQueuedPacket(AbstractComponent.java:239)
        at
org.xmpp.component.AbstractComponent.access$100(AbstractComponent.java:81)
        at
org.xmpp.component.AbstractComponent$PacketProcessor.run(AbstractComponent.java:1051)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
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:193)
        ... 15 more

Thanks in advance for the help.

Thanks,
Martin

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


#3

Hi,

But we already have jicofo as admin in our prosody.
Also this doesn't happen everytime.
If jicofo's not admin it should be failing all the time right ?

Thanks,
Martin

···

On Wed, Aug 26, 2015 at 6:44 PM, Paweł Domas <pawel.domas@jitsi.org> wrote:

Hi,

Thanks for the report ! I've also seen that. The error occurs when
Jicofo user is not recognized as and admin by Prosody. We're going to
investigate that. Here's the ticket you can use to track the progress
on that issue:

[1]: https://github.com/jitsi/jicofo/issues/24

Regards,
Pawel

On Wed, Aug 26, 2015 at 3:08 PM, martin sebastian > <martin.sebastian1@gmail.com> wrote:
> Hi,
>
> While doing browser to browser call sometimes jicofo crashes saying
"Focus
> must be an owner".
> This doesn't happen everytime. Please find below the error log I got.
>
> 2015-08-25 14:00:48.331 SEVERE: [25]
> org.jitsi.jicofo.ChatRoomRoleAndPresence.verifyFocusRole().299 Focus
must be
> an owner!
> 2015-08-25 14:00:48.339 INFO: [43]
> org.jitsi.jicofo.FocusManager.createConference().312 Exception while
trying
> to start the conference
> net.java.sip.communicator.service.protocol.OperationFailedException:
Failed
> to join the room
> at
> org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:235)
> at
> org.jitsi.impl.protocol.xmpp.ChatRoomImpl.join(ChatRoomImpl.java:156)
> at
>
org.jitsi.jicofo.JitsiMeetConference.joinTheRoom(JitsiMeetConference.java:308)
> at
> org.jitsi.jicofo.JitsiMeetConference.start(JitsiMeetConference.java:277)
> at
> org.jitsi.jicofo.FocusManager.createConference(FocusManager.java:308)
> at
> org.jitsi.jicofo.FocusManager.conferenceRequest(FocusManager.java:244)
> at
>
org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq(FocusComponent.java:412)
> at
> org.jitsi.jicofo.xmpp.FocusComponent.handleIQSet(FocusComponent.java:248)
> at
>
org.xmpp.component.AbstractComponent.processIQRequest(AbstractComponent.java:515)
> at
>
org.xmpp.component.AbstractComponent.processIQ(AbstractComponent.java:289)
> at
>
org.xmpp.component.AbstractComponent.processQueuedPacket(AbstractComponent.java:239)
> at
>
org.xmpp.component.AbstractComponent.access$100(AbstractComponent.java:81)
> at
>
org.xmpp.component.AbstractComponent$PacketProcessor.run(AbstractComponent.java:1051)
> at
>
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
>
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> 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:193)
> ... 15 more
>
> Thanks in advance for the help.
>
>
>
> Thanks,
> Martin
>
> _______________________________________________
> dev mailing list
> dev@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev

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

--
_______________

Regards,

Martin Sebastian


#4

This should never happen because jicofo is an admin. That's why it has
to be investigated.

···

On Wed, Aug 26, 2015 at 3:33 PM, martin sebastian <martin.sebastian1@gmail.com> wrote:

Hi,

But we already have jicofo as admin in our prosody.
Also this doesn't happen everytime.
If jicofo's not admin it should be failing all the time right ?