Jitsi on raspberry pi

Videoconferencing is the method of choice for contact to the world at present. A lot of project-groups with including me, use it. The only tool with data protections, as far as I know, jitsi-meet. The connection to the server and the connection from server are https-protected. The audio- and video-data on the server are open. The server operator must be trustable. The idea is obvious, to operate the server itself. The best is trustable himself.
I beginning with download jitsi and installed on my x86-computer with ubuntu 18.04. Therefore are a lot of instructions on the internet. The installation was possible with less problems. I created in the router forwardings for port 80, 443 and 10000/udp. After this it was possible to communicate with extern participants with audio and with video together. The utilization of my 4 cores was at 30 percent. Thanks to the developer of jitsi.
The installation on my working-computer has are negative side, I must open the forwardings to my intimate internal of my network and I must switch on my computer permanently - not a permanent solution.

Afterwardst I installed ubuntu 18.04 on my raspberry pi version 4 and then jitsi with the instructions above.
I was surprised. The connection was immadiatly established between my tablet and my computer with audio und video. But, by additional inspection make it clear, this function is only possible with two participants and only possible in my own network. If the instance calles from outside, then you will see the windows for the particpants, but those are black - no video and no audio. Only chat is possible.
My java version:
openjdk version “1.8.0_252”
OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~18.04-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)

In the log-file /var/log/jitsi/jvb.log are writing permanently:

java.lang.Exception: Failed to bind single-port
at org.jitsi.videobridge.health.Health.doCheck(Health.java:143)
at org.jitsi.videobridge.health.Health.doRun(Health.java:266)
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.ja$
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.jav$
at org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)

The command
sudo service videobridge2 status

● jitsi-videobridge2.service - Jitsi Videobridge
Loaded: loaded (/lib/systemd/system/jitsi-videobridge2.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-05-04 21:11:46 UTC; 18h ago
Process: 1320 ExecStartPost=/bin/bash -c echo $MAINPID > /var/run/jitsi-videobridge/jitsi-videobridge.p
Main PID: 1319 (java)
Tasks: 29 (limit: 65000)
CGroup: /system.slice/jitsi-videobridge2.service
└─1319 java -Xmx3072m -XX:+UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath

May 04 21:11:46 ubuntu systemd[1]: Starting Jitsi Videobridge…
May 04 21:11:46 ubuntu systemd[1]: Started Jitsi Videobridge.
lines 1-11/11 (END)

This is my stand at the moment.
Is anybody with more informations? Can you help me?

RPi is way too underpowered for running jitsi-meet

inside, 1-to-1 is via p2p, but externally it uses a videobridge. its not gonna work.

@masteryoda it didn’t work before, I see several reports of it working, but some effort is required.

@holger2 see this issue report and by all means search for “rpi4” on these forums. Good luck!

1 Like

Thank you for the answers and the link, I will study this.

1 Like

A Raspberry Pi 4 isn’t too under-powered to run Jitsi Meet providing you do not have unrealistic expectations.

I’ve put some instructions here.

2 Likes

Thank you, I am busy to compile it.

The deb-Packages in the links don’t are present at this time.

wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jre_8u242-b08-1~deb9u1_armhf.deb
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jre-headless_8u242-b08-1~deb9u1_armhf.deb
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jdk_8u242-b08-1~deb9u1_armhf.deb
wget http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/openjdk-8-jdk-headless_8u242-b08-1~deb9u1_armhf.deb

How can I find the aktual packages?

You can see all the packages if you go here:
http://security.debian.org/debian-security/pool/updates/main/o/openjdk-8/

You want to replace 8u242-b08-1-deb9u1 with 8u252-b09-1~deb9u1. However, if you are using Raspbian, you can just run sudo apt install openjdk-8-jdk

1 Like

There is now the 8GB Raspberry Pi 4B and Raspberry OS 64-bit is in BETA. I would be happy to make deb packages for arm64 if allowed and enough people are interested.

1 Like

Yes, am very intrested for deb packages.
I have with my compiling no success at time. I have errors. I trial on raspberry 4 - 4GB with ubuntu 18.04.

If enough people are interested and I’m allowed, I’ll do it.

I have change my OS from ubuntu to raspios-buster-arm64
(http://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2020-05-28/2020-05-27-raspios-buster-arm64.zip)
I compile it with the instruction from tigerhiddenadam.
I use aarch64. It was successful. If connected, I obtain the greetings-screen.
But if I open a meeting-room, I see the message “gone wrong”.
I think, this is a config-problem.

jvb.log :

org.jivesoftware.smack.sasl.SASLErrorException: SASLError using SCRAM-SHA-1: not-authorized
        at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:292)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1100)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)
