few days ago, we deployed jitsi to production public server. Jitsi (jicofo, prosody, nginx) is behind NAT, videobridges too. When I with my co-worker tried to join from local network everything is fine, but when we tried to join to our conference from outside devices, everything crashed.
In developer console prosody cry “WebSocket connection to ‘wss://e-konf.waw.xxx.pl/colibri-ws/default-id/87cde19a6ceb9317/33be6d93?pwd=2rh2e4tcc’ failed: Error during WebSocket handshake: Unexpected response code: 502”. After 1 sec; " <WebSocket.e.onclose>: Channel closed: 1006" and then console is spamming
“[JitsiConference.js] <u.sendMessage>: Failed to send E2E ping request or response. undefined
[modules/RTC/BridgeChannel.js] <l._send>: Bridge Channel send: no opened channel.”
I tried everything, from setting up new Jitsi server to open all ports on Linux firewall and firewall in private network.
Parameters of Jitsi servers:
Jitsi main server - 4vCPU, 16GB RAM, 300/300 Mbps
1st videobridge - 4vCPU, 8GB RAM, 300/300 Mbps
2nd videobridge - 4vCPU, 8GB RAM, 300/300 Mbps
3td videobridge - 4vCPU, 8GB RAM, 300/300 Mbps