Scaling Jitsi

Posted on  by admin

Hi,
I’m setting up a Jitsi Docker server which handle multiple video conference at a time, for that I’m planning to scale up jvb by adding another video bridge(would that help my requirement?). For testing I setup jitsi in my local server say 192.168.3.41. The steps I followed is,
1, Created a jitsi-docker setup by following https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-docker.
Using my server IP 192.168.3.41:8443 I can browse the jitsi-meet.

  1. Scaling Jitsi Videobridge
  2. Scaling Jitsi Meet In The Cloud

Jitsi uses the term 'shard' to describe the composition that contains single containers for web, jicofo, prosody and multiple containers of jvb running in parallel. The following diagram depicts this setup: In this setup the videobridges can be scaled up and down depending on the current load (number of video conferences and participants). Scaling Jitsi Meet Depending on which resources are available on the server, the number of participants with activated video at Jitsi Meet can range between 15 and 20. If you want to use Jitsi Meet for a larger group, several servers should be set up.

2, Then, I created a another JVB, say jvb2 by copying jitsi video bridge part from docker-compose. So the docker compose for jvb2 is like,

version: ‘3’
services:
jvb2:
image: jitsi/jvb:latest
restart: {RESTART_POLICY} ports: - '{JVB_PORT}:{JVB_PORT}/udp' - '{JVB_TCP_PORT}:{JVB_TCP_PORT}' volumes: - {CONFIG}/jvb:/config:Z
environment:
- DOCKER_HOST_ADDRESS
- XMPP_AUTH_DOMAIN
- XMPP_INTERNAL_MUC_DOMAIN
- XMPP_SERVER
- JVB_AUTH_USER
- JVB_AUTH_PASSWORD
- JVB_BREWERY_MUC
- JVB_PORT
- JVB_TCP_HARVESTER_DISABLED
- JVB_TCP_PORT
- JVB_STUN_SERVERS
- JVB_ENABLE_APIS
- TZ
networks:
meet.jitsi:
networks:
meet.jitsi:

For adding jvb2, In my primary prosody, I added the line
prosodyctl --config $PROSODY_CFG register JVB2 $XMPP_AUTH_DOMAIN $JVB_AUTH_PASSWORD

When I trying to up the second jvb(jvb2) I’m getting the following error,

