Jitsi Docker installation centos8

So I’ve successfully setup Jitsi using docker. I can access Jitsi on my subdomain. I also configured authentication and created a user and password. However there are two things which seem odd…

Whenever I create a room I never get the question if I am the host. So I can never identify myself…

In the docker log I keep getting this error in a loop…

The following addresses failed: 'xmpp.meet.jitsi:5222' failed because: xmpp.meet.jitsi/172.18.0.3 
exception: java.net.NoRouteToHostException: No route to host (Host unreachable)

I followed the steps here: https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-docker All steps gave me an OK result…

.env (passwords have been generated for XMPP using the provided scripts + public url has also been set.

# Directory where all configuration will be stored

CONFIG=/home/admin/.jitsi-meet-cfg

# Exposed HTTP port

HTTP_PORT=8000

# Exposed HTTPS port

HTTPS_PORT=8443

# System time zone

TZ=Europe/Amsterdam

# Enable authentication

ENABLE_AUTH=1

# Enable guest access

ENABLE_GUESTS=1

# Select authentication type: internal, jwt or ldap

AUTH_TYPE=internal

Detailed log:

jvb_1      | WARNING: [MucClient id=shard hostname=xmpp.meet.jitsi] error connecting
jvb_1      | org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: 'xmpp.meet.jitsi:5222' failed because: xmpp.meet.jitsi/172.18.0.3 exception: java.net.NoRouteToHostException: No route to host (Host unreachable)
jvb_1      | 	at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.java:278)
jvb_1      | 	at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:619)
jvb_1      | 	at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:902)
jvb_1      | 	at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:383)
jvb_1      | 	at org.jitsi.xmpp.mucclient.MucClient.lambda$getConnectAndLoginCallable$8(MucClient.java:664)
jvb_1      | 	at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
jvb_1      | 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
jvb_1      | 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
jvb_1      | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
jvb_1      | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
jvb_1      | 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
jvb_1      | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
jvb_1      | 	at java.lang.Thread.run(Thread.java:748)
jvb_1      | 
jicofo_1   | Jicofo 2020-09-29 16:31:56.628 SEVERE: [29] org.jitsi.meet.ComponentMain.log() java.net.NoRouteToHostException: No route to host (Host unreachable), host:xmpp.meet.jitsi, port:5347
jicofo_1   | org.xmpp.component.ComponentException: java.net.NoRouteToHostException: No route to host (Host unreachable)
jicofo_1   | 	at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:296)
jicofo_1   | 	at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
jicofo_1   | 	at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
jicofo_1   | 	at org.jitsi.meet.ComponentMain.lambda$getConnectCallable$0(ComponentMain.java:285)
jicofo_1   | 	at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
jicofo_1   | 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
jicofo_1   | 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
jicofo_1   | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
jicofo_1   | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
jicofo_1   | 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
jicofo_1   | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
jicofo_1   | 	at java.lang.Thread.run(Thread.java:748)
jicofo_1   | Caused by: java.net.NoRouteToHostException: No route to host (Host unreachable)
jicofo_1   | 	at java.net.PlainSocketImpl.socketConnect(Native Method)
jicofo_1   | 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
jicofo_1   | 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
jicofo_1   | 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
jicofo_1   | 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
jicofo_1   | 	at java.net.Socket.connect(Socket.java:607)
jicofo_1   | 	at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:174)
jicofo_1   | 	... 11 more
jvb_1      | Sep 29, 2020 4:31:59 PM org.jitsi.utils.logging2.LoggerImpl log
jvb_1      | INFO: Running expire()
jvb_1      | Sep 29, 2020 4:31:59 PM org.jitsi.utils.logging2.LoggerImpl log
jvb_1      | SEVERE: Health check failed in PT0.001S:
jvb_1      | java.lang.Exception: Address discovery through STUN failed
jvb_1      | 	at org.jitsi.videobridge.health.Health.performCheck(Health.java:156)
jvb_1      | 	at org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:155)
jvb_1      | 	at org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)
jvb_1      | 	at org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)
jvb_1      | 	at org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)
jvb_1      | 	at org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)
jvb_1      | 
jicofo_1   | Jicofo 2020-09-29 16:32:00.491 SEVERE: [28] org.jitsi.xmpp.component.ComponentBase.log() Failed to send ping
jicofo_1   | java.lang.NullPointerException
jicofo_1   | 	at org.xmpp.component.AbstractComponent.send(AbstractComponent.java:925)
jicofo_1   | 	at org.jitsi.xmpp.component.ComponentBase.access$400(ComponentBase.java:36)
jicofo_1   | 	at org.jitsi.xmpp.component.ComponentBase$PingTask.run(ComponentBase.java:577)
jicofo_1   | 	at java.util.TimerThread.mainLoop(Timer.java:555)
jicofo_1   | 	at java.util.TimerThread.run(Timer.java:505)
jicofo_1   | Jicofo 2020-09-29 16:32:01.748 SEVERE: [64] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.log() Failed to connect/login: The following addresses failed: 'xmpp.meet.jitsi:5222' failed because: xmpp.meet.jitsi/172.18.0.3 exception: java.net.NoRouteToHostException: No route to host (Host unreachable)
jicofo_1   | org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: 'xmpp.meet.jitsi:5222' failed because: xmpp.meet.jitsi/172.18.0.3 exception: java.net.NoRouteToHostException: No route to host (Host unreachable)
jicofo_1   | 	at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.java:278)
jicofo_1   | 	at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:619)
jicofo_1   | 	at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:902)
jicofo_1   | 	at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:383)
jicofo_1   | 	at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect(XmppProtocolProvider.java:258)
jicofo_1   | 	at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
jicofo_1   | 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
jicofo_1   | 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
jicofo_1   | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
jicofo_1   | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
jicofo_1   | 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
jicofo_1   | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
jicofo_1   | 	at java.lang.Thread.run(Thread.java:748)
jvb_1      | Sep 29, 2020 4:32:02 PM org.jitsi.utils.logging2.LoggerImpl log
jvb_1      | WARNING: [MucClient id=shard hostname=xmpp.meet.jitsi] error connecting
jvb_1      | org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: 'xmpp.meet.jitsi:5222' failed because: xmpp.meet.jitsi/172.18.0.3 exception: java.net.NoRouteToHostException: No route to host (Host unreachable)
jvb_1      | 	at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.java:278)
jvb_1      | 	at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:619)
jvb_1      | 	at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:902)
jvb_1      | 	at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:383)
jvb_1      | 	at org.jitsi.xmpp.mucclient.MucClient.lambda$getConnectAndLoginCallable$8(MucClient.java:664)
jvb_1      | 	at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
jvb_1      | 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
jvb_1      | 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
jvb_1      | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
jvb_1      | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
jvb_1      | 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
jvb_1      | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
jvb_1      | 	at java.lang.Thread.run(Thread.java:748)
jvb_1      | 
jicofo_1   | Jicofo 2020-09-29 16:32:02.644 SEVERE: [29] org.jitsi.meet.ComponentMain.log() java.net.NoRouteToHostException: No route to host (Host unreachable), host:xmpp.meet.jitsi, port:5347
jicofo_1   | org.xmpp.component.ComponentException: java.net.NoRouteToHostException: No route to host (Host unreachable)
jicofo_1   | 	at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:296)
jicofo_1   | 	at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
jicofo_1   | 	at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
jicofo_1   | 	at org.jitsi.meet.ComponentMain.lambda$getConnectCallable$0(ComponentMain.java:285)
jicofo_1   | 	at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
jicofo_1   | 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
jicofo_1   | 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
jicofo_1   | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
jicofo_1   | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
jicofo_1   | 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
jicofo_1   | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
jicofo_1   | 	at java.lang.Thread.run(Thread.java:748)
jicofo_1   | Caused by: java.net.NoRouteToHostException: No route to host (Host unreachable)
jicofo_1   | 	at java.net.PlainSocketImpl.socketConnect(Native Method)
jicofo_1   | 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
jicofo_1   | 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
jicofo_1   | 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
jicofo_1   | 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
jicofo_1   | 	at java.net.Socket.connect(Socket.java:607)
jicofo_1   | 	at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:174)
jicofo_1   | 	... 11 more

That’s odd. How did you start the containers? What Docker version are you running?

I used docker-compose up and Docker version 19.03.13, build 4484c46d

Did you change anything else in .env ?

I have not.

I don’t know how that can happen. Docker is supposed to provide resolution for the internal network.