2020-06-01 12:48:35.731 INFORMATION: [17] VideobridgeExpireThread.expire#144: Running expire()
2020-06-01 12:48:36.689 INFORMATION: [19] Videobridge.createConference#320: create_conf, id=be45c58a28e2a7ab gid=null logging=false
2020-06-01 12:48:36.949 INFORMATION: [19] AbstractHealthCheckService.run#171: Performed a successful health check in PT0.26S. Sticky failure: false
2020-06-01 12:48:38.987 WARNUNG: [67] org.jivesoftware.smack.AbstractXMPPConnection.callConnectionClosedOnErrorListener: Connection XMPPTCPConnection[not-authenticated] (0) closed with error
org.jivesoftware.smack.XMPPException$StreamErrorException: connection-timeout You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
<stream:error><connection-timeout xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1064)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)
2020-06-01 12:48:38.996 WARNUNG: [67] [hostname=localhost id=shard] MucClient$1.connectionClosedOnError#295: Closed on error:
org.jivesoftware.smack.XMPPException$StreamErrorException: connection-timeout You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
<stream:error><connection-timeout xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1064)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)
2020-06-01 12:48:39.488 INFORMATION: [21] [hostname=localhost id=shard] MucClient$1.connected#266: Connected.
2020-06-01 12:48:39.489 INFORMATION: [21] [hostname=localhost id=shard] MucClient.lambda$getConnectAndLoginCallable$7#648: Logging in.
2020-06-01 12:48:39.514 SCHWERWIEGEND: [21] RetryStrategy$TaskRunner.run#198: org.jivesoftware.smack.sasl.SASLErrorException: SASLError using SCRAM-SHA-1: not-authorized
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using SCRAM-SHA-1: not-authorized
        at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:292)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1100)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)
2020-06-01 12:48:44.517 INFORMATION: [21] [hostname=localhost id=shard] MucClient.lambda$getConnectAndLoginCallable$7#648: Logging in.
2020-06-01 12:48:44.518 SCHWERWIEGEND: [21] RetryStrategy$TaskRunner.run#198: org.jivesoftware.smack.sasl.SASLErrorException: SASLError using SCRAM-SHA-1: not-authorized
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using SCRAM-SHA-1: not-authorized
        at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:292)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1100)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)
2020-06-01 12:48:46.690 INFORMATION: [19] Videobridge.createConference#320: create_conf, id=f32cebba44f56517 gid=null logging=false
2020-06-01 12:48:46.711 INFORMATION: [19] AbstractHealthCheckService.run#171: Performed a successful health check in PT0.022S. Sticky failure: false

jicofo.log :

Jicofo 2020-06-01 15:37:20.245 SCHWERWIEGEND: [129] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect().303 Failed to connect/login: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve auth.ok</text></stream:error>
org.jivesoftware.smack.XMPPException$StreamErrorException: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve auth.ok</text></stream:error>
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1059)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)
Jicofo 2020-06-01 15:37:20.253 WARNUNG: [398] org.jivesoftware.smack.AbstractXMPPConnection.callConnectionClosedOnErrorListener() Connection XMPPTCPConnection[not-authenticated] (0) closed with error
org.jivesoftware.smack.XMPPException$StreamErrorException: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve auth.ok</text></stream:error>
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1064)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)
Jicofo 2020-06-01 15:37:21.883 SCHWERWIEGEND: [33] org.jitsi.meet.ComponentMain.log() host-unknown, host:localhost, port:5347
org.xmpp.component.ComponentException: host-unknown
        at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:243)
        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:285)
        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)
