Doesn't find ejabberd configuration

I don’t see any ejabberd configuration anywhere in the site. Please suggest me how to configure jitsi-meet with ejabberd. Im able to setup with prosody and its working fine for me so far. now im trying to replace prosody =>with=> ejabberd. but jicofo itself not working…

Added following configurations in ejabberd.yml file, but i know it is not complete

thank in adv.

internal.auth.jitsi-meet.example.com you are missing configuration for this muc component, where jicofo tries to connect. Open prosody config and make sure you have all these components and virtual hosts configured in your xmpp server.

Thanks for the reply, i made all configurations, which are related to prosody, but still im getting the following exception in jicofo.log, not able to find where is the issue
added jibri logs tooo:

Jicofo 2019-10-28 16:00:33.367 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.jicofo.jibri.BREWERY=JibriBrewery@internal.auth.xmpp.example.com
Jicofo 2019-10-28 16:00:33.393 INFO: [1] org.jitsi.xmpp.component.ComponentBase.log() Component org.jitsi.jicofo. config:
Jicofo 2019-10-28 16:00:33.394 INFO: [1] org.jitsi.xmpp.component.ComponentBase.log() ping interval: 10000 ms
Jicofo 2019-10-28 16:00:33.394 INFO: [1] org.jitsi.xmpp.component.ComponentBase.log() ping timeout: 5000 ms
Jicofo 2019-10-28 16:00:33.394 INFO: [1] org.jitsi.xmpp.component.ComponentBase.log() ping threshold: 3
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.dom4j.io.SAXContentHandler (file:/usr/share/jicofo/lib/dom4j-1.6.1.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding()
WARNING: Please consider reporting this to the maintainers of org.dom4j.io.SAXContentHandler
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Jicofo 2019-10-28 16:00:48.787 SEVERE: [19] org.jitsi.jicofo.xmpp.BaseBrewery.start().196 Failed to create room: JibriBrewery@internal.auth.xmpp.example.com
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.xmpp.BaseBrewery.start(BaseBrewery.java:190)
at org.jitsi.jicofo.xmpp.BaseBrewery.maybeStart(BaseBrewery.java:141)
at org.jitsi.jicofo.xmpp.BaseBrewery.registrationStateChanged(BaseBrewery.java:166)
at org.jitsi.jicofo.ProtocolProviderHandler.registrationStateChanged(ProtocolProviderHandler.java:141)
at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:187)
at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:141)
at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.notifyConnected(XmppProtocolProvider.java:335)
at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.access$000(XmppProtocolProvider.java:62)
at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider$XmppConnectionListener.authenticated(XmppProtocolProvider.java:623)
at org.jivesoftware.smack.AbstractXMPPConnection.callConnectionAuthenticatedListener(AbstractXMPPConnection.java:1297)
at org.jivesoftware.smack.AbstractXMPPConnection.afterSuccessfulLogin(AbstractXMPPConnection.java:572)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.afterSuccessfulLogin(XMPPTCPConnection.java:379)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.loginInternal(XMPPTCPConnection.java:444)
at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:491)
at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect(XmppProtocolProvider.java:287)
at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 15000ms (~15s). Waited for response using: IQReplyFilter: iqAndIdFilter (AndFilter: (OrFilter: (IQTypeFilter: type=error, IQTypeFilter: type=result), StanzaIdFilter: id=ZcNVL-28)), : fromFilter (OrFilter: (FromMatchesFilter (full): internal.auth.xmpp.example.com)).
at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackException.java:111)
at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackException.java:98)
at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:260)
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)
… 23 more
Jicofo 2019-10-28 16:00:48.799 INFO: [19] org.jitsi.jicofo.ComponentsDiscovery.log() New component discovered: proxy.xmpp.example.com, null
Jicofo 2019-10-28 16:00:48.848 INFO: [19] org.jitsi.jicofo.ComponentsDiscovery.log() New component discovered: upload.xmpp.example.com, null
Jicofo 2019-10-28 16:00:48.884 INFO: [19] org.jitsi.jicofo.ComponentsDiscovery.log() New component discovered: conference.xmpp.example.com, null
Jicofo 2019-10-28 16:00:48.884 INFO: [19] org.jitsi.jicofo.JitsiMeetServices.log() MUC component discovered: conference.xmpp.example.com
Jicofo 2019-10-28 16:00:48.972 INFO: [19] org.jitsi.jicofo.ComponentsDiscovery.log() New component discovered: xmpp.example.com, IQ Stanza (query jabber:iq:version) [to=focus@xmpp.example.com/focus1023058580602517,from=xmpp.example.com,id=ZcNVL-41,type=result,]
Jicofo 2019-10-28 16:00:48.972 INFO: [19] org.jitsi.jicofo.JitsiMeetServices.log() Detected XMPP server version: IQ Stanza (query jabber:iq:version) [to=focus@xmpp.example.com/focus1023058580602517,from=xmpp.example.com,id=ZcNVL-41,type=result,]
Jicofo 2019-10-28 16:00:49.021 INFO: [19] org.jitsi.jicofo.ComponentsDiscovery.log() New component discovered: focus.xmpp.example.com, null
Jicofo 2019-10-28 16:00:49.130 INFO: [19] org.jitsi.jicofo.ComponentsDiscovery.log() New component discovered: jitsi-videobridge.xmpp.example.com, IQ Stanza (query jabber:iq:version) [to=focus@xmpp.example.com/focus1023058580602517,from=jitsi-videobridge.xmpp.example.com,id=ZcNVL-48,type=result,]
Jicofo 2019-10-28 16:00:49.131 INFO: [19] org.jitsi.jicofo.BridgeSelector.log() Added videobridge: jitsi-videobridge.xmpp.example.com v: IQ Stanza (query jabber:iq:version) [to=focus@xmpp.example.com/focus1023058580602517,from=jitsi-videobridge.xmpp.example.com,id=ZcNVL-48,type=result,]
Jicofo 2019-10-28 16:00:49.132 WARNING: [19] org.jitsi.jicofo.BridgeSelector.log() No pub-sub node mapped for jitsi-videobridge.xmpp.example.com
Jicofo 2019-10-28 16:00:49.135 INFO: [50] org.jitsi.jicofo.JvbDoctor.log() Scheduled health-check task for: jitsi-videobridge.xmpp.example.com
Jicofo 2019-10-28 16:00:49.176 INFO: [19] org.jitsi.jicofo.ComponentsDiscovery.log() New component discovered: pubsub.xmpp.example.com, null
Jicofo 2019-10-28 16:00:49.177 INFO: [19] org.jitsi.jicofo.ComponentsDiscovery.log() Services re-discovery interval: 30000
Jicofo 2019-10-28 16:00:49.178 INFO: [19] org.jitsi.jicofo.FocusManager.log() XMPP provider reg state: RegistrationState=Registered

