jitsi / docker-jitsi-meet

Jitsi Meet on Docker
https://hub.docker.com/u/jitsi/
Apache License 2.0
3.06k stars 1.36k forks source link

Pair failed with connection to docker-jitsi-meet bebind net #363

Open joe4455 opened 4 years ago

joe4455 commented 4 years ago

1, up docker-compose inside a LAN 2, using FRP https forward 8443 3, no problem with LAN access( video,audio)


192.168.96.5 is jvb docker ip.
192.168.43.224:44605 is phone ip using 4G it seems jvb ip:10000 cannot be find from internet.

-----log----------- [root@localhost docker-jitsi-meet]# docker-compose up |grep 10000 Starting docker-jitsi-meet_prosody_1 ... done Starting docker-jitsi-meet_web_1 ... done Starting docker-jitsi-meet_jicofo_1 ... done Recreating docker-jitsi-meet_jvb_1 ... done jvb_1 | JVB 2020-04-02 10:02:20.790 INFO: [1] org.jitsi.impl.configuration.ConfigurationServiceImpl.log() org.jitsi.videobridge.SINGLE_PORT_HARVESTER_PORT=10000 jicofo_1 | Jicofo 2020-04-02 10:02:21.028 INFO: [1] org.jitsi.xmpp.component.ComponentBase.log() ping interval: 10000 ms jvb_1 | JVB 2020-04-02 10:02:21.397 INFO: [19] org.ice4j.ice.harvest.AbstractUdpListener.() Initialized AbstractUdpListener with address 192.168.96.5:10000/udp. Receive buffer size 212992 (asked for 10485760) jvb_1 | JVB 2020-04-02 10:02:21.397 INFO: [19] org.ice4j.ice.harvest.SinglePortUdpHarvester.() Initialized SinglePortUdpHarvester with address 192.168.96.5:10000/udp jvb_1 | JVB 2020-04-02 10:02:34.384 INFO: [33] org.ice4j.ice.ConnectivityCheckClient.log() Pair succeeded: 192.168.96.5:10000/udp/host -> 192.168.0.85:55961/udp/host (stream.RTP). Local ufrag 282qb1e4sujh92 jvb_1 | JVB 2020-04-02 10:02:34.387 INFO: [33] org.ice4j.ice.ConnectivityCheckClient.log() Pair validated: 192.168.0.159:10000/udp/srflx -> 192.168.0.85:55961/udp/host (stream.RTP). Local ufrag 282qb1e4sujh92 jvb_1 | JVB 2020-04-02 10:02:34.387 INFO: [33] org.ice4j.ice.DefaultNominator.log() Nominate (first valid): 192.168.0.159:10000/udp/srflx -> 192.168.0.85:55961/udp/host (stream.RTP). Local ufrag 282qb1e4sujh92 jvb_1 | JVB 2020-04-02 10:02:34.406 INFO: [33] org.ice4j.ice.ConnectivityCheckClient.log() Pair succeeded: 192.168.0.159:10000/udp/srflx -> 192.168.0.85:55961/udp/host (stream.RTP). Local ufrag 282qb1e4sujh92 jvb_1 | JVB 2020-04-02 10:02:34.406 INFO: [33] org.ice4j.ice.ConnectivityCheckClient.log() Pair validated: 192.168.0.159:10000/udp/srflx -> 192.168.0.85:55961/udp/host (stream.RTP). Local ufrag 282qb1e4sujh92 jvb_1 | JVB 2020-04-02 10:02:34.406 INFO: [33] org.ice4j.ice.DefaultNominator.log() Nominate (first valid): 192.168.0.159:10000/udp/srflx -> 192.168.0.85:55961/udp/host (stream.RTP). Local ufrag 282qb1e4sujh92 jvb_1 | JVB 2020-04-02 10:02:34.407 INFO: [33] org.ice4j.ice.ConnectivityCheckClient.log() Nomination confirmed for pair: 192.168.0.159:10000/udp/srflx-> 192.168.0.85:55961/udp/host (stream.RTP). Loal ufrag 282qb1e4sujh92 jvb_1 | JVB 2020-04-02 10:02:34.407 INFO: [33] org.ice4j.ice.CheckList.log() Selected pair for stream stream.RTP: 192.168.0.159:10000/udp/srflx -> 192.168.0.85:55961/udp/host (stream.RTP) jvb_1 | JVB 2020-04-02 10:02:34.866 INFO: [89] org.ice4j.ice.ConnectivityCheckClient.log() Pair failed: 192.168.96.5:10000/udp/host -> 192.168.43.224:44605/udp/host (stream.RTP)