Jicofo 2020-06-01 15:37:25.261 SCHWERWIEGEND: [220] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect().303 Failed to connect/login: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve auth.ok</text></stream:error>
org.jivesoftware.smack.XMPPException$StreamErrorException: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve auth.ok</text></stream:error>
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1059)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)
Jicofo 2020-06-01 15:37:25.263 WARNUNG: [401] org.jivesoftware.smack.AbstractXMPPConnection.callConnectionClosedOnErrorListener() Connection XMPPTCPConnection[not-authenticated] (0) closed with error
org.jivesoftware.smack.XMPPException$StreamErrorException: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve auth.ok</text></stream:error>
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1064)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)
Jicofo 2020-06-01 15:37:25.725 SCHWERWIEGEND: [32] org.jitsi.xmpp.component.ComponentBase.log() Failed to send ping
java.lang.NullPointerException
        at org.xmpp.component.AbstractComponent.send(AbstractComponent.java:925)
        at org.jitsi.xmpp.component.ComponentBase.access$400(ComponentBase.java:36)
        at org.jitsi.xmpp.component.ComponentBase$PingTask.run(ComponentBase.java:577)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
Jicofo 2020-06-01 15:37:26.887 SCHWERWIEGEND: [33] org.jitsi.meet.ComponentMain.log() host-unknown, host:localhost, port:5347
org.xmpp.component.ComponentException: host-unknown
        at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:243)
        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:285)
        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)

Yes, I would be interested in this as well. Thanks!

1 Like

And welcome to the community!

Can you try:

sudo rm /var/log/prosody/prosody.log
sudo rm /var/log/jitsi/jicofo
sudo rm /var/log/jitsi/jvb.log
sudo systemctl restart prosody jitsi-videobridge2 jicofo

Wait about 40 seconds and then tell me what the contents of your prosody.log is please?

sudo cat /var/log/prosody/prosody.log

@tigerhiddenadam

This is my prosody.log :

