WebOfTrustInfo / prototype_vRWOT

0 stars 1 forks source link

Jitsi not working with more than two participants #23

Closed noahgibbs closed 3 years ago

noahgibbs commented 3 years ago

On testing-8, Jitsi worked okay with just me and Sarah, but couldn't successfully connect after Joe joined - we'd see intermittent functionality, but mostly it just failed at that point.

One possibility is that Jitsi Videobridge is misconfigured. That would explain "two people works, three people doesn't."

Another possibility is that Sarah and I might have avoided using TURN servers (required when two participants can't communicate with each other directly.) I'm seeing errors in the testing-14 log that strongly suggest the Docker install does not have the TURN servers and/or the Jitsi TURN-server module configured properly. But I don't see that log message in the testing-8 console, only testing-14, so testing-8 might be configured properly... Or not.

It's also entirely possible that both Jitsi videobridge and TURN servers are misconfigured.

noahgibbs commented 3 years ago

It looks like testing-14 (the Docker config) absolutely does not configure TURN servers, at all, full stop. It's possible but inefficient to turn those off in favour of Jitsi Videobridge which might solve the problem (not 100% sure.) But if I set ENABLE_P2P to false in the env file, I think that would do it.

What's odd is that testing-8 uses the Debian config, not the Docker config. In theory that should have a TURN server installed and configured. I see what looks like reasonable TURN server config in its config files. But clearly it's not working properly.

noahgibbs commented 3 years ago

It looks like this was a problem with the former recommended JVM not correctly configuring certificates, so Jitsi couldn't communicate internally. Using the newer JVM (and/or manually configuring certificates for the JVM) shoudl fix this.