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


Jitsi instance:
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)

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,


You need to follow:
You are missing the settings about NAT_HARVESTER_LOCAL_ADDRESS and NAT_HARVESTER_PUBLIC_ADDRESS, your jvb advertises only its internal address:


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


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.


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


How can I configure and solve this problem?


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


I just saw the title so in azure it is the same - security groups


No, running on a public network server


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


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


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.