Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved No sound in Jitsi...

    Jitsi
    6
    41
    1205
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • potemkin_ai
      potemkin_ai @robi last edited by

      @robi yes, I was thinking about something of the kind, just though it might be too aggressive 🙂

      @nebulon , the problem was with port, indeed, thank you!

      1 Reply Last reply Reply Quote 1
      • Topic has been marked as solved  nebulon nebulon 
      • nebulon
        nebulon Staff last edited by

        Given that we found that traccar also has essentially fixed ports, we decided to add a proper read-only flag to the manifest for ports, which will then be part of the next release now.

        potemkin_ai 1 Reply Last reply Reply Quote 2
        • potemkin_ai
          potemkin_ai @nebulon last edited by

          @nebulon cool, thanks! 😃

          potemkin_ai 1 Reply Last reply Reply Quote 0
          • potemkin_ai
            potemkin_ai @potemkin_ai last edited by

            @nebulon , unfortunately, it doesn't work again...
            The video and audio doesn't work even for 2 participants for me and users report that it stops transmitting the sound after 3rd user attached.

            Can't upload full log file due to forum restriction, but here is what seems to be a key lines:

            BridgeChannel.js:84 WebSocket connection to 'wss://server.domain/colibri-ws/default-id/9e492323b5fe10c7/2dd3002a?pwd=2dhurejj37lfravd497k7t2jo7' failed: 
            _initWebSocket @ BridgeChannel.js:84
            t @ BridgeChannel.js:103
            Logger.js:154 2022-08-15T07:24:24.118Z [modules/RTC/BridgeChannel.js] <e.onclose>:  Channel closed by server
            Logger.js:154 2022-08-15T07:24:24.118Z [modules/RTC/BridgeChannel.js] <e.onclose>:  Channel closed: 1006 
            r @ Logger.js:154
            e.onclose @ BridgeChannel.js:433
            

            The port is 10'000, nothing has been changed there.

            Any help would be much appreciated!

            1 Reply Last reply Reply Quote 0
            • robi
              robi last edited by

              @potemkin_ai

              Check Cloudron services to make sure your TURN server is working.

              Otherwise, I would uninstall and reinstall to make sure the port is unchanged everywhere.

              Is any other upstream firewalling or routing happening or do you have a public IP for it?

              It's been pretty bulletproof here otherwise.

              Life of Advanced Technology

              potemkin_ai 1 Reply Last reply Reply Quote 0
              • potemkin_ai
                potemkin_ai @robi last edited by

                @robi thank you.
                TURN server is working and it's very fresh install of Jitsi.
                Cloudron is behind a firewall/VPN, but once you are in, there are no restrictions and another (old, undockered) Jitsi works just fine here.

                robi 1 Reply Last reply Reply Quote 0
                • robi
                  robi @potemkin_ai last edited by

                  @potemkin_ai and your fw has open ports for the Cloudron TURN server?

                  Life of Advanced Technology

                  1 Reply Last reply Reply Quote 0
                  • nebulon
                    nebulon Staff last edited by

                    I think you have to report this upstream as we are no jitsi experts here and given that the other instances of the package on Cloudron work fine, this may be some specific error with your routing setup. Generally only on the 3rd partivipant the video (and audio) bridge will be used but that is pretty much just a simple relay.

                    potemkin_ai 1 Reply Last reply Reply Quote 0
                    • potemkin_ai
                      potemkin_ai @nebulon last edited by

                      @nebulon I don't think that would be accepted, as I have the very same Jitsi running non-containerised and it works just fine.

                      I reinstalled the Jitsi again and it seems like working fine for now - will keep on testing 🤞🏻

                      O 1 Reply Last reply Reply Quote 2
                      • O
                        opensourced @potemkin_ai last edited by

                        @potemkin_ai have you made progess so far?

                        I have been running into the similar (if not even the same) issue here. My VM is behind a firewall in a LAN. Ports are open and everything is ready to go, but sound and image doesn't work.

                        The interesting thing is, that running Jitsi on Yunohost, works like a charm. Compared to your situation with your other working instance of Jitsi, i would assume a configuration issue. I have started analyzing the config files, however not found a solution so far.

                        If i find a solution, i will post it here...

                        Cheers

                        potemkin_ai 1 Reply Last reply Reply Quote 0
                        • potemkin_ai
                          potemkin_ai @opensourced last edited by

                          @opensourced I end up giving up on Jitsi on CloudRon unfortunately.
                          I'm not sure if it's something specific to Docker-izing it (as I had the same problems earlier, when it was Docker-ized under CapRover) or not.

                          The problem is that it doesn't work sporadically and troubleshooting it close to impossible, especially, since the problems are not easy to reproduce.

                          I returned to a dedicated host with Jitsi that I setup and upgrade (read: re-install) with this wonderful script - it worked without issues for me for half of the year, hope it would keep doing so going further.

                          @nebulon , JFYI.

                          O 1 Reply Last reply Reply Quote 1
                          • O
                            opensourced @potemkin_ai last edited by

                            @potemkin_ai Well thats pretty frustrating... jitsi would be a key feature for my clients to decide for cloudron. Anyway, I guess i will invest another afternoon before i will drop my work on this front.

                            @nebulon If you are interested in debugging this issue, I would be happy to provide a vm with ssh access to get this issue solved. Where can i actually find the cloudron-jitsi repo? Didnt find it on your Github...

                            nebulon 1 Reply Last reply Reply Quote 0
                            • nebulon
                              nebulon Staff @opensourced last edited by

                              @opensourced the repo for the Cloudron package is at https://git.cloudron.io/cloudron/jitsi-app

                              Thanks for the offer, but it is not quite clear how a VM will help us to reproduce this. At least I wasn't able to reproduce this on a few Cloudrons I've tried and eventually gave up.

                              robi O 2 Replies Last reply Reply Quote 1
                              • robi
                                robi @nebulon last edited by

                                @opensourced

                                I agree with @nebulon here, as we have a client running the MS hypervisor with a VM for Cloudron on a NATed and dynamic IP with no issues.

                                If you plumb everything correctly, Jitsi just works.

                                Life of Advanced Technology

                                potemkin_ai 1 Reply Last reply Reply Quote 1
                                • potemkin_ai
                                  potemkin_ai @robi last edited by

                                  @robi any ideas what can I plumb incorrectly, if I just installed Jitsi on CloudRon and sometimes it works and sometimes - not?

                                  At the very same time, Jitsi installed from the script I mentioned earlier, on the server at the very same environment, without Docker, works bulletproof?

                                  robi 1 Reply Last reply Reply Quote 0
                                  • robi
                                    robi @potemkin_ai last edited by

                                    @potemkin_ai

                                    Docker isn't the issue, especially since it works for most of us here. No sense in blaming Jitsi either.

                                    So look at networking gear settings and how they handle all the connections that Jitsi requires.

                                    If it's intermittent, it could be a timing issue or port setup issue upstream from Cloudron. No sense in blaming Cloudron.

                                    Map out each hop and troubleshoot without skipping steps or making bad assumptions.

                                    Understanding the issue is key.

                                    Life of Advanced Technology

                                    potemkin_ai 1 Reply Last reply Reply Quote 0
                                    • potemkin_ai
                                      potemkin_ai @robi last edited by

                                      @robi apologies, not sure when I blamed anyone and I don't really understand how to apply your words to my real-life experience here... It doesn't work (stable) when running on Cloudron; it does work when installed with a script with Docker. As easy as that.

                                      Understanding the issue is key.

                                      Agree. And here are the facts:

                                      It didn't work (stable) when installed on CapRover as a one-click-application. It did work like a rock when installed from the script.

                                      Could it be a mixture of virtualization (my provider uses KVM) and Docker and Linux - maybe.
                                      None of us seems to know that. But I see what I see - Jitsi running on Ubuntu Linux 18.04 and Ubuntu Linux 20.04 on top of KVM inside Docker is not stable.
                                      One thing I can in common here - it's KVM, Docker & Jitsi.

                                      It doesn't seem like anyone involved has resources and or knowledge to troubleshoot this, so I see quite reasonable to repeat myself: "I'm not sure if it's something specific to Docker-izing it (as I had the same problems earlier, when it was Docker-ized under CapRover) or not."

                                      robi 1 Reply Last reply Reply Quote 0
                                      • robi
                                        robi @potemkin_ai last edited by

                                        @potemkin_ai said in No sound in Jitsi...:

                                        apologies, not sure when I blamed anyone

                                        It's not about blaming people or that you did so, it's about finding fault with systems that work for nearly everyone else.

                                        You're posting here, in a Cloudron forum, where Jitsi, docker and the entire stack just works. 😄

                                        You had a "reading" / port issue, so this topic is solved. Right? ✔

                                        Perhaps it's time you look at a different VPS provider, or ask in another topic which ones have no issues with having Jitsi installed.

                                        Life of Advanced Technology

                                        potemkin_ai 1 Reply Last reply Reply Quote 0
                                        • potemkin_ai
                                          potemkin_ai @robi last edited by

                                          @robi my issue is not solved; changing an ISP just to offer users to work as a guinea pig is nor easy for any complex setup, nor client-friendly.

                                          In a way I understood, there is nothing to be done on the topic, so my best offer is to settle this as a know-issue, luckily happening not with everyone or not happening under Microsoft Hypervisor and that is has no know root cause and hence no resolution.

                                          robi 1 Reply Last reply Reply Quote 0
                                          • robi
                                            robi @potemkin_ai last edited by

                                            @potemkin_ai I hear you, and the frustration behind this, however you did manage to get sound working after fixing the port issue.

                                            Hence the topic is marked solved.

                                            The other issues you are having are not related to Cloudron or it's supported use. That part is up to you, right?

                                            ISPs are highly complex stacks with many moving parts.

                                            From the networking equipment, firewall rules and other protection and network address translation technologies, each is different.

                                            Then comes the virtualization stack and configuration, and another layer of networking specific to that inner stack.

                                            Then you get into the OS install and Cloudron managing itself.

                                            I hope you can appreciate that this forum helped you solve a self caused user error.

                                            I don't agree with your conclusions, hence I am replying here to help you see where to look, however my time is limited and free consulting has its limits.

                                            Inconvenience or not, your unmentioned choice of ISP and many nested stack isn't working for you as you expect. Hence the suggestion to try another ISP, many of which offer free trials even.

                                            Life of Advanced Technology

                                            potemkin_ai 1 Reply Last reply Reply Quote 0
                                            • potemkin_ai
                                              potemkin_ai @robi last edited by

                                              @robi said in No sound in Jitsi...:

                                              however you did manage to get sound working after fixing the port issue.
                                              Hence the topic is marked solved.

                                              Not quite. I had two issues:
                                              -1. Related to the port. Fixed. Indeed.
                                              -2. Blinking issue with Jitsi not-working from time to time.

                                              Everything I say here is about second problem.
                                              And yes, I'm aware how ISP works. I used to work for at telecom and other interesting places with a very extensive tech. stack.

                                              Hope that makes sense.

                                              1 Reply Last reply Reply Quote 0
                                              • O
                                                opensourced @nebulon last edited by

                                                @nebulon I actually have set up several Cloudron instances and none of them is able to get Jitsi to work. I suppose that if I provide a fresh VM, it wont be able to get it working either. Therefore it might be suitable for debugging.

                                                (I still want to mention at this point that its neither port related, nor a networking issue as I have a working Jitsi (from Yunohost) on one of my VMs)

                                                What do you think?

                                                girish 1 Reply Last reply Reply Quote 1
                                                • girish
                                                  girish Staff @opensourced last edited by

                                                  @opensourced Can you tell us on which VPS provider you tried to setup Jitsi? We can then test them out there. Our cloudron/jitsi instances are hosted in DO and they work fine there atleast.

                                                  O 1 Reply Last reply Reply Quote 1
                                                  • O
                                                    opensourced @girish last edited by

                                                    @girish We do have our own server farm in a data center. As host for our VMs, we use Proxmox.

                                                    girish 1 Reply Last reply Reply Quote 1
                                                    • girish
                                                      girish Staff @opensourced last edited by

                                                      @opensourced Think we found a few variables that we can set in Jitsi (that the package currently does not set). We will release a new package shortly with the changes.

                                                      potemkin_ai O 2 Replies Last reply Reply Quote 1
                                                      • potemkin_ai
                                                        potemkin_ai @girish last edited by

                                                        @girish thanks, I'm still looking for ways to move Jitsi running on Cloudron, and would love to unroll my manual installation server.

                                                        1 Reply Last reply Reply Quote 0
                                                        • nebulon
                                                          nebulon Staff last edited by

                                                          The latest package now has a TCP harvester port defaulting to 4443. At least in my tests changing that or the UDP harvester port 10000 will result in no connectivity. Not sure how to fix this, but hopefully adding TCP improves the situation.

                                                          The NAT settings were unclear to me as what to set when using a docker bridge, so those are not part of this package release but hopefully we get down to what they should be set to for the next release then.

                                                          potemkin_ai robi 2 Replies Last reply Reply Quote 0
                                                          • potemkin_ai
                                                            potemkin_ai @nebulon last edited by

                                                            @nebulon thank you!
                                                            I've run out of the patience limit for my clients, so I've got to wait for the next package release. Keep fingers crossed!

                                                            1 Reply Last reply Reply Quote 0
                                                            • robi
                                                              robi @nebulon last edited by

                                                              @nebulon said in No sound in Jitsi...:

                                                              The NAT settings were unclear to me as what to set when using a docker bridge, so those are not part of this package release but hopefully we get down to what they should be set to for the next release then.

                                                              At the bottom of the variables page @girish found, there's a link to a previous page -> docker guide that has NAT info and reverse proxy setup considerations.

                                                              Life of Advanced Technology

                                                              1 Reply Last reply Reply Quote 1
                                                              • O
                                                                opensourced @girish last edited by

                                                                @girish I'm glad to see your efforts put in this issue. I think we are getting closer! I looked at the sip-communicator config of yunohost - as their jitsi is working on my systems and they actually set those variables.

                                                                A further indication that this is the only missing piece is this thread here...

                                                                Are there environment variables for the local and the public IPs? I would like to test this.

                                                                1 Reply Last reply Reply Quote 2
                                                                • potemkin_ai
                                                                  potemkin_ai last edited by

                                                                  @girish , I understand this topic is marked as solved and might fall out of sight - so I'm wondering if there are any updates on that?

                                                                  1 Reply Last reply Reply Quote 1
                                                                  • First post
                                                                    Last post
                                                                  Powered by NodeBB