Jitsi meet "No XMPP components" & "Connection refused"

Hello dear jitsi community,

first of all I want to say that I really like the software! Especially in the current time (COVID-19), companies are looking for a way to communicate from their home offices with eath other. So did we!

But here comes the problem… unfortunately, jitsi meet doesnt work as intended. I’ve set up a fresh ubuntu 16.04 VM and installed jitsi-meet according to the official jitsi video guide. I also implemented the plugin for mattermost so that users can open a video conference and use screen sharing.

But as soon as more than 1 person enters a conference room, it crashes. I checked the jvm.log and this is what I got:

JVB 2020-03-19 09:59:47.882 SCHWERWIEGEND: [60] org.jitsi.meet.ComponentMain.log() java.net.ConnectException: Connection refused (Connection refused), host:loca
lhost, port:5275
org.xmpp.component.ComponentException: java.net.ConnectException: Connection refused (Connection refused)
        at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:296)
        at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
        at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
        at org.jitsi.meet.ComponentMain.lambda$getConnectCallable$0(ComponentMain.java:286)
        at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        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: java.net.ConnectException: Connection refused (Connection refused)
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:607)
        at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:174)
        ... 11 more
JVB 2020-03-19 09:59:48.596 SCHWERWIEGEND: [46] org.jitsi.videobridge.health.Health.log() Health check failed in 0ms:
java.lang.Exception: No XMPP components
        at org.jitsi.videobridge.health.Health.checkXmppConnection(Health.java:269)
        at org.jitsi.videobridge.health.Health.doCheck(Health.java:225)
        at org.jitsi.videobridge.health.Health.doRun(Health.java:495)
        at org.jitsi.utils.concurrent.PeriodicRunnableWithObject.run(PeriodicRunnableWithObject.java:87)
        at org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)
        at org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)
        at org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)
        at org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)
JVB 2020-03-19 09:59:52.884 SCHWERWIEGEND: [60] org.jitsi.meet.ComponentMain.log() java.net.ConnectException: Connection refused (Connection refused), host:loca
lhost, port:5275
org.xmpp.component.ComponentException: java.net.ConnectException: Connection refused (Connection refused)
        at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:296)
        at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
        at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
        at org.jitsi.meet.ComponentMain.lambda$getConnectCallable$0(ComponentMain.java:286)
        at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        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: java.net.ConnectException: Connection refused (Connection refused)
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:607)
        at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:174)
        ... 11 more

Did I forget to set something? Please help out!

Nobody? Please help! I have no idea where to look!

I checked similar threads and found this answer:
1.) Connection refused. jvb can’t connect to your XMPP server. Check
to see if your XMPP server is bound to 0.0.0.0 or 127.0.0.1. This
appears to be the most common problem.

Where can I check whether my XMPP server is bound?

you can do netstat -anp | grep lua.

Good morning!

Thid is what I got:

tcp 0 0 0.0.0.0:5269 0.0.0.0:* LISTEN 1124/lua5.1
tcp 0 0 0.0.0.0:5280 0.0.0.0:* LISTEN 1124/lua5.1
tcp 0 0 0.0.0.0:5281 0.0.0.0:* LISTEN 1124/lua5.1
tcp 0 0 127.0.0.1:5347 0.0.0.0:* LISTEN 1124/lua5.1
tcp 0 0 0.0.0.0:5222 0.0.0.0:* LISTEN 1124/lua5.1
tcp 0 0 127.0.0.1:5347 127.0.0.1:44636 ESTABLISHED 1124/lua5.1
tcp 0 0 127.0.0.1:5222 127.0.0.1:60378 ESTABLISHED 1124/lua5.1
tcp 0 0 127.0.0.1:5347 127.0.0.1:44630 ESTABLISHED 1124/lua5.1
tcp6 0 0 :::5269 :::* LISTEN 1124/lua5.1
tcp6 0 0 :::5280 :::* LISTEN 1124/lua5.1
tcp6 0 0 :::5281 :::* LISTEN 1124/lua5.1
tcp6 0 0 ::1:5347 :::* LISTEN 1124/lua5.1
tcp6 0 0 :::5222 :::* LISTEN 1124/lua5.1

Is this ok?

This is wrong, the port should be 5347.

Hey,

good morning. I tried the 5275 port, because it was de default port according to the config file. Before that, it was 5347!

I seems that the problem still occurs as soon as more than 2 people try to start a video conference. I’ve read that Jitsi requires the Jabber software/protocol. Do I need to install it as well on the Ubuntu VM?

I have some problem on jitsi videobridge1 installation old version.

Hi, After execute this command , Nothing got.

I have just clone the repository and execute command ‘make dev’

Please help me out.

Thanks