Git Product home page Git Product logo

team2-jitsi-ops's Introduction

Team 2 Jitsi Ops

Configuration for Team 2's Jitsi server.

It's currently using Serokell's deploy.rs to deploy to the server at [https://zt.project.zone].

To deploy, make sure nix is installed with flakes enabled, clone the repo, cd into the directory, and run:

nix run github:serokell/deploy-rs .

Jitsi configuration

All Jitsi configuration that is not directly related to this specific instance can be found and modified at [https://www.github.com/ngi-nix/jitsi].

Those changes to the Jitsi metaflake repo can be deployed to [https://zt.project.zone] by update the flake dependencies in this repository and then running deploy-rs.

nix flake update
nix run github:serokell/deploy-rs .

team2-jitsi-ops's People

Contributors

tshaynik avatar cleeyv avatar sophrosyne97 avatar tomberek avatar pallatinus avatar

Watchers

Astro avatar Norbert Melzer avatar Christine Koppelt avatar  avatar Shahar "Dawn" Or avatar Eelco Dolstra avatar Attila Gulyas avatar EgyptianCowboy avatar Armijn Hemel avatar Justin Restivo avatar  avatar Simon Bruder avatar Soham Sen avatar  avatar  avatar

team2-jitsi-ops's Issues

Add a github workflow for deployment

Whenever a change is merged to master the server should be redeployed, so it would be best to have a github workflow to handle this. The workflow will just checkout the repository after the merge, install nix and deploy with nix run and deploy-rs.

Meeting crashes when more than one user tries to connect

Jitsi seems to work well while there is only one person connected to the meeting, but as soon as a second person connects the meeting crashes for both and an error message appears that says "Unfortunately something went wrong" and then "Reconnecting in 20 seconds" but as long as two people are trying to connect the reconnection never succeeds.

There are jicofo errors in the journalctl logs that correspond to the error, such as these:

Sep 10 22:37:09 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jicofo-start[2836]: Sep 10, 2021 10:37:09 PM org.jitsi.utils.logging2.LoggerImpl log
Sep 10 22:37:09 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jicofo-start[2836]: SEVERE: Can not invite participant, no bridge available: 42dac345
Sep 10 22:37:09 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jicofo-start[2836]: Sep 10, 2021 10:37:09 PM org.jitsi.utils.logging2.LoggerImpl log
Sep 10 22:37:09 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jicofo-start[2836]: SEVERE: Failed to select a bridge for Participant[[email protected]>
Sep 10 22:37:09 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jicofo-start[2836]: Sep 10, 2021 10:37:09 PM org.jitsi.utils.logging2.LoggerImpl log
Sep 10 22:37:09 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jicofo-start[2836]: INFO: Chat room event PresenceUpdated member=ChatMember[[email protected]>

There are numerous reports of problems similar to this, mainly on the jitsi forums but also their github, and they mostly seem to be related to prosody configs, often related to secrets/auth. The strange thing is that we're using the basic config from the NixOS manual, but see no reports of this bug for NixOS so I would guess that there is something unusual going on with our deployment that is causing this issue.

The other error I see in the logs that may be relevant is from back when the server was first deployed. It does not repeat every time that the crash happens but it could be an underlying cause of the problem that only shows up in the logs when jitsi-meet is first started. I haven't researched this one much yet:

Sep 06 18:07:11 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jitsi-videobridge2-start[2467]: SEVERE: [14] [hostname=localhost id=localhost] MucClient.lambda$start$0#213: Failed to initialize and start a MucClient:
Sep 06 18:07:11 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jitsi-videobridge2-start[2467]: org.jxmpp.stringprep.XmppStringprepException: Argument can't be the empty string
Sep 06 18:07:11 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jitsi-videobridge2-start[2467]:         at org.jxmpp.stringprep.XmppStringPrepUtil.throwIfEmptyString(XmppStringPrepUtil.java:131)
Sep 06 18:07:11 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jitsi-videobridge2-start[2467]:         at org.jxmpp.stringprep.XmppStringPrepUtil.resourceprep(XmppStringPrepUtil.java:101)
Sep 06 18:07:11 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jitsi-videobridge2-start[2467]:         at org.jxmpp.jid.parts.Resourcepart.from(Resourcepart.java:77)
Sep 06 18:07:11 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jitsi-videobridge2-start[2467]:         at org.jitsi.xmpp.mucclient.MucClient.initializeConnectAndJoin(MucClient.java:234)
Sep 06 18:07:11 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jitsi-videobridge2-start[2467]:         at org.jitsi.xmpp.mucclient.MucClient.lambda$start$0(MucClient.java:209)
Sep 06 18:07:11 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jitsi-videobridge2-start[2467]:         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
Sep 06 18:07:11 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jitsi-videobridge2-start[2467]:         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
Sep 06 18:07:11 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jitsi-videobridge2-start[2467]:         at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
Sep 06 18:07:11 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jitsi-videobridge2-start[2467]:         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
Sep 06 18:07:11 nixos-20.09-s-1vcpu-1gb-intel-nyc3-01 jitsi-videobridge2-start[2467]:         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.