Disconnecting every 30 seconds

Hello!
I have a problem with my Jitsi install.


I receive “Bridge Channel send: no opened channel” every 30 seconds after reconnect.
I have the following scheme:

I tried to install it without internet users, only LAN (In1 and In2 connect to a.a.a.a) and set:
My .env file:

HTTP_PORT=80
HTTPS_PORT=443
TZ=Europe/Amsterdam
PUBLIC_URL=https://jitsi_server_url #a.a.a.a
DOCKER_HOST_ADDRESS=a.a.a.a
ENABLE_AUTH=1
ENABLE_GUESTS=1
AUTH_TYPE=jwt
XMPP_DOMAIN=meet.jitsi
XMPP_SERVER=xmpp.meet.jitsi
XMPP_BOSH_URL_BASE=http://xmpp.meet.jitsi:5280
XMPP_AUTH_DOMAIN=auth.meet.jitsi
XMPP_MUC_DOMAIN=muc.meet.jitsi
XMPP_INTERNAL_MUC_DOMAIN=internal-muc.meet.jitsi
XMPP_GUEST_DOMAIN=guest.meet.jitsi
XMPP_MODULES=
XMPP_MUC_MODULES=
XMPP_INTERNAL_MUC_MODULES=
JVB_BREWERY_MUC=jvbbrewery
JVB_AUTH_USER=jvb
JVB_STUN_SERVERS=meet-jit-si-turnrelay.jitsi.net:443
JVB_PORT=10000
JVB_TCP_HARVESTER_DISABLED=true
JVB_TCP_PORT=4443
JICOFO_AUTH_USER=focus
JIGASI_XMPP_USER=jigasi
JIGASI_BREWERY_MUC=jigasibrewery
JIGASI_PORT_MIN=20000
JIGASI_PORT_MAX=20050
XMPP_RECORDER_DOMAIN=recorder.meet.jitsi
JIBRI_RECORDER_USER=recorder
JIBRI_RECORDING_DIR=/config/recordings
JIBRI_FINALIZE_RECORDING_SCRIPT_PATH=/config/finalize.sh
JIBRI_XMPP_USER=jibri
JIBRI_BREWERY_MUC=jibribrewery
JIBRI_PENDING_TIMEOUT=90
JIBRI_STRIP_DOMAIN_JID=muc
JIBRI_LOGS_DIR=/config/logs
ENABLE_HTTP_REDIRECT=1
RESTART_POLICY=unless-stopped

And comment org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES in jvb sip-communicator.properties because of local area:

org.jitsi.videobridge.SINGLE_PORT_HARVESTER_PORT=10000
org.jitsi.videobridge.DISABLE_TCP_HARVESTER=true
org.jitsi.videobridge.TCP_HARVESTER_PORT=4443
#org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES=meet-jit-si-turnrelay.jitsi.net:443
org.jitsi.videobridge.xmpp.user.shard.HOSTNAME=xmpp.meet.jitsi
org.jitsi.videobridge.xmpp.user.shard.DOMAIN=auth.meet.jitsi
org.jitsi.videobridge.xmpp.user.shard.USERNAME=jvb
org.jitsi.videobridge.xmpp.user.shard.PASSWORD=**************
org.jitsi.videobridge.xmpp.user.shard.MUC_JIDS=jvbbrewery@internal-muc.meet.jitsi
org.jitsi.videobridge.xmpp.user.shard.MUC_NICKNAME=c535213ddcac
org.jitsi.videobridge.xmpp.user.shard.DISABLE_CERTIFICATE_VERIFICATION=true
org.jitsi.videobridge.ENABLE_STATISTICS=true
org.jitsi.videobridge.STATISTICS_TRANSPORT=muc
org.jitsi.videobridge.STATISTICS_INTERVAL=5000
# org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=172.23.0.4
# org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=a.a.a.a

Can you help me? What should I set on my config files?
My jvb and prosody log files: jvb_log.txt (76.2 KB) prosody_log.txt (2.6 KB)

Could you try with all uncommented

org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES=meet-jit-si-turnrelay.jitsi.net:443
org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=172.23.0.4
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=a.a.a.a

Thanks for your reply.
Same result. I don’t think that LOCAL_ADDRESS=172.23.0.4 is correct one. 172… is a docker internal address.

I didn’t try but maybe this one will work

un comment these and check

org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES=meet-jit-si-turnrelay.jitsi.net:443
org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=172.23.0.4
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=a.a.a.a

Also if you have any other services running on the ports and check firewall to ensure ports are open.

I tried to config only LAN so don’t used b.b.b.b. Changed as you posted - no result.
I can try to configure with Internet address. Should I change PUBLIC_URL or DOCKER_HOST_ADDRESS to b.b.b.b address in .env?

Unfortunately it doesn’t work. “Pair failed” and “timeout for pair” in jvb log

I changed the files so that every user connects over the internet. Now my schema is like this:


I have the fillowing in my .env file now:

PUBLIC_URL=https://jitsi_public_url #b.b.b.b
DOCKER_HOST_ADDRESS=b.b.b.b

And sip-communicator.properties:

# STUN commented as in [171](https://github.com/jitsi/docker-jitsi-meet/issues/171)
#org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES=meet-jit-si-turnrelay.jitsi.net:443
org.ice4j.ice.harvest.NAT_HARVESTER_LOCAL_ADDRESS=a.a.a.a
org.ice4j.ice.harvest.NAT_HARVESTER_PUBLIC_ADDRESS=b.b.b.b

But it doesn’t work.