Jun 03 10:36:48 startup info    Hello and welcome to Prosody version 0.11.2
Jun 03 10:36:48 startup info    Prosody is using the select backend for connection handling
Jun 03 10:36:48 portmanager     info    Activated service 'c2s' on [::]:5222, [*]:5222
Jun 03 10:36:48 portmanager     info    Activated service 'legacy_ssl' on no ports
Jun 03 10:36:48 portmanager     info    Activated service 'http' on [::]:5280, [*]:5280
Jun 03 10:36:48 portmanager     error   Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281
Jun 03 10:36:48 portmanager     error   Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281
Jun 03 10:36:48 portmanager     info    Activated service 'https' on no ports
Jun 03 10:36:48 portmanager     info    Activated service 's2s' on [::]:5269, [*]:5269
Jun 03 10:36:48 portmanager     info    Activated service 'component' on [127.0.0.1]:5347, [::1]:5347
Jun 03 10:36:48 conference.jitsi-holg.diskstation.org:muc_domain_mapper info    Loading mod_muc_domain_mapper for host focus.jitsi-holg.diskstation.org!
Jun 03 10:36:48 conference.jitsi-holg.diskstation.org:muc_domain_mapper info    Loading mod_muc_domain_mapper for host jitsi-holg.diskstation.org!
Jun 03 10:36:48 conference.jitsi-holg.diskstation.org:muc_domain_mapper info    Loading mod_muc_domain_mapper for host localhost!
Jun 03 10:36:48 conference.jitsi-holg.diskstation.org:muc_domain_mapper info    Loading mod_muc_domain_mapper for host conference.jitsi-holg.diskstation.org!
Jun 03 10:36:48 conference.jitsi-holg.diskstation.org:muc_domain_mapper info    Loading mod_muc_domain_mapper for host internal.auth.jitsi-holg.diskstation.org!
Jun 03 10:36:48 general info    Starting speakerstats for conference.jitsi-holg.diskstation.org
Jun 03 10:36:48 speakerstats.jitsi-holg.diskstation.org:speakerstats_component  info    Hook to muc events on conference.jitsi-holg.diskstation.org
Jun 03 10:36:48 conference.jitsi-holg.diskstation.org:muc_domain_mapper info    Loading mod_muc_domain_mapper for host speakerstats.jitsi-holg.diskstation.org!
Jun 03 10:36:48 conference.jitsi-holg.diskstation.org:muc_domain_mapper info    Loading mod_muc_domain_mapper for host auth.jitsi-holg.diskstation.org!
Jun 03 10:36:48 general info    Starting conference duration timer for conference.jitsi-holg.diskstation.org
Jun 03 10:36:48 conferenceduration.jitsi-holg.diskstation.org:conference_duration_component     info    Hook to muc events on conference.jitsi-holg.diskstation.org
Jun 03 10:36:48 conference.jitsi-holg.diskstation.org:muc_domain_mapper info    Loading mod_muc_domain_mapper for host conferenceduration.jitsi-holg.diskstation.org!
Jun 03 10:36:51 conference.jitsi-holg.diskstation.org:muc_domain_mapper warn    Session filters applied
Jun 03 10:36:51 c2s558ec5c7a0   info    Client connected
Jun 03 10:36:51 c2s558ec5c7a0   info    Client disconnected: connection closed
Jun 03 10:36:52 conference.jitsi-holg.diskstation.org:muc_domain_mapper warn    Session filters applied
Jun 03 10:36:52 c2s558ea21ee0   info    Client connected
Jun 03 10:36:53 c2s558ea21ee0   info    Stream encrypted (TLSv1.2 with ECDHE-RSA-AES256-GCM-SHA384)
Jun 03 10:36:54 jcp558eb3df30   info    Incoming Jabber component connection
Jun 03 10:36:54 mod_component   info    Disconnecting component, <stream:error> is: <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>focus.ok does not match any configured external components</text></stream:error>
Jun 03 10:36:54 jcp558eb3df30   info    component disconnected: nil (false)
Jun 03 10:36:56 conference.jitsi-holg.diskstation.org:muc_domain_mapper warn    Session filters applied
Jun 03 10:36:56 c2s558ed4eb90   info    Client connected
Jun 03 10:36:56 c2s558ed4eb90   info    Client disconnected: connection closed
Jun 03 10:36:59 jcp558ede4af0   info    Incoming Jabber component connection
Jun 03 10:36:59 mod_component   info    Disconnecting component, <stream:error> is: <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>focus.ok does not match any configured external components</text></stream:error>
Jun 03 10:36:59 jcp558ede4af0   info    component disconnected: nil (false)
Jun 03 10:37:01 conference.jitsi-holg.diskstation.org:muc_domain_mapper warn    Session filters applied
Jun 03 10:37:01 c2s558ec7e800   info    Client connected
Jun 03 10:37:01 c2s558ec7e800   info    Client disconnected: connection closed
Jun 03 10:37:01 conference.jitsi-holg.diskstation.org:muc_domain_mapper warn    Session filters applied
Jun 03 10:37:01 c2s558eccfcf0   info    Client connected
Jun 03 10:37:01 c2s558eccfcf0   info    Client disconnected: connection closed
Jun 03 10:37:04 jcp558ec62e30   info    Incoming Jabber component connection
Jun 03 10:37:04 mod_component   info    Disconnecting component, <stream:error> is: <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>focus.ok does not match any configured external components</text></stream:error>
Jun 03 10:37:04 jcp558ec62e30   info    component disconnected: nil (false)
Jun 03 10:37:06 conference.jitsi-holg.diskstation.org:muc_domain_mapper warn    Session filters applied
Jun 03 10:37:06 c2s558edae960   info    Client connected
Jun 03 10:37:06 c2s558edae960   info    Client disconnected: connection closed
Jun 03 10:37:09 jcp558ebe67e0   info    Incoming Jabber component connection
Jun 03 10:37:09 mod_component   info    Disconnecting component, <stream:error> is: <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>focus.ok does not match any configured external components</text></stream:error>
Jun 03 10:37:09 jcp558ebe67e0   info    component disconnected: nil (false)
Jun 03 10:37:11 conference.jitsi-holg.diskstation.org:muc_domain_mapper warn    Session filters applied
Jun 03 10:37:11 c2s558ebee9d0   info    Client connected
Jun 03 10:37:11 c2s558ebee9d0   info    Client disconnected: connection closed
Jun 03 10:37:11 conference.jitsi-holg.diskstation.org:muc_domain_mapper warn    Session filters applied
Jun 03 10:37:11 c2s558ecd94c0   info    Client connected
Jun 03 10:37:11 c2s558ecd94c0   info    Client disconnected: connection closed
Jun 03 10:37:14 jcp558e9160d0   info    Incoming Jabber component connection
Jun 03 10:37:14 mod_component   info    Disconnecting component, <stream:error> is: <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>focus.ok does not match any configured external components</text></stream:error>
Jun 03 10:37:14 jcp558e9160d0   info    component disconnected: nil (false)
Jun 03 10:37:19 jcp558ec51980   info    Incoming Jabber component connection
Jun 03 10:37:19 mod_component   info    Disconnecting component, <stream:error> is: <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>focus.ok does not match any configured external components</text></stream:error>
Jun 03 10:37:19 jcp558ec51980   info    component disconnected: nil (false)
Jun 03 10:37:24 jcp558e6daba0   info    Incoming Jabber component connection
Jun 03 10:37:24 mod_component   info    Disconnecting component, <stream:error> is: <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>focus.ok does not match any configured external components</text></stream:error>
Jun 03 10:37:24 jcp558e6daba0   info    component disconnected: nil (false)
Jun 03 10:37:26 conference.jitsi-holg.diskstation.org:muc_domain_mapper warn    Session filters applied
Jun 03 10:37:26 c2s558ee24f50   info    Client connected
Jun 03 10:37:26 c2s558ee24f50   info    Client disconnected: connection closed
Jun 03 10:37:29 jcp558eb9ac90   info    Incoming Jabber component connection
Jun 03 10:37:29 mod_component   info    Disconnecting component, <stream:error> is: <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>focus.ok does not match any configured external components</text></stream:error>
Jun 03 10:37:29 jcp558eb9ac90   info    component disconnected: nil (false)
Jun 03 10:37:34 jcp558ec82670   info    Incoming Jabber component connection
Jun 03 10:37:34 mod_component   info    Disconnecting component, <stream:error> is: <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>focus.ok does not match any configured external components</text></stream:error>
Jun 03 10:37:34 jcp558ec82670   info    component disconnected: nil (false)
Jun 03 10:37:39 jcp558ee2a320   info    Incoming Jabber component connection
Jun 03 10:37:39 mod_component   info    Disconnecting component, <stream:error> is: <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>focus.ok does not match any configured external components</text></stream:error>
Jun 03 10:37:39 jcp558ee2a320   info    component disconnected: nil (false)
Jun 03 10:37:41 conference.jitsi-holg.diskstation.org:muc_domain_mapper warn    Session filters applied
Jun 03 10:37:41 c2s558ec361f0   info    Client connected
Jun 03 10:37:41 c2s558ec361f0   info    Client disconnected: connection closed
Jun 03 10:37:44 jcp558eca1230   info    Incoming Jabber component connection
Jun 03 10:37:44 mod_component   info    Disconnecting component, <stream:error> is: <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>focus.ok does not match any configured external components</text></stream:error>
Jun 03 10:37:44 jcp558eca1230   info    component disconnected: nil (false)
Jun 03 10:37:46 conference.jitsi-holg.diskstation.org:muc_domain_mapper warn    Session filters applied
Jun 03 10:37:46 c2s558ee2dfb0   info    Client connected
Jun 03 10:37:46 c2s558ee2dfb0   info    Client disconnected: connection closed
Jun 03 10:37:49 jcp558ec34ad0   info    Incoming Jabber component connection
Jun 03 10:37:49 mod_component   info    Disconnecting component, <stream:error> is: <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>focus.ok does not match any configured external components</text></stream:error>
Jun 03 10:37:49 jcp558ec34ad0   info    component disconnected: nil (false)

