I’m trying to set up Jitsi, Jicofo and Jibri so that only new meetings can be started by authenticated users. I followed the Secure domain documentation on https://github.com/jitsi/jicofo .
So when I try to start a meeting, I get asked for the login and password, but then it eternally hangs on “Connecting”. In the browser console I constantly see these messages:
2020-03-22T21:45:54.393Z [modules/xmpp/moderator.js] <d.prototype._allocateConferenceFocusError>: Unauthorized to start the conference
<iq id="a76206d3-72c4-4933-b2e1-5fffb94384c6:sendIQ" from="focus.host.mydomain.com" to="1rtcby_3fxwb1j9e@guest.host.mydomain.com/Dv31_l16" xmlns="jabber:client" type="error">
Logger.js:154:22
2020-03-22T21:45:54.409Z [conference.js] <_onConferenceFailed>: CONFERENCE FAILED: conference.authenticationRequired
My prosody config looks like this:
VirtualHost “host.mydomain.com”
authentication = “ldap”
ldap_base = “ou=People,dc=mydomain,dc=com”
ldap_server = “localhost”
ssl = {
key = “/etc/prosody/certs/host.mydomain.com.key”;
certificate = “/etc/prosody/certs/host.mydomain.com.crt”;
}
– we need bosh
modules_enabled = {
“bosh”;
“pubsub”;
“ping”; – Enable mod_ping
}
c2s_require_encryption = false
consider_bosh_secure = true
Component “conference.host.mydomain.com” “muc”
storage = “memory”
admins = { “focus@auth.host.mydomain.com” }
Component “jitsi-videobridge.host.mydomain.com”
component_secret = “ubegAKlw”
VirtualHost “auth.host.mydomain.com”
ssl = {
key = “/etc/prosody/certs/auth.host.mydomain.com.key”;
certificate = “/etc/prosody/certs/auth.host.mydomain.com.crt”;
}
authentication = “internal_plain”
Component “focus.host.mydomain.com”
component_secret = “mwcfxflW”
VirtualHost “guest.host.mydomain.com”
authentication = “anonymous”
c2s_require_encryption = false
Component “internal.auth.host.mydomain.com” “muc”
modules_enabled = {
“ping”;
}
storage = “memory”
muc_room_cache_size = 1000
VirtualHost “localhost”
VirtualHost “recorder.host.mydomain.com”
modules_enabled = {
“ping”;
}
authentication = “internal_plain”
LDAP authentication is working fine when connecting with an XMPP client to host.mydomain.com
How could I fix this?