Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot enable internal HTTP metrics on Ubuntu 18.04 apt package #5185

Closed
tapionx opened this issue Mar 16, 2020 · 2 comments
Closed

cannot enable internal HTTP metrics on Ubuntu 18.04 apt package #5185

tapionx opened this issue Mar 16, 2020 · 2 comments

Comments

@tapionx
Copy link

tapionx commented Mar 16, 2020

Description


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".

Current behavior


When i 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

and restart the services jicofo and jitsi, people cannot join rooms and they get a "Unfortunately, something went wrong" error.

Expected Behavior


I would like to expose JitsI metrics and scrape them with Prometheus without breaking Jitsi and allowing people to use it.

Possible Solution


I need someone who can inspect the logs and find a solution.

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.

Environment details


@damencho
Copy link
Member

Please use the community forum when having problems or questions before opening new issues.

Restart and jvb and then jicofo and see how it goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants