[jitsi-users] No Video and Audio on my server


#1

Hi there!

I'm running Jitsi within my docker container. When I run the container
locally, all seems to work just fine. I connect with tow browsers and I
can hear the audio and see the other video just fine.

However when I run this stuff on my remote server and perform the same
test, I do have no audio and video at all. I disabled the firewall, I
also additionally completely purged the iptables, however still no
success: Still no audio and video.

I'm wondering why this is not working on my server. I checked the logs,
but the 'only' suspicious output I found was this one:

jitsi_1 | JVB 2017-01-26 13:45:45.101 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 10.1.10.9:50414/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.122 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.25.0.1:52253/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.142 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.24.0.1:42397/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.163 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 10.1.40.18:46246/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.184 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 192.168.122.1:55730/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.205 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.21.0.1:52246/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.227 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.28.0.1:59284/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.249 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.26.0.1:58901/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.270 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.23.0.1:35380/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.292 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.19.0.1:60102/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.313 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.22.0.1:46675/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.335 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.20.0.1:41047/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.357 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 192.168.42.1:57334/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.383 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.17.0.1:49593/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.405 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.27.0.1:53306/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.427 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.29.0.1:40402/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.448 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.30.0.1:44536/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.470 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 10.1.0.200:45679/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.501 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.18.5.200:48449/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.523 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 10.9.0.2:40293/udp/host (stream.RTP)

If there are any hints what I can still check/test, please just let me know!

best

Martin


#2

You need to add these to the sip-communicator.properties of the JVB:

org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=<< your container IP >>
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=<< your JVB public IP >>

These are deprecated, but try these old settings in case the first ones
don't work:
org.jitsi.videobridge.NAT_HARVESTER_LOCAL_ADDRESS=<< your container IP >>
org.jitsi.videobridge.NAT_HARVESTER_PUBLIC_ADDRESS=<< your JVB public IP >>

I don't completely remember if this works every time, but the << your
container IP >> can be your container name, then Docker DNS Resolver will
handle it.

···

On Thu, Jan 26, 2017 at 12:03 PM, Martin Kammerlander < martin.kammerlander@gmail.com> wrote:

Hi there!

I'm running Jitsi within my docker container. When I run the container
locally, all seems to work just fine. I connect with tow browsers and I can
hear the audio and see the other video just fine.

However when I run this stuff on my remote server and perform the same
test, I do have no audio and video at all. I disabled the firewall, I also
additionally completely purged the iptables, however still no success:
Still no audio and video.

I'm wondering why this is not working on my server. I checked the logs,
but the 'only' suspicious output I found was this one:

jitsi_1 | JVB 2017-01-26 13:45:45.101 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 10.1.10.9:50414/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.122 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.25.0.1:52253/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.142 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.24.0.1:42397/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.163 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 10.1.40.18:46246/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.184 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 192.168.122.1:55730/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.205 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.21.0.1:52246/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.227 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.28.0.1:59284/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.249 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.26.0.1:58901/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.270 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.23.0.1:35380/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.292 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.19.0.1:60102/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.313 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.22.0.1:46675/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.335 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.20.0.1:41047/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.357 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 192.168.42.1:57334/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.383 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.17.0.1:49593/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.405 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.27.0.1:53306/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.427 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.29.0.1:40402/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.448 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.30.0.1:44536/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.470 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 10.1.0.200:45679/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.501 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 172.18.5.200:48449/udp/host (stream.RTP)
jitsi_1 | JVB 2017-01-26 13:45:45.523 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host -> 10.9.0.2:40293/udp/host (stream.RTP)

If there are any hints what I can still check/test, please just let me
know!

best

Martin

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3

Hello Camilo,

I can confirm that this works! Awesome!! Thank you very much!
For the local address I did use the "container name" as you suggested
and this works too.
The old and deprecated values I did not need to set at all with my version.

In case anyone else reads this at a later point, there are two files
that have the same name:

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

The latter one the videobridge (JVB) is the correct one!

best
Martin

···

On 2017-01-26 16:15, Camilo wrote:

You need to add these to the sip-communicator.properties of the JVB:

org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=<< your container IP >>
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=<< your JVB public
IP >>

These are deprecated, but try these old settings in case the first
ones don't work:
org.jitsi.videobridge.NAT_HARVESTER_LOCAL_ADDRESS=<< your container IP >>
org.jitsi.videobridge.NAT_HARVESTER_PUBLIC_ADDRESS=<< your JVB public
IP >>

I don't completely remember if this works every time, but the << your
container IP >> can be your container name, then Docker DNS Resolver
will handle it.

On Thu, Jan 26, 2017 at 12:03 PM, Martin Kammerlander > <martin.kammerlander@gmail.com <mailto:martin.kammerlander@gmail.com>> > wrote:

    Hi there!

    I'm running Jitsi within my docker container. When I run the
    container locally, all seems to work just fine. I connect with tow
    browsers and I can hear the audio and see the other video just fine.

    However when I run this stuff on my remote server and perform the
    same test, I do have no audio and video at all. I disabled the
    firewall, I also additionally completely purged the iptables,
    however still no success: Still no audio and video.

    I'm wondering why this is not working on my server. I checked the
    logs, but the 'only' suspicious output I found was this one:

    jitsi_1 | JVB 2017-01-26 13:45:45.101 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 10.1.10.9:50414/udp/host <http://10.1.10.9:50414/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.122 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 172.25.0.1:52253/udp/host <http://172.25.0.1:52253/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.142 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 172.24.0.1:42397/udp/host <http://172.24.0.1:42397/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.163 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 10.1.40.18:46246/udp/host <http://10.1.40.18:46246/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.184 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 192.168.122.1:55730/udp/host <http://192.168.122.1:55730/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.205 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 172.21.0.1:52246/udp/host <http://172.21.0.1:52246/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.227 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 172.28.0.1:59284/udp/host <http://172.28.0.1:59284/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.249 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 172.26.0.1:58901/udp/host <http://172.26.0.1:58901/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.270 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 172.23.0.1:35380/udp/host <http://172.23.0.1:35380/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.292 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 172.19.0.1:60102/udp/host <http://172.19.0.1:60102/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.313 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 172.22.0.1:46675/udp/host <http://172.22.0.1:46675/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.335 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 172.20.0.1:41047/udp/host <http://172.20.0.1:41047/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.357 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 192.168.42.1:57334/udp/host <http://192.168.42.1:57334/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.383 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 172.17.0.1:49593/udp/host <http://172.17.0.1:49593/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.405 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 172.27.0.1:53306/udp/host <http://172.27.0.1:53306/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.427 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 172.29.0.1:40402/udp/host <http://172.29.0.1:40402/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.448 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 172.30.0.1:44536/udp/host <http://172.30.0.1:44536/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.470 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 10.1.0.200:45679/udp/host <http://10.1.0.200:45679/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.501 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 172.18.5.200:48449/udp/host <http://172.18.5.200:48449/udp/host> (stream.RTP)
    jitsi_1 | JVB 2017-01-26 13:45:45.523 INFO: [660] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 172.18.0.2:10000/udp/host <http://172.18.0.2:10000/udp/host> -> 10.9.0.2:40293/udp/host <http://10.9.0.2:40293/udp/host> (stream.RTP)

    If there are any hints what I can still check/test, please just
    let me know!

    best

    Martin

    _______________________________________________ users mailing list
    users@jitsi.org <mailto:users@jitsi.org> Unsubscribe instructions
    and other list options:
    http://lists.jitsi.org/mailman/listinfo/users
    <http://lists.jitsi.org/mailman/listinfo/users>

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users