I can connect and I obtain the greeting-screen.
If I open a meeting then ist the same behavior.

I would be interested too in deb packages.

1 Like

Hello @tigerhiddenadam
I have this message in the jicofo.log

Jicofo 2020-06-06 13:11:16.828 INFORMATION: [11] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find jitsi-defaults.properties with class loader, will continue without it.
Jicofo 2020-06-06 13:11:16.830 INFORMATION: [11] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() Normal classloader
Jicofo 2020-06-06 13:11:16.831 INFORMATION: [11] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() failed to find jitsi-default-overrides.properties with class loader, will continue without it.
Jicofo 2020-06-06 13:11:16.916 INFORMATION: [11] util.NetworkUtils.<clinit>().117 java.net.preferIPv6Addresses=null
Jicofo 2020-06-06 13:11:16.916 INFORMATION: [11] util.NetworkUtils.<clinit>().118 java.net.preferIPv4Stack=null
Jicofo 2020-06-06 13:11:16.939 INFORMATION: [11] impl.netaddr.NetworkAddressManagerServiceImpl.start().92 Network Address Manager         ...[  STARTED ]
Jicofo 2020-06-06 13:11:16.940 INFORMATION: [11] impl.netaddr.NetworkAddressManagerServiceImpl.start().98 Network Address Manager Service ...[REGISTERED]
Jicofo 2020-06-06 13:11:16.956 INFORMATION: [11] org.jitsi.version.AbstractVersionActivator.log() VersionService registered: JiCoFo 1.0.566
Jicofo 2020-06-06 13:11:18.008 INFORMATION: [11] org.jitsi.jicofo.FocusBundleActivator.start().136 Max shared pool size: 1500
Jicofo 2020-06-06 13:11:18.015 INFORMATION: [11] org.jitsi.jicofo.JitsiMeetGlobalConfig.init().205 Automatically grant 'owner' role: true
Jicofo 2020-06-06 13:11:18.016 INFORMATION: [11] org.jitsi.jicofo.JitsiMeetGlobalConfig.init().218 Jibri requests in PENDING state will be timed out after: 90 seconds
Jicofo 2020-06-06 13:11:18.018 INFORMATION: [11] org.jitsi.jicofo.JitsiMeetGlobalConfig.init().231 Will attempt a maximum of 5 Jibri retries after failure
Jicofo 2020-06-06 13:11:18.018 INFORMATION: [11] org.jitsi.jicofo.JitsiMeetGlobalConfig.init().245 Lonely participants will be "terminated" after 20000 milliseconds
Jicofo 2020-06-06 13:11:18.374 WARNUNG: [11] org.jitsi.jicofo.FocusManager.log() No dedicated JVB MUC XMPP connection configured - falling back to the default XMPP connection
Jicofo 2020-06-06 13:11:18.389 INFORMATION: [11] org.jitsi.jicofo.bridge.BridgeSelector.log() Using org.jitsi.jicofo.bridge.SingleBridgeSelectionStrategy
Jicofo 2020-06-06 13:11:18.389 INFORMATION: [11] org.jitsi.jicofo.bridge.BridgeSelector.log() Bridge failure reset threshold: 300000
Jicofo 2020-06-06 13:11:18.390 INFORMATION: [11] org.jitsi.jicofo.bridge.BridgeSelector.log() Local region: null
Jicofo 2020-06-06 13:11:18.449 WARNUNG: [15] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.register().227 The always_trust config option is enabled. All XMPP server provided certificates are accepted.
Jicofo 2020-06-06 13:11:18.526 INFORMATION: [11] org.eclipse.jetty.util.log.initialized() Logging initialized @2597ms to org.eclipse.jetty.util.log.Slf4jLog
Jicofo 2020-06-06 13:11:18.813 SCHWERWIEGEND: [17] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect().303 Failed to connect/login: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve auth.ok</text></stream:error>
org.jivesoftware.smack.XMPPException$StreamErrorException: host-unknown You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
<stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text>This server does not serve auth.ok</text></stream:error>
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1059)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
        at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
        at java.lang.Thread.run(Thread.java:748)

