[modules/RTC/BridgeChannel.js] <e.onclose>: Channel closed: 1006 - Jitsi Meet | JVB

Hi
I have installed jitsi Meet using below link on ubuntu 22.04

Up to 2 participant its connecting audio and video , But after 3rd participant it is disconnecting audio and video , when any one removed from 3 , automatically connecting audio and video.

in browser console it shows

BridgeChannel.js:87 WebSocket connection to ‘wss://meet.**domian.com/colibri-ws/default-id/376f2ff95d8ada3


8/319d2637?pwd=u38l9jh17sgk4pkdte6ikc9h0’ failed:
_initWebSocket @ BridgeChannel.js:87
t @ BridgeChannel.js:106
Logger.js:154 2022-12-23T15:00:58.328Z [modules/RTC/BridgeChannel.js] <e.onclose>: Channel closed by server

What is the output for

netstat -taunp

Hi @emrah
Please find below output

ubuntu@meet:~$ netstat -taunp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:5349 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:5349 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:5350 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:5350 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:5280 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:5281 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:5269 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:5222 0.0.0.0:* LISTEN -
tcp 0 0 172.31.25.146:5349 0.0.0.0:* LISTEN -
tcp 0 0 172.31.25.146:5349 0.0.0.0:* LISTEN -
tcp 0 0 172.31.25.146:5350 0.0.0.0:* LISTEN -
tcp 0 0 172.31.25.146:5350 0.0.0.0:* LISTEN -
tcp 0 400 172.31.25.146:22 117.194.14.245:56383 ESTABLISHED -
tcp 0 0 172.31.25.146:22 182.61.138.213:59619 SYN_RECV -
tcp 0 0 127.0.0.1:5222 127.0.0.1:54414 ESTABLISHED -
tcp 0 0 127.0.0.1:5222 127.0.0.1:54412 ESTABLISHED -
tcp6 0 0 :::443 :::* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 :::80 :::* LISTEN -
tcp6 0 0 :::9090 :::* LISTEN -
tcp6 0 0 127.0.0.1:8080 :::* LISTEN -
tcp6 0 0 ::1:5280 :::* LISTEN -
tcp6 0 0 ::1:5350 :::* LISTEN -
tcp6 0 0 ::1:5350 :::* LISTEN -
tcp6 0 0 ::1:5349 :::* LISTEN -
tcp6 0 0 ::1:5349 :::* LISTEN -
tcp6 0 0 :::8888 :::* LISTEN -
tcp6 0 0 :::5281 :::* LISTEN -
tcp6 0 0 :::5269 :::* LISTEN -
tcp6 0 0 :::5222 :::* LISTEN -
tcp6 0 0 127.0.0.1:54414 127.0.0.1:5222 ESTABLISHED -
tcp6 0 0 127.0.0.1:54412 127.0.0.1:5222 ESTABLISHED -
udp 0 0 172.31.25.146:5349 0.0.0.0:* -
udp 0 0 172.31.25.146:5349 0.0.0.0:* -
udp 0 0 127.0.0.1:5349 0.0.0.0:* -
udp 0 0 127.0.0.1:5349 0.0.0.0:* -
udp 0 0 172.31.25.146:5350 0.0.0.0:* -
udp 0 0 172.31.25.146:5350 0.0.0.0:* -
udp 0 0 127.0.0.1:5350 0.0.0.0:* -
udp 0 0 127.0.0.1:5350 0.0.0.0:* -
udp 0 0 172.31.25.146:3478 0.0.0.0:* -
udp 0 0 172.31.25.146:3478 0.0.0.0:* -
udp 0 0 127.0.0.1:3478 0.0.0.0:* -
udp 0 0 127.0.0.1:3478 0.0.0.0:* -
udp 0 0 172.31.25.146:3479 0.0.0.0:* -
udp 0 0 172.31.25.146:3479 0.0.0.0:* -
udp 0 0 127.0.0.1:3479 0.0.0.0:* -
udp 0 0 127.0.0.1:3479 0.0.0.0:* -
udp 0 0 127.0.0.53:53 0.0.0.0:* -
udp 0 0 172.31.25.146:68 0.0.0.0:* -
udp 0 0 127.0.0.1:323 0.0.0.0:* -
udp 0 0 0.0.0.0:5000 0.0.0.0:* -
udp6 0 0 ::1:5349 :::* -
udp6 0 0 ::1:5349 :::* -
udp6 0 0 ::1:5350 :::* -
udp6 0 0 ::1:5350 :::* -
udp6 0 0 ::1:3478 :::* -
udp6 0 0 ::1:3478 :::* -
udp6 0 0 ::1:3479 :::* -
udp6 0 0 ::1:3479 :::* -
udp6 0 0 172.31.25.146:10000 :::* -
udp6 0 0 ::1:323 :::* -
udp6 0 0 :::5000 :::* -
ubuntu@meet:~$

Could you run the same command as root?

I want to see who is listening TCP/9090

tcp6 0 0 :::9090 :::* LISTEN 559/java
it was occupied by java and it was default setup by jitsi

