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
32 Posts 6 Posters 1.9k 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.
  • mdc773M mdc773

    myself and others in the community sometimes get reconnected to the room

    I am wondering if anyone else is experiencing this as well

    maybe its a bug

    MiroTalkM Offline
    MiroTalkM Offline
    MiroTalk
    wrote on last edited by
    #5

    @mdc773 said in reconnecting to the meeting randomly:

    myself and others in the community sometimes get reconnected to the room

    The cause could be:

    1. Network Instability: Temporary internet disruptions, such as mobile devices switching between 3G and 4G, or high latency, may lead to participants reconnecting.
    2. Server Restarts: If the server is restarted, for instance, after updates, participants may reconnect when the MiroTalk instance becomes available again.
    3. WebRTC Behavior: WebRTC may renegotiate connections under certain conditions, which can appear as reconnections.
    1 Reply Last reply
    1
    • robiR robi

      grab some logs before you tag the dev?

      MiroTalkM Offline
      MiroTalkM Offline
      MiroTalk
      wrote on last edited by
      #6

      @robi said in reconnecting to the meeting randomly:

      grab some logs before you tag the dev?

      I agree. If anyone believe something is not working as expected, please follow this template to report it to us.

      Thank you for your collaboration.

      1 Reply Last reply
      5
      • mdc773M Offline
        mdc773M Offline
        mdc773
        wrote on last edited by mdc773
        #7

        well we are still having the issues where at random time participant get kicked out the room or disconnects

        Feb 26 14:31:48 peer_id: 'FTkmsYWM2d4mZt5FAAAD',
        Feb 26 14:31:48 peer_name: 'm@vigilante.media'
        Feb 26 14:31:48 }
        Feb 26 14:31:48 [2/26/2025, 20:31:48:187] [Server] [Disconnect] - peer name { peer_name: 'm@vigilante.media', reason: 'transport close' } +8s
        Feb 26 14:31:48 [2/26/2025, 20:31:48:188] [Peer] Producer "transportclose" event { producerId: 'ef3d56f3-c90e-4373-8e03-8271c1bcc6dd' } +1m
        Feb 26 14:31:48 [2/26/2025, 20:31:48:189] [Peer] Producer closed and deleted {
        Feb 26 14:31:48 peer_name: 'm@vigilante.media',
        Feb 26 14:31:48 kind: 'audio',
        Feb 26 14:31:48 type: 'simple',
        Feb 26 14:31:48 appData: { mediaType: 'audioType' },
        Feb 26 14:31:48 producer_id: 'ef3d56f3-c90e-4373-8e03-8271c1bcc6dd',
        Feb 26 14:31:48 producer_closed: true
        Feb 26 14:31:48 } +0ms
        Feb 26 14:31:48 [2/26/2025, 20:31:48:190] [Peer] Producer "transportclose" event { producerId: '4343d7ac-1186-4d54-a29a-0fa45546242c' } +1ms
        Feb 26 14:31:48 [2/26/2025, 20:31:48:190] [Peer] Producer closed and deleted {
        Feb 26 14:31:48 peer_name: 'mellows@vigilante.media',
        Feb 26 14:31:48 kind: 'video',
        Feb 26 14:31:48 type: 'simulcast',
        Feb 26 14:31:48 appData: { mediaType: 'screenType' },
        Feb 26 14:31:48 producer_id: '4343d7ac-1186-4d54-a29a-0fa45546242c',
        Feb 26 14:31:48 producer_closed: true
        Feb 26 14:31:48 } +0ms
        Feb 26 14:31:48 [2/26/2025, 20:31:48:191] [Room] ---> transport close [id:'5b14614c-5f7e-4cf4-a51b-aa2aa1886015'] +1m
        Feb 26 14:31:48 [2/26/2025, 20:31:48:191] [Peer] Closed and deleted peer transport {
        Feb 26 14:31:48 transportInternal: {
        Feb 26 14:31:48 routerId: '7ad8cd28-5822-4399-b159-a28dbfc56f51',
        Feb 26 14:31:48 transportId: '5b14614c-5f7e-4cf4-a51b-aa2aa1886015'
        Feb 26 14:31:48 },
        Feb 26 14:31:48 transport_closed: true
        Feb 26 14:31:48 } +0ms
        Feb 26 14:31:48 [2/26/2025, 20:31:48:192] [Peer] Consumer "transportclose" event { consumerId: 'c6bbf162-07f6-438e-b8e8-f43e2e749f76' } +0ms
        Feb 26 14:31:48 [2/26/2025, 20:31:48:193] [Peer] Consumer closed and deleted {
        Feb 26 14:31:48 peer_name: 'm@vigilante.media',
        Feb 26 14:31:48 kind: 'audio',
        Feb 26 14:31:48 type: 'simple',
        Feb 26 14:31:48 consumer_id: 'c6bbf162-07f6-438e-b8e8-f43e2e749f76',
        Feb 26 14:31:48 consumer_closed: true
        Feb 26 14:31:48 } +0ms
        Feb 26 14:31:48 [2/26/2025, 20:31:48:193] [Peer] Consumer "transportclose" event { consumerId: '661b2825-3b1b-4af1-8b24-9296db3a63e6' } +0ms
        Feb 26 14:31:48 [2/26/2025, 20:31:48:194] [Peer] Consumer closed and deleted {
        Feb 26 14:31:48 peer_name: 'm@vigilante.media',
        Feb 26 14:31:48 kind: 'audio',
        Feb 26 14:31:48 type: 'simple',
        Feb 26 14:31:48 consumer_id: '661b2825-3b1b-4af1-8b24-9296db3a63e6',
        Feb 26 14:31:48 consumer_closed: true
        Feb 26 14:31:48 } +0ms
        Feb 26 14:31:48 [2/26/2025, 20:31:48:194] [Room] ---> transport close [id:'09a401c7-579a-406b-9261-ef36098553d6'] +3ms
        Feb 26 14:31:48 [2/26/2025, 20:31:48:195] [Peer] Closed and deleted peer transport {
        Feb 26 14:31:48 transportInternal: {
        Feb 26 14:31:48 routerId: '7ad8cd28-5822-4399-b159-a28dbfc56f51',
        Feb 26 14:31:48 transportId: '09a401c7-579a-406b-9261-ef36098553d6'
        Feb 26 14:31:48 },
        Feb 26 14:31:48 transport_closed: true
        Feb 26 14:31:48 } +1ms
        Feb 26 14:31:48 [2/26/2025, 20:31:48:195] [Peer] CLOSE PEER - CHECK TRANSPORTS | PRODUCERS | CONSUMERS {
        Feb 26 14:31:48 peer_id: '3kGfBu-P62OrmafAAAAN',
        Feb 26 14:31:48 peer_name: 'm@vigilante.media',
        Feb 26 14:31:48 peerTransports: [],
        Feb 26 14:31:48 peerProducers: [],
        Feb 26 14:31:48 peerConsumers: []
        Feb 26 14:31:48 } +0ms
        Feb 26 14:31:48 [2/26/2025, 20:31:48:196] [Server] [REMOVE ME DATA] {
        Feb 26 14:31:48 room_id: 'allwelcome',
        Feb 26 14:31:48 peer_id: '3kGfBu-P62OrmafAAAAN',
        Feb 26 14:31:48 peer_name: 'm@vigilante.media',
        Feb 26 14:31:48 peer_counts: 2,
        Feb 26 14:31:48 isPresenter: true
        

        Hopefully this is log show the error?

        1 Reply Last reply
        0
        • avatar1024A Offline
          avatar1024A Offline
          avatar1024
          wrote on last edited by avatar1024
          #8

          I'm also experiencing frequent disconnect with MiroTalk, especially when using Chromium, but also regularly with Firefox. It works fine with other conferencing software (Jitsi/Meet/Zoom/Teams). When I mean frequent I mean something like almost every 5min at times. And when not that frequent it is at least several times per meeting.

          The message on screen is Producer transport closed, I get disconnected and it reloads and reconnects me right away. But still it is quite disturbing.

          I can attach the full log if necessary but I think the relevant message may be something like this:

          2025-02-24T12:28:52Z [2/24/2025, 12:28:52:913] [Server] [Disconnect] - peer name { peer_name: 'Gauthier', reason: 'transport close' } +2s
          

          @MiroTalk said in reconnecting to the meeting randomly:

          The cause could be:

          1. Network Instability: Temporary internet disruptions, such as mobile devices switching between 3G and 4G, or high latency, may lead to participants reconnecting.
          2. Server Restarts: If the server is restarted, for instance, after updates, participants may reconnect when the MiroTalk instance becomes available again.
          3. WebRTC Behavior: WebRTC may renegotiate connections under certain conditions, which can appear as reconnections.

          I can confirm that it is definitely not 2 as I'm not reboot the server and everything else on it runs just fine.
          On 1., it indeed seems to happen more often when on mobile data. But again, it does not happen with any other platform. And it also happens (maybe a bit less frequently) when using the fibre broadband at home. On 3., possibly something to do with WebRTC, but in my case they are actual disconnections. I drop out of the meeting completely, MiroTalk shows the error message, then then and I get reconnected automatically.

          One thing I've noticed is that it seems less frequent (or even not happening) for people connecting from a Windows PC (I'm on Linux).

          Nevertheless I have been promoting MiroTalk as it is a great piece of software otherwise. It's a real shame I have some reliability issues.

          mdc773M 1 Reply Last reply
          2
          • avatar1024A avatar1024

            I'm also experiencing frequent disconnect with MiroTalk, especially when using Chromium, but also regularly with Firefox. It works fine with other conferencing software (Jitsi/Meet/Zoom/Teams). When I mean frequent I mean something like almost every 5min at times. And when not that frequent it is at least several times per meeting.

            The message on screen is Producer transport closed, I get disconnected and it reloads and reconnects me right away. But still it is quite disturbing.

            I can attach the full log if necessary but I think the relevant message may be something like this:

            2025-02-24T12:28:52Z [2/24/2025, 12:28:52:913] [Server] [Disconnect] - peer name { peer_name: 'Gauthier', reason: 'transport close' } +2s
            

            @MiroTalk said in reconnecting to the meeting randomly:

            The cause could be:

            1. Network Instability: Temporary internet disruptions, such as mobile devices switching between 3G and 4G, or high latency, may lead to participants reconnecting.
            2. Server Restarts: If the server is restarted, for instance, after updates, participants may reconnect when the MiroTalk instance becomes available again.
            3. WebRTC Behavior: WebRTC may renegotiate connections under certain conditions, which can appear as reconnections.

            I can confirm that it is definitely not 2 as I'm not reboot the server and everything else on it runs just fine.
            On 1., it indeed seems to happen more often when on mobile data. But again, it does not happen with any other platform. And it also happens (maybe a bit less frequently) when using the fibre broadband at home. On 3., possibly something to do with WebRTC, but in my case they are actual disconnections. I drop out of the meeting completely, MiroTalk shows the error message, then then and I get reconnected automatically.

            One thing I've noticed is that it seems less frequent (or even not happening) for people connecting from a Windows PC (I'm on Linux).

            Nevertheless I have been promoting MiroTalk as it is a great piece of software otherwise. It's a real shame I have some reliability issues.

            mdc773M Offline
            mdc773M Offline
            mdc773
            wrote on last edited by
            #9

            @avatar1024 same here my team states that sometime every 2 to 5 mins it reconnects like almost every day 😕

            1 Reply Last reply
            0
            • mdc773M Offline
              mdc773M Offline
              mdc773
              wrote on last edited by
              #10

              its be nice to find a solution 🙂

              1 Reply Last reply
              0
              • MiroTalkM Offline
                MiroTalkM Offline
                MiroTalk
                wrote on last edited by
                #11

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

                avatar1024A 1 Reply Last reply
                4
                • 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
                                          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