Self Hosted on Azure VM - conference disconnected (no Audio/Video) after several seconds


#1

Jitsi instance: https://evijitsi.southeastasia.cloudapp.azure.com
VM Spec: Azure F4s V2 (4 cores, 8GB RAM)
Azure Network Security config:
Inbound allows destination ports: 443 (tcp), 10000-20000 (udp)
Outbound allows destination ports: 10000-20000 (udp)
Logs:
https://www.dropbox.com/sh/nvm42v8vqcnu1jm/AAAd4thUFOkkTTckIL9A03_1a?dl=0

Description:
User A created a conference and then invite user B. When user B joined they can see and listen each other but then after a few seconds:

  1. On user A’s screen user B just disappear
  2. On user B’s screen user A just disappear

I saw an error on browser console log:
Logger.js:125 [conference.js] <e.value>: CONFERENCE FAILED: conference.setup_failed Error: ICE fail
at r.peerconnection.oniceconnectionstatechange (JingleSessionPC.js:479)
at RTCPeerConnection.peerconnection.oniceconnectionstatechange (TraceablePeerConnection.js:252)

Please advise,
Thanks


#2

You need to follow: https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md#advanced-configuration
You are missing the settings about NAT_HARVESTER_LOCAL_ADDRESS and NAT_HARVESTER_PUBLIC_ADDRESS, your jvb advertises only its internal address:


#3

Thanks a lot @damencho ! Looks like it’s working now :grinning:


#4

I encountered the same problem, and NAT_HARVESTER_LOCAL_ADDRESS and NAT_HARVESTER_PUBLIC_ADDRESS were set, and the CONFERENCE FAILED: CONFERENCE setup_failed Error: ICE fail still appeared.


#5

If those are set correctly, then port forwarding is not working.


#6

How can I configure and solve this problem?


#7

Whet is your vm running?
In aws this is done using security groups.


#8

I just saw the title so in azure it is the same - security groups https://docs.microsoft.com/en-us/azure/virtual-machines/windows/nsg-quickstart-portal


#9

No, running on a public network server


#10

And you see the public address in the output of ifconfig?


#11

%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20181114100506Display is the Intranet address, do not see the public address


#12

This means your vm or machine is behind NAT and you need to take care of the forwarding. I don’t know your provider, but if you don’t know how to do it contact your machine or vm provider and ask about it.