docker-jitsi-meet icon indicating copy to clipboard operation
docker-jitsi-meet copied to clipboard

JITSI / JICOFO All the time i have problem again connect to room, which all people disconnected

Open MKlimowicz opened this issue 5 years ago • 0 comments

Hello

I use jitsi version from here https://github.com/jitsi/docker-jitsi-meet.

How in title. I don't have this problem when although one person stay in room but when all people disconnect i have problem connect again to this same room.

The problem I find in the log is the new generated id based on the email I forward to JWT. I am using the same email address (same JWT key) that I used to create this room.

icofo_1 | Jicofo 2020-07-15 09:17:55.593 SEVERE: [56] org.jitsi.impl.reservation.rest.RESTReservations.log() Room [email protected], conflict : [email protected] != [email protected] jicofo_1 | Jicofo 2020-07-15 09:17:55.593 INFO: [56] org.jitsi.jicofo.xmpp.FocusComponent.log() Create room result: Result[c=3, msg=null]@171957098 for [email protected]

In code jicofo i find place where is this problem. Jicofo saved this room in map and saved id person who created this room, that is create on base my e-mail. Unfortunately when i try again connect with this room is generate new ID on base this same e-mail which is diffrent then ID who is save in map with name room.

code org.jitsi.impl.reservation.rest.RESTReservations.log() method createConference() where this error is return:

https://github.com/jitsi/jicofo/blob/master/src/main/java/org/jitsi/impl/reservation/rest/RESTReservations.java

// Verify owner == creator
if (creator.equals(conference.getOwner()))
{
    return new Result(RESULT_OK);
}
else
{
    logger.error(
        "Room " + mucRoomName + ", conflict : "
                + creator + " != " + conference.getOwner());
    return new Result(RESULT_CONFLICT);
}

I turned on authorization JWT also I added special plugin: https://github.com/nvonahsen/jitsi-token-moderation-plugin I'm using this plugin to decide who is moderator / normal user

I disabled access for users who failed JWT authorization and only people who was authorization JWT can join to room.

Thanks for help.

MKlimowicz avatar Jul 16 '20 08:07 MKlimowicz