Jibri logs:

2019-10-28 16:07:09.202 INFO: [1] org.jitsi.jibri.Main.loadConfig() Parsed config:
JibriConfig(recordingDirectory=/tmp/recordings, enabledStatsD=true, finalizeRecordingScriptPath=/etc/jitsi/jibri/finalize_recording.sh, xmppEnvironments=[XmppEnvironmentConfig(name=jibridev, xmppServerHosts=[xmpp.example.com], xmppDomain=xmpp.example.com, controlLogin=XmppCredentials(domain=auth.xmpp.example.com, username=jibri, password=jibriauthpass), controlMuc=XmppMuc(domain=internal.auth.xmpp.example.com, roomName=JibriBrewery, nickname=jibri), sipControlMuc=null, callLogin=XmppCredentials(domain=recorder.xmpp.example.com, username=recorder, password=jibrirecorderpass), stripFromRoomDomain=conference., usageTimeoutMins=0, trustAllXmppCerts=true)])
2019-10-28 16:07:10.015 WARNING: [1] org.glassfish.jersey.internal.inject.Providers.checkProviderRuntime() A provider org.jitsi.jibri.api.http.internal.InternalHttpApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.jitsi.jibri.api.http.internal.InternalHttpApi will be ignored.
2019-10-28 16:07:10.400 INFO: [1] org.jitsi.jibri.api.xmpp.XmppApi.updatePresence() Jibri reports its status is now JibriStatus(busyStatus=IDLE, health=OverallHealth(healthStatus=HEALTHY, details={})), publishing presence to connections
2019-10-28 16:07:10.404 INFO: [1] org.jitsi.xmpp.mucclient.MucClientManager.log() Setting a presence extension: org.jitsi.xmpp.extensions.jibri.JibriStatusPacketExt@5ba745bc
2019-10-28 16:07:10.414 INFO: [1] org.jitsi.jibri.api.xmpp.XmppApi.start() Connecting to xmpp environment on xmpp.example.com with config XmppEnvironmentConfig(name=jibridev, xmppServerHosts=[xmpp.example.com], xmppDomain=xmpp.example.com, controlLogin=XmppCredentials(domain=auth.xmpp.example.com, username=jibri, password=jibriauthpass), controlMuc=XmppMuc(domain=internal.auth.xmpp.example.com, roomName=JibriBrewery, nickname=jibri), sipControlMuc=null, callLogin=XmppCredentials(domain=recorder.xmpp.example.com, username=recorder, password=jibrirecorderpass), stripFromRoomDomain=conference., usageTimeoutMins=0, trustAllXmppCerts=true)
2019-10-28 16:07:10.416 INFO: [1] org.jitsi.jibri.api.xmpp.XmppApi.start() The trustAllXmppCerts config is enabled for this domain, all XMPP server provided certificates will be accepted
2019-10-28 16:07:10.446 WARNING: [20] org.jitsi.xmpp.mucclient.MucClient.log() Disabling certificate verification!
2019-10-28 16:07:10.523 WARNING: [1] org.glassfish.jersey.internal.inject.Providers.checkProviderRuntime() A provider org.jitsi.jibri.api.http.HttpApi registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.jitsi.jibri.api.http.HttpApi will be ignored.
2019-10-28 16:07:11.082 INFO: [20] org.jitsi.xmpp.mucclient.MucClient.log() [MucClient id=xmpp.example.com hostname=xmpp.example.com] connected
2019-10-28 16:07:16.139 SEVERE: [20] org.jivesoftware.smack.AbstractXMPPConnection.callConnectionAuthenticatedListener() Exception in authenticated listener
java.lang.RuntimeException: org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 5000ms (~5s). Waited for response using: IQReplyFilter: iqAndIdFilter (AndFilter: (OrFilter: (IQTypeFilter: type=error, IQTypeFilter: type=result), StanzaIdFilter: id=wfFAK-9)), : fromFilter (OrFilter: (FromMatchesFilter (full): internal.auth.xmpp.example.com)).
at org.jitsi.xmpp.mucclient.MucClient$1.authenticated(MucClient.java:220)
at org.jivesoftware.smack.AbstractXMPPConnection.callConnectionAuthenticatedListener(AbstractXMPPConnection.java:1297)
at org.jivesoftware.smack.AbstractXMPPConnection.afterSuccessfulLogin(AbstractXMPPConnection.java:572)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.afterSuccessfulLogin(XMPPTCPConnection.java:379)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.loginInternal(XMPPTCPConnection.java:444)
at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:491)
at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:448)
at org.jitsi.xmpp.mucclient.MucClient.initializeConnectAndJoin(MucClient.java:277)
at org.jitsi.xmpp.mucclient.MucClientManager.lambda$addMucClient$0(MucClientManager.java:152)
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.SmackException$NoResponseException: No response received within reply timeout. Timeout was 5000ms (~5s). Waited for response using: IQReplyFilter: iqAndIdFilter (AndFilter: (OrFilter: (IQTypeFilter: type=error, IQTypeFilter: type=result), StanzaIdFilter: id=wfFAK-9)), : fromFilter (OrFilter: (FromMatchesFilter (full): internal.auth.xmpp.example.com)).
at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackException.java:111)
at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackException.java:98)
at org.jivesoftware.smack.StanzaCollector.nextResultOrThrow(StanzaCollector.java:260)
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.xmpp.mucclient.MucClient$MucWrapper.join(MucClient.java:547)
at org.jitsi.xmpp.mucclient.MucClient$MucWrapper.access$400(MucClient.java:476)
at org.jitsi.xmpp.mucclient.MucClient.joinMucs(MucClient.java:301)
at org.jitsi.xmpp.mucclient.MucClient.access$100(MucClient.java:47)
at org.jitsi.xmpp.mucclient.MucClient$1.authenticated(MucClient.java:216)
… 11 more

