Cannot enable internal HTTP metrics on Ubuntu 18.04 (official installation guide)

When I try to enable the internal HTTP metrics Jitsi doesn’t work anymore: when 2 clients join a room they get “Unfortunately, something went wrong”.

Steps to reproduce


Install a clean Ubuntu 18.04 VM.

Follow the official installation instructions at: https://jitsi.org/downloads/

wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | sudo apt-key add -
sudo sh -c "echo 'deb https://download.jitsi.org stable/' > /etc/apt/sources.list.d/jitsi-stable.list"
sudo apt-get -y update
sudo apt-get -y install jitsi-meet

Try to join a room with 2 users: it’s working!

Now:

Add JVB_OPTS="--apis=rest,colibri" in /etc/jitsi/videobridge/config

and

org.jitsi.videobridge.ENABLE_STATISTICS=true
org.jitsi.videobridge.STATISTICS_TRANSPORT=muc,colibri
org.jitsi.videobridge.STATISTICS_INTERVAL=5000

in /etc/jitsi/videobridge/sip-communicator.properties

restart jicofo and jitsi (or reboot the machine).

Now when you join a room with at least 2 users, you have an error.

In the logs:

Jicofo 2020-03-15 17:53:51.941 SEVERE: [29] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Can not invite participant -- no bridge available.
1 Like

This should be --apis=rest,xmpp

Then restart jvb and then restart jicofo.

@damencho it works! Thanks!!