Network not stable when conference create

@emrah
-It’s needed to restart JVB services again when the public IP is changed.
public ip not change already and i have setup a cron job for that

  • It’s needed to customize the websocket config for the second JVB

xmpp websockets

location = /xmpp-websocket {
    proxy_pass http://localhost:5280/xmpp-websocket?prefix=$prefix&$args;

    add_header 'x-jitsi-shard' 'shard1';
    add_header 'x-jitsi-region' 'jvb1';
    add_header 'Access-Control-Expose-Headers' 'X-Jitsi-Shard, X-Jitsi-Region>

    proxy_http_version 1.1;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header Host $http_host;
    proxy_buffer_size 128k;
    proxy_buffers 4 256k;
    proxy_busy_buffers_size 256k;
    tcp_nodelay on;
}

# colibri (JVB) websockets for jvb1
location ~ ^/colibri-ws/jvb1/(.*) {
    proxy_pass http://192.168.1.22:8081/colibri-ws/jvb1/$1$is_args$args;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    tcp_nodelay on;
}

# colibri (JVB) websockets for jvb2
location ~ ^/colibri-ws/jvb2/(.*) {
    proxy_pass http://192.168.1.29:8081/colibri-ws/jvb2/$1$is_args$args;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    tcp_nodelay on;
}
    • JVB2 has to access to JMS using the FQDN
      what the meaning on this point i not understand very well im so sorry can you explain or give me some advice?

Can JVB2 connect to JMS through TCP/5222 using FQDN?

On JVB2

curl http://your.host.fqdn:5222/

@emrah
what is this mean?

jvb2:~$ curl http:/myfqdn:5222/
curl: (1) Received HTTP/0.9 when not allowed

Since TCP/5222 is not accessible using FQDN from JVB2, JVB2 cannot connect to your JMS. Although this is a problem, it also means that your main issue is not related with the second JVB (since it is not a part of the system)

@emrah what can i do to fix this problem? Can you helpe please

when I tried to connect to your server, there is no web server at TCP/443. Is your server closed now?

@emrah sorry my server is off, because today i can’t start my server. do you have solution for not accessible using FQDN from JVB2?

Probably JVB2 resolves the public IP of JMS and it cannot connect to it because of missing routing rule. The easiest solution is to add the local IP of JMS into the /etc/hosts file in JVB2

But this is not your main problem. Your system should work when JVB2 is closed too, IIUC it doesn’t…

@emrah
i got this error from console
2021-05-26T07:54:31.523Z [modules/RTC/BridgeChannel.js] <WebSocket.e.onclose>: Channel closed: 1006
2021-05-26T07:54:45.840Z [modules/RTC/BridgeChannel.js] <p._send>: Bridge Channel send: no opened channel.
BridgeChannel.js:83 WebSocket connection to ‘wss://anurameet2.ddns.net/colibri-ws/jvb2/d695473328e4621/b18c32e1?pwd=2ukl5741n1utgvq102qtgvml8r’ failed:
what do you think about this?

Can you test your system while JVB2 is closed?

@emrah when jvb2 is closed is work but when jvb2 on and 4 participants join room video and audio not showing off

Then

  • Add the local IP of JMS into /etc/hosts on JVB2

  • Check TCP/5222 connectivity from JVB2 using FQDN

  • Check server-id of JVB2

  • Check the Nginx config on JMS for the websocket block

@emrah
i test TCP/5222 connectivity from JVB2 using FQDN
jvb2:~$ curl http:/myfqdn:5222/
curl: (1) Received HTTP/0.9 when not allowed

On JVB2

ping your-fqdn

@emrah ping is work
you can check this link https://anurameet2.ddns.net

Did you check ping from JVB2?

yes i did @emrah

Then TCP/5222 is closed for remote connections on JMS. It should be open

@emrah you can check this link using your network https://anurameet2.ddns.net

oke, what should i do to open TCP/5222 in jms?