Have you checked ejabberd logs, why there is no reply to the packets sent by jicofo?

yes, itseems there is an issue… but what it is? im unable to find it… looks i did everything right and enabled anonymous access too in ejabberd. where i’m wrong?

2019-10-28 16:00:36.845 [info] <0.727.0>@ejabberd_service:handle_auth_success:179 (tcp|<0.727.0>) Accepted external component handshake authentication for jitsi-videobridge.xmpp.example.com from ::ffff:192.168.1.136
2019-10-28 16:01:03.815 [warning] <0.726.0>@ejabberd_s2s_out:process_closed:157 Failed to establish outbound s2s connection xmpp.example.com -> internal.auth.xmpp.example.com: Connection failed: timeout; bouncing for 30 seconds
2019-10-28 16:01:03.815 [info] <0.380.0>@ejabberd_listener:accept:256 (<0.729.0>) Accepted connection [::ffff:192.168.1.215]:51135 -> [::ffff:192.168.1.215]:5269
2019-10-28 16:01:03.816 [info] <0.729.0>@ejabberd_s2s_in:process_closed:131 Closing inbound s2s connection ::ffff:192.168.1.215 -> xmpp.example.com: Connection failed: connection closed
2019-10-28 16:05:33.081 [info] <0.723.0>@ejabberd_c2s:process_terminated:294 (tls|<0.723.0>) Closing c2s session for focus@xmpp.example.com/focus1022405356141225: Stream closed by local host: Timed out waiting for stream resumption (connection-timeout)
2019-10-28 16:07:07.950 [info] <0.721.0>@mod_stream_mgmt:transition_to_pending:451 (tls|<0.721.0>) Closing c2s connection for jibri@auth.xmpp.example.com/9319616351565602401826: Connection failed: connection closed; waiting 300 seconds for stream resumption
2019-10-28 16:07:10.518 [info] <0.379.0>@ejabberd_listener:accept:256 (<0.739.0>) Accepted connection [::ffff:192.168.1.215]:43406 -> [::ffff:192.168.1.215]:5222
2019-10-28 16:07:11.090 [info] <0.739.0>@ejabberd_c2s:process_auth_result:271 (tls|<0.739.0>) Accepted c2s PLAIN authentication for jibri@auth.xmpp.example.com by anonymous backend from ::ffff:192.168.1.215
2019-10-28 16:07:11.107 [info] <0.739.0>@ejabberd_c2s:bind:434 (tls|<0.739.0>) Opened c2s session for jibri@auth.xmpp.example.com/10309535081986952292114
2019-10-28 16:07:11.171 [info] <0.740.0>@ejabberd_s2s_out:init:273 Outbound s2s connection started: auth.xmpp.example.com -> internal.auth.xmpp.example.com
2019-10-28 16:07:41.184 [warning] <0.740.0>@ejabberd_s2s_out:process_closed:157 Failed to establish outbound s2s connection auth.xmpp.example.com -> internal.auth.xmpp.example.com: Connection failed: timeout; bouncing for 261 seconds
2019-10-28 16:07:41.185 [info] <0.380.0>@ejabberd_listener:accept:256 (<0.741.0>) Accepted connection [::ffff:192.168.1.215]:54935 -> [::ffff:192.168.1.215]:5269
2019-10-28 16:07:41.185 [info] <0.741.0>@ejabberd_s2s_in:process_closed:131 Closing inbound s2s connection ::ffff:192.168.1.215 -> xmpp.example.com: Connection failed: connection closed
2019-10-28 16:12:07.953 [info] <0.721.0>@ejabberd_c2s:process_terminated:294 (tls|<0.721.0>) Closing c2s session for jibri@auth.xmpp.example.com/9319616351565602401826: Stream closed by local host: Timed out waiting for stream resumption (connection-timeout

Your ejabberd thinks that internal.auth.xmpp.example.com is an external service it needs to access. Where internal.auth.xmpp.example.com should be a muc component defined in your config.

i tried many ways, but could not able to configure that component in my ejabberd
(internal.auth.xmpp.example.com as interal MUC component).
Please help me, if you found anything
anything is appreciated…

Maybe post your ejabberd config, this will also help those trying to accomplish the same.

this is the configuration im using in ejabberd… plz help me if anything you found usefull

ejabberd_yml.txt (6.8 KB)

Without any knowledge of ejabberd I see internal.auth.xmpp.example.org to be defined as a virtual host, where it needs to be a muc component as conference.xmpp.example.org.