below the full report
root@meet:/home/ubuntu# netstat -taunp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1886/nginx: master
tcp 0 0 127.0.0.1:5349 0.0.0.0:* LISTEN 534/turnserver
tcp 0 0 127.0.0.1:5349 0.0.0.0:* LISTEN 534/turnserver
tcp 0 0 127.0.0.1:5350 0.0.0.0:* LISTEN 534/turnserver
tcp 0 0 127.0.0.1:5350 0.0.0.0:* LISTEN 534/turnserver
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 489/systemd-resolve
tcp 0 0 127.0.0.1:5280 0.0.0.0:* LISTEN 571/lua
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 819/sshd: /usr/sbin
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1886/nginx: master
tcp 0 0 0.0.0.0:5281 0.0.0.0:* LISTEN 571/lua
tcp 0 0 0.0.0.0:5269 0.0.0.0:* LISTEN 571/lua
tcp 0 0 0.0.0.0:5222 0.0.0.0:* LISTEN 571/lua
tcp 0 0 172.31.25.146:5349 0.0.0.0:* LISTEN 534/turnserver
tcp 0 0 172.31.25.146:5349 0.0.0.0:* LISTEN 534/turnserver
tcp 0 0 172.31.25.146:5350 0.0.0.0:* LISTEN 534/turnserver
tcp 0 0 172.31.25.146:5350 0.0.0.0:* LISTEN 534/turnserver
tcp 0 52 172.31.25.146:22 117.194.9.3:59119 ESTABLISHED 14646/sshd: ubuntu
tcp 0 0 127.0.0.1:5222 127.0.0.1:54414 ESTABLISHED 571/lua
tcp 0 0 127.0.0.1:5222 127.0.0.1:54412 ESTABLISHED 571/lua
tcp6 0 0 :::443 :::* LISTEN 1886/nginx: master
tcp6 0 0 :::22 :::* LISTEN 819/sshd: /usr/sbin
tcp6 0 0 :::80 :::* LISTEN 1886/nginx: master
tcp6 0 0 :::9090 :::* LISTEN 559/java
tcp6 0 0 127.0.0.1:8080 :::* LISTEN 559/java
tcp6 0 0 ::1:5280 :::* LISTEN 571/lua
tcp6 0 0 ::1:5350 :::* LISTEN 534/turnserver
tcp6 0 0 ::1:5350 :::* LISTEN 534/turnserver
tcp6 0 0 ::1:5349 :::* LISTEN 534/turnserver
tcp6 0 0 ::1:5349 :::* LISTEN 534/turnserver
tcp6 0 0 :::8888 :::* LISTEN 631/java
tcp6 0 0 :::5281 :::* LISTEN 571/lua
tcp6 0 0 :::5269 :::* LISTEN 571/lua
tcp6 0 0 :::5222 :::* LISTEN 571/lua
tcp6 0 0 127.0.0.1:54414 127.0.0.1:5222 ESTABLISHED 559/java
tcp6 0 0 127.0.0.1:54412 127.0.0.1:5222 ESTABLISHED 631/java
udp 0 0 172.31.25.146:5349 0.0.0.0:* 534/turnserver
udp 0 0 172.31.25.146:5349 0.0.0.0:* 534/turnserver
udp 0 0 127.0.0.1:5349 0.0.0.0:* 534/turnserver
udp 0 0 127.0.0.1:5349 0.0.0.0:* 534/turnserver
udp 0 0 172.31.25.146:5350 0.0.0.0:* 534/turnserver
udp 0 0 172.31.25.146:5350 0.0.0.0:* 534/turnserver
udp 0 0 127.0.0.1:5350 0.0.0.0:* 534/turnserver
udp 0 0 127.0.0.1:5350 0.0.0.0:* 534/turnserver
udp 0 0 172.31.25.146:3478 0.0.0.0:* 534/turnserver
udp 0 0 172.31.25.146:3478 0.0.0.0:* 534/turnserver
udp 0 0 127.0.0.1:3478 0.0.0.0:* 534/turnserver
udp 0 0 127.0.0.1:3478 0.0.0.0:* 534/turnserver
udp 0 0 172.31.25.146:3479 0.0.0.0:* 534/turnserver
udp 0 0 172.31.25.146:3479 0.0.0.0:* 534/turnserver
udp 0 0 127.0.0.1:3479 0.0.0.0:* 534/turnserver
udp 0 0 127.0.0.1:3479 0.0.0.0:* 534/turnserver
udp 0 0 127.0.0.53:53 0.0.0.0:* 489/systemd-resolve
udp 0 0 172.31.25.146:68 0.0.0.0:* 487/systemd-network
udp 0 0 127.0.0.1:323 0.0.0.0:* 553/chronyd
udp 0 0 0.0.0.0:5000 0.0.0.0:* 559/java
udp6 0 0 ::1:5349 :::* 534/turnserver
udp6 0 0 ::1:5349 :::* 534/turnserver
udp6 0 0 ::1:5350 :::* 534/turnserver
udp6 0 0 ::1:5350 :::* 534/turnserver
udp6 0 0 ::1:3478 :::* 534/turnserver
udp6 0 0 ::1:3478 :::* 534/turnserver
udp6 0 0 ::1:3479 :::* 534/turnserver
udp6 0 0 ::1:3479 :::* 534/turnserver
udp6 0 0 172.31.25.146:10000 :::* 559/java
udp6 0 0 ::1:323 :::* 553/chronyd
udp6 0 0 :::5000 :::* 559/java
root@meet:/home/ubuntu#

Is UDP/10000 open in internal and external firewall?

Its Internal

I meant do you allow this port in the internal and external firewall.

i have allowed only in internal firewall

please find below command what i executed in ubuntu

sudo ufw allow 80/tcp  
sudo ufw allow 443/tcp 
sudo ufw allow 4443/tcp 
sudo ufw allow 10000/udp 
sudo ufw allow 22/tcp
sudo ufw allow 5349/tcp 

sudo ufw enable

If it’s not allowed in the external firewall too, it doesn’t work

let me try with external firewall

i added external firewall in aws inbound rule
IPv4 Custom UDP UDP 10000 0.0.0.0/0

Now its working ,

Thanks alot