reconnecting to the meeting randomly
-
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)
I have created a bug report: https://github.com/miroslavpejic85/mirotalksfu/issues/200
-
@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?
-
@robi the same thing happened on both chrome-based (ungoogled chromium) and Firefox.
-
@robi the same thing happened on both chrome-based (ungoogled chromium) and Firefox.
@avatar1024 did you try a session with all plugins disabled, just to make sure there's no interference?
-
@avatar1024 did you try a session with all plugins disabled, just to make sure there's no interference?
@robi Thank you for your help. I haven't enabled any specific plugins, it's on a fresh install with the default config file.
-
@robi Thank you for your help. I haven't enabled any specific plugins, it's on a fresh install with the default config file.
@avatar1024 I think @robi is referring to browser plugins
-
Ungoogled chromium has no plugins whatsoever installed (in fact it's rather complicated to install anything on it
)
-
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.
-
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?
-
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?
@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.
-
@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.
@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.
-
@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.
-
@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.
@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...
-
@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...
@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.
-
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!