jvb2_1 [s6-init] making user provided files available at /var/run/s6/etc…exited 0.
jvb2_1 [s6-init] ensuring user provided files have correct perms…exited 0.
jvb2_1 [fix-attrs.d] applying ownership & permissions fixes…
jvb2_1 [fix-attrs.d] done.
jvb2_1 [cont-init.d] executing container initialization scripts…
jvb2_1 [cont-init.d] 01-set-timezone: executing…
jvb2_1 [cont-init.d] 01-set-timezone: exited 0.
jvb2_1 [cont-init.d] 10-config: executing…
jvb2_1 [cont-init.d] 10-config: exited 0.
jvb2_1 [cont-init.d] done.
jvb2_1 [services.d] starting services
jvb2_1 [services.d] done.
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Loaded NewConfig with origin: merge of system properties,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-155-gb6af7e9.jar!/reference.conf: 1
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Attempting to load legacy config file at path /, config, sip-communicator.properties
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Attempting to load legacy config file at path /, config, sip-communicator.properties
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Reloading.
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Loaded NewConfig with origin: merge of system properties,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-155-gb6af7e9.jar!/reference.conf: 1
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Attempting to load legacy config file at path /, config, sip-communicator.properties
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Attempting to load legacy config file at path /, config, sip-communicator.properties
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Registered the LegacyConfigurationServiceShim in OSGi.
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging.LoggerImpl log
jvb2_1 INFO: VersionService registered: JVB 2.1.202-g5f9377b9
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging.LoggerImpl log
jvb2_1 INFO: Not starting the Jetty service for org.jitsi.videobridge.rest.RESTBundleActivator(port=8080)
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging.LoggerImpl log
jvb2_1 INFO: Not starting the Jetty service for org.jitsi.videobridge.websocket.WebSocketBundleActivator(port=-1)
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 WARNING: Running with open files limit 1048576 (hard 1048576), thread limit null (hard null). These values are too low and they will limit the number of participants that the bridge can serve simultaneously.
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Starting with 60 second interval.
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 WARNING: No authorized source regexp configured. Will accept requests from any source.
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Reloading.
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Loaded NewConfig with origin: merge of system properties,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-155-gb6af7e9.jar!/reference.conf: 1
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Attempting to load legacy config file at path /, config, sip-communicator.properties
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Attempting to load legacy config file at path /, config, sip-communicator.properties
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Started with interval=10000, timeout=PT30S, maxDuration=PT3S, stickyFailures=false.
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Octo relay is disabled
jvb2_1 Jul 17, 2020 4:52:12 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 WARNING: Disabling certificate verification!
jvb2_1 Jul 17, 2020 4:52:13 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 WARNING: [MucClient id=shard hostname=xmpp.meet.jitsi] error connecting
jvb2_1 org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘xmpp.meet.jitsi:5222’ failed because: java.net.UnknownHostException: xmpp.meet.jitsi: Name or service not known
jvb2_1 at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.java:278)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:619)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:902)
jvb2_1 at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:383)
jvb2_1 at org.jitsi.xmpp.mucclient.MucClient.lambda$getConnectAndLoginCallable$7(MucClient.java:638)
jvb2_1 at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
jvb2_1 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
jvb2_1 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
jvb2_1 at java.lang.Thread.run(Thread.java:748)
jvb2_1
jvb2_1 Jul 17, 2020 4:52:13 AM org.ice4j.ice.harvest.StunMappingCandidateHarvester discover
jvb2_1 INFO: Discovered public address 119.82.111.26:56858/udp from STUN server 140.238.252.195:443/udp using local address 192.168.240.2:0/udp
jvb2_1 Jul 17, 2020 4:52:13 AM org.ice4j.ice.harvest.MappingCandidateHarvesters initialize
jvb2_1 INFO: Using org.ice4j.ice.harvest.StunMappingCandidateHarvester, face=/192.168.240.2, mask=/119.82.111.26
jvb2_1 Jul 17, 2020 4:52:13 AM org.ice4j.ice.harvest.MappingCandidateHarvesters initialize
jvb2_1 INFO: Initialized mapping harvesters (delay=750ms). stunDiscoveryFailed=false
jvb2_1 Jul 17, 2020 4:52:18 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 WARNING: [MucClient id=shard hostname=xmpp.meet.jitsi] error connecting
jvb2_1 org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘xmpp.meet.jitsi:5222’ failed because: java.net.UnknownHostException: xmpp.meet.jitsi
jvb2_1 at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.java:278)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:619)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:902)
jvb2_1 at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:383)
jvb2_1 at org.jitsi.xmpp.mucclient.MucClient.lambda$getConnectAndLoginCallable$7(MucClient.java:638)
jvb2_1 at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
jvb2_1 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
jvb2_1 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
jvb2_1 at java.lang.Thread.run(Thread.java:748)
jvb2_1
jvb2_1 Jul 17, 2020 4:52:22 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: create_conf, id=edf7bd10e5427797 gid=null logging=false
jvb2_1 Jul 17, 2020 4:52:22 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: TaskPools detected 4 processors, creating the CPU pool with that many threads
jvb2_1 Jul 17, 2020 4:52:23 AM org.ice4j.ice.harvest.AbstractUdpListener
jvb2_1 INFO: Initialized AbstractUdpListener with address 192.168.240.2:10001/udp. Receive buffer size 212992 (asked for 10485760)
jvb2_1 Jul 17, 2020 4:52:23 AM org.ice4j.ice.harvest.SinglePortUdpHarvester
jvb2_1 INFO: Initialized SinglePortUdpHarvester with address 192.168.240.2:10001/udp
jvb2_1 Jul 17, 2020 4:52:23 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 WARNING: [MucClient id=shard hostname=xmpp.meet.jitsi] error connecting
jvb2_1 org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘xmpp.meet.jitsi:5222’ failed because: java.net.UnknownHostException: xmpp.meet.jitsi: Name or service not known
jvb2_1 at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.java:278)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:619)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:902)
jvb2_1 at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:383)
jvb2_1 at org.jitsi.xmpp.mucclient.MucClient.lambda$getConnectAndLoginCallable$7(MucClient.java:638)
jvb2_1 at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
jvb2_1 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
jvb2_1 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
jvb2_1 at java.lang.Thread.run(Thread.java:748)
jvb2_1
jvb2_1 SCTP JNI load: Linux OS detected
jvb2_1 SCTP lib loaded
jvb2_1 >: org_jitsi_modified_sctp4j_SctpJni.c calling init
jvb2_1 >: org_jitsi_modified_sctp4j_SctpJni.c about to set SCTP_DEBUG_ALL
jvb2_1 Jul 17, 2020 4:52:24 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Performed a successful health check in PT1.116S. Sticky failure: false
Killing jvbdocker_jvb2_1 … done
[email protected]:/home/amt/jitsi/jitsi-meet/docker-jitsi-meet/jvb-docker# docker-compose up
Starting jvbdocker_jvb2_1 … done
Attaching to jvbdocker_jvb2_1
jvb2_1 [s6-init] making user provided files available at /var/run/s6/etc…exited 0.
jvb2_1 [s6-init] ensuring user provided files have correct perms…exited 0.
jvb2_1 [fix-attrs.d] applying ownership & permissions fixes…
jvb2_1 [fix-attrs.d] done.
jvb2_1 [cont-init.d] executing container initialization scripts…
jvb2_1 [cont-init.d] 01-set-timezone: executing…
jvb2_1 [cont-init.d] 01-set-timezone: exited 0.
jvb2_1 [cont-init.d] 10-config: executing…
jvb2_1 [cont-init.d] 10-config: exited 0.
jvb2_1 [cont-init.d] done.
jvb2_1 [services.d] starting services
jvb2_1 [services.d] done.
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Loaded NewConfig with origin: merge of system properties,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-155-gb6af7e9.jar!/reference.conf: 1
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Attempting to load legacy config file at path /, config, sip-communicator.properties
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Attempting to load legacy config file at path /, config, sip-communicator.properties
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Reloading.
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Loaded NewConfig with origin: merge of system properties,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-155-gb6af7e9.jar!/reference.conf: 1
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Attempting to load legacy config file at path /, config, sip-communicator.properties
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Attempting to load legacy config file at path /, config, sip-communicator.properties
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Registered the LegacyConfigurationServiceShim in OSGi.
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging.LoggerImpl log
jvb2_1 INFO: VersionService registered: JVB 2.1.202-g5f9377b9
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging.LoggerImpl log
jvb2_1 INFO: Not starting the Jetty service for org.jitsi.videobridge.rest.RESTBundleActivator(port=8080)
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging.LoggerImpl log
jvb2_1 INFO: Not starting the Jetty service for org.jitsi.videobridge.websocket.WebSocketBundleActivator(port=-1)
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 WARNING: Running with open files limit 1048576 (hard 1048576), thread limit null (hard null). These values are too low and they will limit the number of participants that the bridge can serve simultaneously.
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Starting with 60 second interval.
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 WARNING: No authorized source regexp configured. Will accept requests from any source.
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Reloading.
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Loaded NewConfig with origin: merge of system properties,system properties,reference.conf @ jar:file:/usr/share/jitsi-videobridge/jitsi-videobridge.jar!/reference.conf: 1,reference.conf @ jar:file:/usr/share/jitsi-videobridge/lib/jitsi-media-transform-1.0-155-gb6af7e9.jar!/reference.conf: 1
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Attempting to load legacy config file at path /, config, sip-communicator.properties
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Attempting to load legacy config file at path /, config, sip-communicator.properties
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Started with interval=10000, timeout=PT30S, maxDuration=PT3S, stickyFailures=false.
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Octo relay is disabled
jvb2_1 Jul 17, 2020 4:52:32 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 WARNING: Disabling certificate verification!
jvb2_1 Jul 17, 2020 4:52:33 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 WARNING: [MucClient id=shard hostname=xmpp.meet.jitsi] error connecting
jvb2_1 org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘xmpp.meet.jitsi:5222’ failed because: java.net.UnknownHostException: xmpp.meet.jitsi: Name or service not known
jvb2_1 at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.java:278)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:619)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:902)
jvb2_1 at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:383)
jvb2_1 at org.jitsi.xmpp.mucclient.MucClient.lambda$getConnectAndLoginCallable$7(MucClient.java:638)
jvb2_1 at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
jvb2_1 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
jvb2_1 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
jvb2_1 at java.lang.Thread.run(Thread.java:748)
jvb2_1
jvb2_1 Jul 17, 2020 4:52:33 AM org.ice4j.ice.harvest.StunMappingCandidateHarvester discover
jvb2_1 INFO: Discovered public address 106.51.64.70:47467/udp from STUN server 152.67.28.54:443/udp using local address 192.168.240.2:0/udp
jvb2_1 Jul 17, 2020 4:52:33 AM org.ice4j.ice.harvest.MappingCandidateHarvesters initialize
jvb2_1 INFO: Using org.ice4j.ice.harvest.StunMappingCandidateHarvester, face=/192.168.240.2, mask=/106.51.64.70
jvb2_1 Jul 17, 2020 4:52:33 AM org.ice4j.ice.harvest.MappingCandidateHarvesters initialize
jvb2_1 INFO: Initialized mapping harvesters (delay=648ms). stunDiscoveryFailed=false
jvb2_1 Jul 17, 2020 4:52:38 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 WARNING: [MucClient id=shard hostname=xmpp.meet.jitsi] error connecting
jvb2_1 org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘xmpp.meet.jitsi:5222’ failed because: java.net.UnknownHostException: xmpp.meet.jitsi
jvb2_1 at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.java:278)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:619)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:902)
jvb2_1 at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:383)
jvb2_1 at org.jitsi.xmpp.mucclient.MucClient.lambda$getConnectAndLoginCallable$7(MucClient.java:638)
jvb2_1 at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
jvb2_1 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
jvb2_1 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
jvb2_1 at java.lang.Thread.run(Thread.java:748)
jvb2_1
jvb2_1 Jul 17, 2020 4:52:42 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: create_conf, id=9955958f0476c69a gid=null logging=false
jvb2_1 Jul 17, 2020 4:52:42 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: TaskPools detected 4 processors, creating the CPU pool with that many threads
jvb2_1 Jul 17, 2020 4:52:42 AM org.ice4j.ice.harvest.AbstractUdpListener
jvb2_1 INFO: Initialized AbstractUdpListener with address 192.168.240.2:10001/udp. Receive buffer size 212992 (asked for 10485760)
jvb2_1 Jul 17, 2020 4:52:42 AM org.ice4j.ice.harvest.SinglePortUdpHarvester
jvb2_1 INFO: Initialized SinglePortUdpHarvester with address 192.168.240.2:10001/udp
jvb2_1 Jul 17, 2020 4:52:43 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 WARNING: [MucClient id=shard hostname=xmpp.meet.jitsi] error connecting
jvb2_1 org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘xmpp.meet.jitsi:5222’ failed because: java.net.UnknownHostException: xmpp.meet.jitsi: Name or service not known
jvb2_1 at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.java:278)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:619)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:902)
jvb2_1 at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:383)
jvb2_1 at org.jitsi.xmpp.mucclient.MucClient.lambda$getConnectAndLoginCallable$7(MucClient.java:638)
jvb2_1 at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
jvb2_1 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
jvb2_1 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
jvb2_1 at java.lang.Thread.run(Thread.java:748)
jvb2_1
jvb2_1 SCTP JNI load: Linux OS detected
jvb2_1 SCTP lib loaded
jvb2_1 >: org_jitsi_modified_sctp4j_SctpJni.c calling init
jvb2_1 >: org_jitsi_modified_sctp4j_SctpJni.c about to set SCTP_DEBUG_ALL
jvb2_1 Jul 17, 2020 4:52:44 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Performed a successful health check in PT1.25S. Sticky failure: false
jvb2_1 Jul 17, 2020 4:52:48 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 WARNING: [MucClient id=shard hostname=xmpp.meet.jitsi] error connecting
jvb2_1 org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘xmpp.meet.jitsi:5222’ failed because: java.net.UnknownHostException: xmpp.meet.jitsi
jvb2_1 at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.java:278)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:619)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:902)
jvb2_1 at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:383)
jvb2_1 at org.jitsi.xmpp.mucclient.MucClient.lambda$getConnectAndLoginCallable$7(MucClient.java:638)
jvb2_1 at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
jvb2_1 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
jvb2_1 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
jvb2_1 at java.lang.Thread.run(Thread.java:748)
jvb2_1
jvb2_1 Jul 17, 2020 4:52:52 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: create_conf, id=8cc9f912dd506eee gid=null logging=false
jvb2_1 Jul 17, 2020 4:52:52 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 INFO: Performed a successful health check in PT0.024S. Sticky failure: false
jvb2_1 Jul 17, 2020 4:52:53 AM org.jitsi.utils.logging2.LoggerImpl log
jvb2_1 WARNING: [MucClient id=shard hostname=xmpp.meet.jitsi] error connecting
jvb2_1 org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: ‘xmpp.meet.jitsi:5222’ failed because: java.net.UnknownHostException: xmpp.meet.jitsi: Name or service not known
jvb2_1 at org.jivesoftware.smack.SmackException$ConnectionException.from(SmackException.java:278)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:619)
jvb2_1 at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:902)
jvb2_1 at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:383)
jvb2_1 at org.jitsi.xmpp.mucclient.MucClient.lambda$getConnectAndLoginCallable$7(MucClient.java:638)
jvb2_1 at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
jvb2_1 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
jvb2_1 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
jvb2_1 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
jvb2_1 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
jvb2_1 at java.lang.Thread.run(Thread.java:748)e

