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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. MiroTalk
  3. reconnecting to the meeting randomly

reconnecting to the meeting randomly

Scheduled Pinned Locked Moved MiroTalk
mirotalksfu
31 Posts 6 Posters 1.8k Views 6 Watching
  • 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.
  • MiroTalkM MiroTalk

    I’ve opened a thread here to discuss best strategies for handling unstable connections in mediasoup (built-in MiroTalk SFU server).

    avatar1024A Offline
    avatar1024A Offline
    avatar1024
    wrote on last edited by avatar1024
    #12

    @MiroTalk said in reconnecting to the meeting randomly:

    I’ve opened a thread here to discuss best strategies for handling unstable connections in mediasoup (built-in MiroTalk SFU server).

    Really interesting thread, and making those changes for network interruptions might well work and do the trick for what we've experienced here (preventing the browser to close transport etc.).

    I would just like to point out that in my case:

    • There does not seem to be any network interruptions when the meeting connection drops. Everything else runs just fine, my wifi stays up and running, pages are loading, downloads are happening, etc.
    • The connection to the meeting does already restart automatically, although I don't stay in the room. I am kicked out but I rejoin automatically (I don't need to manually refresh the page).
    1 Reply Last reply
    1
    • jdaviescoatesJ jdaviescoates referenced this topic on
    • avatar1024A Offline
      avatar1024A Offline
      avatar1024
      wrote on last edited by avatar1024
      #13

      Things seems to have gone better for a while. But since the past couple of days it's gone really bad again. It feels like it is something on my end given other participants do not have those constant disconnections. Yet my internet seems very stable and for example with Jitsi or Teams (🤮) it's working totally fine and I have no disconnections...

      I can't see anything in particular in the logs but happy to share the full log with @MiroTalk if useful.

      I tried both with chromium and firefox and on two different servers (both cloudron with fresh install of mirotalk sfu)

      avatar1024A 1 Reply Last reply
      1
      • avatar1024A avatar1024

        Things seems to have gone better for a while. But since the past couple of days it's gone really bad again. It feels like it is something on my end given other participants do not have those constant disconnections. Yet my internet seems very stable and for example with Jitsi or Teams (🤮) it's working totally fine and I have no disconnections...

        I can't see anything in particular in the logs but happy to share the full log with @MiroTalk if useful.

        I tried both with chromium and firefox and on two different servers (both cloudron with fresh install of mirotalk sfu)

        avatar1024A Offline
        avatar1024A Offline
        avatar1024
        wrote on last edited by
        #14

        I have created a bug report: https://github.com/miroslavpejic85/mirotalksfu/issues/200

        1 Reply Last reply
        2
        • avatar1024A Offline
          avatar1024A Offline
          avatar1024
          wrote on last edited by avatar1024
          #15

          @mirotalk-57bab571 made improvements to the logic but unfortunately the issue is still present for me with disconnection every few minutes. I was able to capture logs from the MiroTalk app and from the browser console when a disconnection happen. See there: https://github.com/miroslavpejic85/mirotalksfu/issues/200#issuecomment-2804775013

          In fact I have noticed the issue happen even if no one else is the meeting, so if I leave a meeting running with only me in it, it disconnects every few minutes (though just to be clear, sometimes it holds fine too, but more often than not, I get those disconnections).

          @MiroTalk, or anyone else, any clues?

          1 Reply Last reply
          1
          • robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #16

            What happens in a different browser?

            Conscious tech

            avatar1024A 1 Reply Last reply
            1
            • robiR robi

              What happens in a different browser?

              avatar1024A Offline
              avatar1024A Offline
              avatar1024
              wrote on last edited by
              #17

              @robi the same thing happened on both chrome-based (ungoogled chromium) and Firefox.

              robiR 1 Reply Last reply
              0
              • avatar1024A avatar1024

                @robi the same thing happened on both chrome-based (ungoogled chromium) and Firefox.

                robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #18

                @avatar1024 did you try a session with all plugins disabled, just to make sure there's no interference?

                Conscious tech

                avatar1024A 1 Reply Last reply
                1
                • robiR robi

                  @avatar1024 did you try a session with all plugins disabled, just to make sure there's no interference?

                  avatar1024A Offline
                  avatar1024A Offline
                  avatar1024
                  wrote on last edited by
                  #19

                  @robi Thank you for your help. I haven't enabled any specific plugins, it's on a fresh install with the default config file.

                  jdaviescoatesJ 1 Reply Last reply
                  0
                  • avatar1024A avatar1024

                    @robi Thank you for your help. I haven't enabled any specific plugins, it's on a fresh install with the default config file.

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #20

                    @avatar1024 I think @robi is referring to browser plugins 🙂

                    I use Cloudron with Gandi & Hetzner

                    1 Reply Last reply
                    2
                    • avatar1024A Offline
                      avatar1024A Offline
                      avatar1024
                      wrote on last edited by
                      #21

                      Ungoogled chromium has no plugins whatsoever installed (in fact it's rather complicated to install anything on it 😅)

                      1 Reply Last reply
                      1
                      • robiR Offline
                        robiR Offline
                        robi
                        wrote on last edited by
                        #22

                        I've had different timeouts across different browsers so they lose connection on things like Cloudron web-terminal sessions, which then reload losing the work, unless using screen etc.

                        Sometimes there is also aggressive memory management for tabs that wants to unload things that look idle or use a bunch of RAM.

                        Check the performance settings of the browsers to see if it's set.

                        Conscious tech

                        1 Reply Last reply
                        1
                        • avatar1024A Offline
                          avatar1024A Offline
                          avatar1024
                          wrote last edited by avatar1024
                          #23

                          Right so, I have an update on this. It seems indeed that the disconnect have to do with the quality of the connectivity. I went away from home for a month and had much lesser issue in that other place (in fact none).

                          At home we have one router and two repeaters. It seems like depending on a how the laptop connects to the broadband impacts how frequently I get disconnections (i.e. whether it connects to a repeater / to the main router / over wifi 5 / over wifi 6E). I also get frequent disconnections when behind a VPN or over 4g/5g.

                          So while in optimum situations with very direct wifi the issue does not occur and MiroTalk functions correctly, it's still, I believe, a problem with how the app is optimized with regards to packet losses because I none of these issues using Jitsi, Teams, Zoom or Meet.

                          When I try my connection in any scenarios (at home connected to any device, or on 4g/5g) on here: https://test.vsee.com/network/index.html, it shows always between Good and Excellent.

                          @mirotalk-57bab571, any clues?

                          MiroTalkM 1 Reply Last reply
                          1
                          • avatar1024A avatar1024

                            Right so, I have an update on this. It seems indeed that the disconnect have to do with the quality of the connectivity. I went away from home for a month and had much lesser issue in that other place (in fact none).

                            At home we have one router and two repeaters. It seems like depending on a how the laptop connects to the broadband impacts how frequently I get disconnections (i.e. whether it connects to a repeater / to the main router / over wifi 5 / over wifi 6E). I also get frequent disconnections when behind a VPN or over 4g/5g.

                            So while in optimum situations with very direct wifi the issue does not occur and MiroTalk functions correctly, it's still, I believe, a problem with how the app is optimized with regards to packet losses because I none of these issues using Jitsi, Teams, Zoom or Meet.

                            When I try my connection in any scenarios (at home connected to any device, or on 4g/5g) on here: https://test.vsee.com/network/index.html, it shows always between Good and Excellent.

                            @mirotalk-57bab571, any clues?

                            MiroTalkM Offline
                            MiroTalkM Offline
                            MiroTalk
                            wrote last edited by
                            #24

                            @avatar1024 said in reconnecting to the meeting randomly:

                            At home we have one router and two repeaters. It seems like depending on a how the laptop connects to the broadband impacts how frequently I get disconnections (i.e. whether it connects to a repeater / to the main router / over wifi 5 / over wifi 6E). I also get frequent disconnections when behind a VPN or over 4g/5g.

                            For testing purposes, could you also try the official mediasoup demo available here: https://v3demo.mediasoup.org ?

                            If you experience the same behavior as in MiroTalk SFU, you can post your findings directly on the mediasoup support forum: https://mediasoup.discourse.group. You might discover something useful or get help from the community.

                            avatar1024A 1 Reply Last reply
                            3
                            • MiroTalkM MiroTalk

                              @avatar1024 said in reconnecting to the meeting randomly:

                              At home we have one router and two repeaters. It seems like depending on a how the laptop connects to the broadband impacts how frequently I get disconnections (i.e. whether it connects to a repeater / to the main router / over wifi 5 / over wifi 6E). I also get frequent disconnections when behind a VPN or over 4g/5g.

                              For testing purposes, could you also try the official mediasoup demo available here: https://v3demo.mediasoup.org ?

                              If you experience the same behavior as in MiroTalk SFU, you can post your findings directly on the mediasoup support forum: https://mediasoup.discourse.group. You might discover something useful or get help from the community.

                              avatar1024A Offline
                              avatar1024A Offline
                              avatar1024
                              wrote last edited by avatar1024
                              #25

                              @MiroTalk said in reconnecting to the meeting randomly:

                              For testing purposes, could you also try the official mediasoup demo available here: https://v3demo.mediasoup.org ?

                              @mirotalk-57bab571 So far I haven't been able to reproduce on the mediasoup demo, but I then went to try on the MiroTalk SFU demo (to check it wasn't specific to my own instance), and there I could reproduce within 5min! I got several / repeated disconnection/reconnection event (still with same message: Lost Connection (Transport Closed)). Btw, when this happened I went straight back to using the mediasoup demo to check and there it was stable.

                              So that seems to confirm that it has to do with something specific to the implementation in MiroTalk itself, not with Cloudron package specifically and not with the mediasoup sfu logic.

                              I pasted the log of a meeting when I had lost of disconnections when I updated the github bug report earlier this week in case useful.

                              1 Reply Last reply
                              2
                              • avatar1024A Offline
                                avatar1024A Offline
                                avatar1024
                                wrote last edited by avatar1024
                                #26

                                @mirotalk-57bab571 I've been able to capture connection quality issues as I got disconnections on MiroTalk using https://test.vsee.com/network/index.html. The two drop in connections quality coincided with the disconnections/reconnections events in MiroTalk, which somewhat explain why those events happen randomly and support the idea it has to do with the quality / reliability of my connection (see below).

                                But there is something about MiroTalk that makes it particularly sensitive to it as does not happen with any other apps.

                                Screenshot_20250606_154510.png

                                MiroTalkM 1 Reply Last reply
                                2
                                • avatar1024A avatar1024

                                  @mirotalk-57bab571 I've been able to capture connection quality issues as I got disconnections on MiroTalk using https://test.vsee.com/network/index.html. The two drop in connections quality coincided with the disconnections/reconnections events in MiroTalk, which somewhat explain why those events happen randomly and support the idea it has to do with the quality / reliability of my connection (see below).

                                  But there is something about MiroTalk that makes it particularly sensitive to it as does not happen with any other apps.

                                  Screenshot_20250606_154510.png

                                  MiroTalkM Offline
                                  MiroTalkM Offline
                                  MiroTalk
                                  wrote last edited by
                                  #27

                                  @avatar1024 said in reconnecting to the meeting randomly:

                                  But there is something about MiroTalk that makes it particularly sensitive to it as does not happen with any other apps.

                                  Work in progress...

                                  avatar1024A 1 Reply Last reply
                                  1
                                  • MiroTalkM MiroTalk

                                    @avatar1024 said in reconnecting to the meeting randomly:

                                    But there is something about MiroTalk that makes it particularly sensitive to it as does not happen with any other apps.

                                    Work in progress...

                                    avatar1024A Offline
                                    avatar1024A Offline
                                    avatar1024
                                    wrote last edited by
                                    #28

                                    @MiroTalk said in reconnecting to the meeting randomly:

                                    Work in progress...

                                    Really great to hear. And again thanks for all the work. Keep us updated if you can as for me it has become impossible to keep using it for work but I'm happy to do some testing whenever changes are being implemented.

                                    1 Reply Last reply
                                    1
                                    • MiroTalkM Offline
                                      MiroTalkM Offline
                                      MiroTalk
                                      wrote last edited by MiroTalk
                                      #29

                                      Hi @avatar1024,

                                      I've made some improvements to the Socket.IO handling in MiroTalk SFU v1.8.64.

                                      If you experience any disconnections, please let me know. It would be helpful if you could provide a screenshot of what you see on the device when it happens, and let me know whether you're reconnected to the room immediately or what exactly occurs.

                                      Thank you!

                                      avatar1024A 1 Reply Last reply
                                      6
                                      • nebulonN Offline
                                        nebulonN Offline
                                        nebulon
                                        Staff
                                        wrote last edited by nebulon
                                        #30

                                        @mirotalk awesome! New app package is out with that fix.

                                        1 Reply Last reply
                                        2
                                        • MiroTalkM MiroTalk

                                          Hi @avatar1024,

                                          I've made some improvements to the Socket.IO handling in MiroTalk SFU v1.8.64.

                                          If you experience any disconnections, please let me know. It would be helpful if you could provide a screenshot of what you see on the device when it happens, and let me know whether you're reconnected to the room immediately or what exactly occurs.

                                          Thank you!

                                          avatar1024A Offline
                                          avatar1024A Offline
                                          avatar1024
                                          wrote last edited by
                                          #31

                                          @MiroTalk Thank you, great to hear! I will report if I experience any more disconnections and will provide the info you've requested.

                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search