DOCKER_HOST_ADDRESS=192.168.0.159 docker host ip

docker top jvb X:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Djava.library.path=/usr/share/jitsi-videobridge/lib/native/linux-64 -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/ -Dnet.java.sip.communicator.SC_HOME_DIRNAME=config -Djava.util.logging.config.file=/config/logging.properties -Dorg.ice4j.ice.harvest.NATHARVESTER_LOCAL_ADDRESS=192.168.96.5 -Dorg.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=192.168.0.159 -cp /usr/share/jitsi-videobridge/jitsi-videobridge.jar:/usr/share/jitsi-videobridge/lib/agafua-syslog-0.4.jar:/usr/share/jitsi-videobridge/lib/annotations-15.0.jar:/usr/share/jitsi-videobridge/lib/bccontrib-1.0.jar:/usr/share/jitsi-videobridge/lib/bcpkix-jdk15on-1.54.jar:/usr/share/jitsi-videobridge/lib/bcprov-jdk15on-1.54.jar:/usr/share/jitsi-videobridge/lib/callstats-java-sdk-5.0.0.jar:/usr/share/jitsi-videobridge/lib/cglib-nodep-2.2.2.jar:/usr/share/jitsi-videobridge/lib/commons-codec-1.6.jar:/usr/share/jitsi-videobridge/lib/commons-lang3-3.1.jar:/usr/share/jitsi-videobridge/lib/commons-logging-1.1.3.jar:/usr/share/jitsi-videobridge/lib/concurrentlinkedhashmap-lru-1.0_jdk5.jar:/usr/share/jitsi-videobridge/lib/core-2.0.1.jar:/usr/share/jitsi-videobridge/lib/dnsjava-2.1.7.jar:/usr/share/jitsi-videobridge/lib/dom4j-1.6.1.jar:/usr/share/jitsi-videobridge/lib/fmj-1.0-20190327.151046-25.jar:/usr/share/jitsi-videobridge/lib/gson-2.3.1.jar:/usr/share/jitsi-videobridge/lib/guava-15.0.jar:/usr/share/jitsi-videobridge/lib/httpclient-4.3.3.jar:/usr/share/jitsi-videobridge/lib/httpcore-4.3.2.jar:/usr/share/jitsi-videobridge/lib/ice4j-2.0.0-20190607.184546-36.jar:/usr/share/jitsi-videobridge/lib/jain-sip-ri-ossonly-1.2.98c7f8c-jitsi-oss1.jar:/usr/share/jitsi-videobridge/lib/java-dogstatsd-client-2.5.jar:/usr/share/jitsi-videobridge/lib/java-sdp-nist-bridge-1.1.jar:/usr/share/jitsi-videobridge/lib/javax.servlet-api-3.1.0.jar:/usr/share/jitsi-videobridge/lib/jbosh-0.9.1.jar:/usr/share/jitsi-videobridge/lib/jcip-annotations-1.0.jar:/usr/share/jitsi-videobridge/lib/jcl-core-2.8.jar:/usr/share/jitsi-videobridge/lib/jetty-client-9.4.15.v20190215.jar:/usr/share/jitsi-videobridge/lib/jetty-continuation-9.4.15.v20190215.jar:/usr/share/jitsi-videobridge/lib/jetty-http-9.4.15.v20190215.jar:/usr/share/jitsi-videobridge/lib/jetty-io-9.4.15.v20190215.jar:/usr/share/jitsi-videobridge/lib/jetty-proxy-9.4.15.v20190215.jar:/usr/share/j

Echolon commented 4 years ago

@joe4455 can you please remove the checkboxes in you comment? That would be very nice!