Can anyone help me to achieve my goal

Jitsi and Docker Overview

Jitsi Meet is an open source video conferencing service solution providing fully encrypted and secure high quality and audio without subscription or the need to create an account. The solution can either be installed natively on Ubuntu Bionic Beaver (18.04 LTS) and Debian Buster. Another way to install it, is using a containerized application running on Docker.

This tutorial explains how to install the Jitsi Meet solution on a virtual cloud instance using the Docker Image provided by the Jitsi team, allowing you to deploy your personal Jitsi Meet video conferencing solution in a few easy steps. It is based on a Debian stable base installation and provides all additional modules availabe for Jitsi like Etherpad or jigasi, a gateway allowing SIP connections to the Jitsi Meet instance.

Requirements

  • You have an account and are logged into console.scaleway.com
  • You have configured your SSH Key
  • You have a Scaleway Elements Instance running Ubuntu Bionic Beaver (18.04 LTS)
  • You have installed Docker on the instance
  • For best performances of Jitsi Meet, an instance with at least 4GB RAM is recommended
  • You have a domain or subdomain pointed to your Instance
Scaling Jitsi

Setting Up the Solution

1 . Connect to your Scaleway Elements Instance using SSH.

2 . Update the packet cache and upgrade the software already installed on the instance using the apt packet manager:

3 . Install Docker, for more detailed instructions, follow our dedicated tutorial:

4 . Clone the Docker Jitsi Meet repository using git and cd into the downloaded directory:

Scaling

5 . Copy the env.example file to create a environment (.env) configugration and create the required configuration directories:

6 . Open the .env file in a text editor and edit the basic settings as following:

7 . If you run a firewall on your instance or have configured a stateful cloud firewall using security groups, make sure that the following ports are open:

  • 80/tcp for Web UI HTTP (for redirections, after uncommenting ENABLE_HTTP_REDIRECT=1 in .env)
  • 443/tcp for Web UI HTTPS
  • 4443/tcp for RTP media over TCP
  • 10000/udp for RTP media over UDP

8 . Run docker-compose up -d to download and launch the application.

Download

Note: If you want to use the Etherpad option with Jisi Meet, configure the Etherpad section in the .env file and start the docker container as following: docker-compose -f docker-compose.yml -f etherpad.yml up

Connecting to the Instance

1 . Open a web browser on your local computer and access the web UI at https://<public_instance_ip>/. The Jitsi Meet login screen displays:

Scaling jitsi test

Scaling Jitsi Videobridge

Enter a name for your conference and press Go to enter the conference room. It is now possible to share the link, to set a password, configure the audio and video quality and more for the conference.

2 . Happy conferencing :)

Scaling Jitsi Meet In The Cloud

For more information concerning the Jitsi Meet Docker image, refer to the official documentation.