Docker multidomain setup

for non-docker setup, value of muc_mapper_domain_prefix = "conference"

Mine is docker set up , and still the issue persists…

@metadata

jicofo_logs.txt (23.7 KB) prosody-logs.txt (6.8 KB) jvb.logs.txt (14.2 KB)

Uploading logs from containers

@metadata

Still “domain_mapper” module is not loading?
set LOG_LEVEL=debug in prosody and check the logs

Is below config present in config.js?

var subdomain = "<!--# echo var="subdomain" default="" -->";
if (subdomain) {
    subdomain = subdomain.substr(0,subdomain.length-1).split('.').join('_').toLowerCase() + '.';
}
config.hosts.muc = 'muc.'+subdomain+'meet.example.com';

set this to true in docker-compose.yml file.

Let me check that , meanwhile I see this error in prosody

general info Starting speakerstats for muc.test.mydomain.com
speakerstats.test.mydomain.com:speakerstats_component info No muc component found, will listen for it: muc.test.mydomain.com
:tls error Error creating context for c2s: No certificate present in SSL/TLS configuration for
:tls error Error creating contexts for s2sin: No certificate present in SSL/TLS configuration for
general info Starting conference duration timer for muc.test.mydomain.com
conferenceduration.test.mydomain.com:conference_duration_component i

I don’t find this configuration anywhere in my setup. Where can I find it?

got it , I have enabled sudomain configuration also in my prosody deployment. but still no luck

@metadata

which docker image are you using? I don’t think you are using latest.

check this out : docker-jitsi-meet/system-config.js at 7594ea28ad177522533d79e15cfcbfc7aa86593d · jitsi/docker-jitsi-meet · GitHub

1 Like

@metadata I have tried and getting error in jicofo as below.

Jicofo 2021-01-14 07:36:34.448 WARNING: [80] org.jitsi.jicofo.xmpp.FocusComponent.processIQ() (serving component ‘Jitsi Meet Focus’) Unexpected exception while processing IQ stanza:
net.java.sip.communicator.service.protocol.OperationFailedException: Failed to join the room
at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:298)
at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.join(ChatRoomImpl.java:209)
at org.jitsi.jicofo.JitsiMeetConferenceImpl.joinTheRoom(JitsiMeetConferenceImpl.java:581)
at org.jitsi.jicofo.JitsiMeetConferenceImpl.start(JitsiMeetConferenceImpl.java:404)
at org.jitsi.jicofo.FocusManager.conferenceRequest(FocusManager.java:477)
at org.jitsi.jicofo.FocusManager.conferenceRequest(FocusManager.java:426)
at org.jitsi.jicofo.FocusManager.conferenceRequest(FocusManager.java:401)
at org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq(FocusComponent.java:417)
at org.jitsi.jicofo.xmpp.FocusComponent.handleIQSetImpl(FocusComponent.java:254)
at org.jitsi.xmpp.component.ComponentBase.handleIQSet(ComponentBase.java:362)
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.jivesoftware.smack.XMPPException$XMPPErrorException: XMPP error reply received from conference.test.mydomain.com: XMPPError: not-allowed - cancel
at org.jivesoftware.smack.XMPPException$XMPPErrorException.ifHasErrorThenThrow(XMPPException.java:132)
at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:263)
at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:214)
at org.jivesoftware.smackx.disco.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryManager.java:540)
at org.jivesoftware.smackx.disco.ServiceDiscoveryManager.discoverInfo(ServiceDiscoveryManager.java:506)
at org.jivesoftware.smackx.disco.ServiceDiscoveryManager.supportsFeatures(ServiceDiscoveryManager.java:748)
at org.jivesoftware.smackx.disco.ServiceDiscoveryManager.supportsFeatures(ServiceDiscoveryManager.java:744)
at org.jivesoftware.smackx.disco.ServiceDiscoveryManager.supportsFeature(ServiceDiscoveryManager.java:740)
at org.jivesoftware.smackx.muc.MultiUserChatManager.providesMucService(MultiUserChatManager.java:361)
at org.jivesoftware.smackx.muc.MultiUserChat.enter(MultiUserChat.java:311)
at org.jivesoftware.smackx.muc.MultiUserChat.createOrJoin(MultiUserChat.java:498)
at org.jivesoftware.smackx.muc.MultiUserChat.createOrJoin(MultiUserChat.java:444)
at org.jitsi.impl.protocol.xmpp.ChatRoomImpl.joinAs(ChatRoomImpl.java:240)
… 17 more

@metadata Do you think you can share the working yamls here. appreciate your help

Sorry, I’m using docker-swarm not k8s.