Failed to restart jitsi-videobridge.service: Unit jitsi-videobridge.service is masked

Dear All,

I have today installed Jitsi-Meet on my Debian10 (testing) laptop according to your excellent video:

I am behind NAT, installed & use DDNS from duckdns.org, port forwarding (80, 443, 10000-20000).

also added in sip-communicator.properties:
org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=10.0.0.7
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=xx.xxx.xx.xx [private IP]

Everything went smoothly, in the intranet I can start Jitsi Meet from Debian laptop, my Macbook and also can reach the server from outside via the Jitsi Meet mobile app.

However, after adding a 2nd participant the process stops and loops with “Unfortunately, something went wrong”

checking several times the Chromium console I found this error, which hopefully contains major issue:

Logger.js:154 2020-03-29T12:56:43.631Z [conference.js] <X._onConferenceFailed>: CONFERENCE FAILED: conference.videobridgeNotAvailable

Found in Jitsi forum the command to (re)start jvb, however no success:

sudo systemctl restart jitsi-videobridge
Failed to restart jitsi-videobridge.service: Unit jitsi-videobridge.service is masked.

Any ideas?

1 Like

Hi,

I think I recall having the same problem last week when I built a server on-prem (which I’ve subsequently moved to the cloud so I didn’t need to worry about NAT!). If I remember properly I had to add this config too:

org.jitsi.videobridge.TCP_HARVESTER_PORT=4443

I could be wrong though - I didn’t make notes. My bad :frowning:

Thanks

Steve

Hi Steve,
Many thanks for prompt reply and suggestion!
Unfortunately no change, still same error about not available videobridge in the console.

checking with:
systemctl list-unit-files

revealed that there are two videobridge services:
jitsi.videobridge.service (masked)
jitsi.videobridge2.service (enabled)

the one masked is targeted by the restart command.

and also a masked jvb.service:
jvb.service (masked)

is that correct? if not how to fix?

Just use the jitsi-videobridge2 service

Dear Boris, thx for reply!

restarting videobrige2 did not change anything, even when trying everything in intranet (laptop-server via LAN cable, 2nd laptop via WLAN):

accessing jitsi meet on server-laptop is normal (jitsi meet website, local video), however console already shows 1 error and 4 warnings :

1 red Error:

Logger.js:154 2020-03-30T20:02:11.560Z [features/analytics] Error: No analytics handlers created!

  • at functions.js:100*

4 yellow warnings:
LocalStatsCollector.js:22 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu

Logger.js:154 2020-03-30T20:02:11.550Z [modules/UI/videolayout/VideoLayout.js] <Object.changeUserAvatar>: Missed avatar update - no small video yet for undefined

Logger.js:154 2020-03-30T20:02:11.560Z [modules/statistics/AnalyticsAdapter.js] <e.value>: Disposing of analytics adapter.

Logger.js:154 2020-03-30T20:02:12.194Z [modules/xmpp/XmppConnection.js] <t.value>: Stream resume enabled, but WebSockets are not enabled

If I access session with 2nd participant (WLAN) the screen blackout out with error message and tries to re-connect in a loop, following error on laptop server:

red error:
VM25 app.bundle.min.js:126 2020-03-30T20:18:29.314Z [conference.js] <X._onConferenceFailed>: CONFERENCE FAILED: conference.videobridgeNotAvailable

yellow warnings:
VM25 app.bundle.min.js:126 2020-03-30T20:18:29.379Z [modules/UI/videolayout/VideoLayout.js] <Object.removeParticipantContainer>: No remote video for d74761a3

VM24 lib-jitsi-meet.min.js:10 2020-03-30T20:18:29.386Z [modules/xmpp/strophe.util.js] <Object.i.Strophe.log>: Strophe: Disconnect was called because: undefined

VM24 lib-jitsi-meet.min.js:10 2020-03-30T20:18:57.328Z [modules/xmpp/strophe.util.js] <Object.i.Strophe.log>: Strophe: Disconnect was called because: undefined

VM24 lib-jitsi-meet.min.js:10 2020-03-30T20:18:57.330Z [modules/xmpp/strophe.util.js] <Object.i.Strophe.log>: Strophe: Disconnect was called before Strophe connected to the server

VM49 app.bundle.min.js:126 2020-03-30T20:18:57.851Z [modules/UI/videolayout/VideoLayout.js] <Object.changeUserAvatar>: Missed avatar update - no small video yet for undefined

so restarting videobridge did not introduce a change with the error.

any help would be highly appreciated…