jitsi / jitsi-meet

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
https://jitsi.org/meet
Apache License 2.0
22.84k stars 6.68k forks source link

Moderator Breakout Room Connection Error #15024

Open Glaukom opened 4 weeks ago

Glaukom commented 4 weeks ago

What happened?

When I join a room as "non moderator" and I authenticate myself vie "login" in the settings->profile section, to get the "moderator" status, I get an error when creating a breakout room and I try to join it.

Platform

Browser / app / sdk version

2.0.9646

Relevant log output

No response

Reproducibility

More details?

Component "conference.XXX.de" "muc"
    restrict_room_creation = true
    storage = "memory"
    modules_enabled = {
        "muc_hide_all";
        "muc_meeting_id";
        "muc_domain_mapper";
        "polls";
        --"token_verification";
        "muc_rate_limit";
        "muc_password_whitelist";
    }
    admins = { "focus@auth.XXX.de" }
    muc_password_whitelist = {
        "focus@auth.XXX.de"
    }
    muc_room_locking = false
    muc_room_default_public_jids = true

Component "breakout.XXX.de" "muc"
    restrict_room_creation = true
    storage = "memory"
    modules_enabled = {
        "muc_hide_all";
        "muc_meeting_id";
        "muc_domain_mapper";
        "muc_rate_limit";
        "polls";
    }
    admins = { "focus@auth.XXX.de" }
    muc_room_locking = false
    muc_room_default_public_jids = true
damencho commented 4 weeks ago

What is the error you see? Share browser ja console logs and prosody logs.

Glaukom commented 2 weeks ago

Hi there, sorry for my late answer. I added prosody, jicofo, jvb and console.logs, I truncated the data to the timing when the error occurs. For your understanding:

The name of the main room was 123, the created breakout room was (default naming) Number 1, my authentication name was "tahameln" jicofo.log jms-test.MYDOMAIN.de-1724673978708.log jvb.log prosody.log jms-test MYDOMAIN de-error-2024-08-26 141839

damencho commented 2 weeks ago

Can you execute in the client where you see the error APP.conference.saveLogs() and upload the file here.

Glaukom commented 2 weeks ago

Sure, here it is meetlog.json

damencho commented 2 weeks ago
    <presence
        from = "69064573-1afe-42eb-ae8e-59377263959a@breakout.jms-test.MYDOMAIN.de/fa1739b2"
        to = "snxahnw7dmbboyhty1l_tss4@guest.jms-test.MYDOMAIN.de/HUHW_bjrWqRk"
        type = "error" xmlns = "jabber:client">
        <error
            by = "breakout.jms-test.MYDOMAIN.de" type = "cancel">
            <not-allowed xmlns = "urn:ietf:params:xml:ns:xmpp-stanzas" />
            <text xmlns = "urn:ietf:params:xml:ns:xmpp-stanzas">Room creation is restricted</text>
        </error>
    </presence>

Hum, this means jicofo was not in the room.

damencho commented 2 weeks ago

Who created the breakout room? Is the same participant that was logged in via Profile tab?

Glaukom commented 2 weeks ago

Yes, I already wondered, because it seems like I'm joining the room as guest and that's causing the issue. Would it help to share the prosody config?

Glaukom commented 2 weeks ago

But the problem also occurs if anyone else (as moderator) is joining the room, if a non-moderator joins the room first, everything is fine

damencho commented 2 weeks ago

yep, it is strange. This is a bug as this kind of authentication is something we do not use and break occasionally. And this exact case is not something we test. Will take a look when time permits.