Have you a idea for the reason? How and where is the configuration of the xmpp-Server?

Hi Holger2!

I think you need to re-setup Prosody. You can recreate the certificates and enter the passcodes in the correct places by following https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-manual. If Jitsi Meet is the only thing you have running that uses Prosody then you can try this:

sudo apt purge jicofo jitsi-* prosody
sudo apt autoremove

I should possibly add coturn to the list. Then you get rid of the residual config using

sudo rm /etc/jitsi -rf
sudo rm /etc/prosody -rf
sudo rm /var/log/jitsi -rf
sudo rm /var/log/prosody -rf

Then re-install Jitsi. You can get the stable packages from https://download.jitsi.org/stable/

mkdir jitsi-meet-deb
cd jitsi-meet-deb
wget https://download.jitsi.org/stable/jicofo_1.0-589-1_all.deb
wget https://download.jitsi.org/stable/jitsi-meet-prosody_1.0.4127-1_all.deb
wget https://download.jitsi.org/stable/jitsi-meet-web_1.0.4127-1_all.deb
wget https://download.jitsi.org/stable/jitsi-meet-web-config_1.0.4127-1_all.deb
wget https://download.jitsi.org/stable/jitsi-videobridge2_2.1-202-g5f9377b9-1_all.deb
sudo apt install ./*.deb

The copy your compiled version jniwrapper-native-1.0-SNAPSHOT back into Jitsi Meet. If you don’t have that anymore here is the full code to build and copy

sudo apt update
sudo apt install automake autoconf build-essential libtool git maven m4
git clone https://github.com/sctplab/usrsctp.git
git clone https://github.com/jitsi/jitsi-sctp
mv ./usrsctp ./jitsi-sctp/usrsctp/
cd ./jitsi-sctp
mvn package -DbuildSctp -DbuildNativeWrapper -DdeployNewJnilib -DskipTests
cp ./jniwrapper/native/target/libjnisctp-linux-aarch64.so \
 ./jniwrapper/native/src/main/resources/lib/linux/libjnisctp.so
mvn package
sudo cp ./jniwrapper/native/target/jniwrapper-native-1.0-SNAPSHOT.jar \
 /usr/share/jitsi-videobridge/lib/jniwrapper-native-1.0-SNAPSHOT.jar

You can delete the jitsi-meet-deb folder. I haven’t suggested using /tmp because sometimes there are execution restrictions.

Sorry for the late reply due to illness, but let me know what you think and how you get on. I have a proper Raspberry Pi 4B deb package in testing. It uses web sockets rather than prosody, I’ll keep you posted whether something comes of it.

Hi tigerhiddenadam
I have use your instructions and reinstall jitsi-meet.

I can open a meeting. it’s possible entry a second participant in the local network. But it have trouble for 3+.

The creating letsencrypt-certificat is out of order:

Certbot has problem setting up the virtual environment.

We were not be able to guess the right solution from your pip 
output.

I have use a old certificat and insert this in nginx.

The status of prosody is:

hn@jitsi:~/jitsi $ sudo systemctl status  prosody
● prosody.service - Prosody XMPP Server
   Loaded: loaded (/lib/systemd/system/prosody.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2020-06-07 13:42:49 CEST; 48s ago
     Docs: https://prosody.im/doc
 Main PID: 16067 (lua5.2)
    Tasks: 1 (limit: 4249)
   CGroup: /system.slice/prosody.service
           └─16067 lua5.2 /usr/bin/prosody

Jun 07 13:42:49 jitsi systemd[1]: Started Prosody XMPP Server.
Jun 07 13:42:50 jitsi prosody[16067]: portmanager: Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281
Jun 07 13:42:50 jitsi prosody[16067]: portmanager: Error binding encrypted port for https: No certificate present in SSL/TLS configuration for https port 5281