Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conference is not moved to another jvb when JVB's XMPP connection is broken #1050

Open
paweldomas opened this issue Mar 9, 2023 · 1 comment

Comments

@paweldomas
Copy link
Member

Description

When Octo is disabled and JVB gets unresponsive or the XMPP connection is broken (we've seen this when near out of memory and struggling on garbage collector), any XMPP request will timeout towards the jvb. If there's a conference on such bridge and a new user joins then it will not be added to the conference correctly.

Current behavior

If JVB gets unresponsive, Jicofo fails to add new participants with "A new bridge was selected, but Octo is disabled" error after timing out on the Colibri v2 allocate request and the conference is not moved to another JVB. This is the Octo disabled case.

What would probably happen with Octo enabled, is that the other participants would stay isolated, but if the JVB is really not working then each one should be getting ICE failed and they should make attempt to get new session and eventually could be moved to the same jvb as the new participant.

Expected Behavior

If JVB gets unresponsive for a longer period of time, Jicofo should allow the new user to connect by moving the call to another bridge.

Possible Solution

Move the conference to another JVB when a bridge is timing out on all requests.

Steps to reproduce

  1. Start a conference with 2 participants on JVB 1.
  2. Cut-off the XMPP connection using iptables on the JVB 1 machine:

iptables -A OUTPUT -p tcp --dport 5222 -j DROP

  1. Wait around 30 seconds until Jicofo starts reporting health check timeouts for JVB 1
  2. Try joining the meeting with 3rd participant.
@paweldomas
Copy link
Member Author

As a workaround it may be possible to enable Octo in Jicofo, but keep it disabled on the JVB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant