Error installing Miro SFU
-
@MiroTalk thanks for the clear explanation. Since Cloudron does not support dynamic configuration of the firewall while an app is running, the explicit port range (40000:40100) is great then and we will just not enable the
webRtcServer
, as the default is anyways. So looks like we are all set with SFU version then. -
Great, and yes it all seems to be working well, except for the authentication issue. But I don't know if this is an upstream issue or specific to the Cloudron package. @MiroTalk, any clues?
-
@nebulon said in Error installing Miro SFU:
thanks for the clear explanation. Since Cloudron does not support dynamic configuration of the firewall while an app is running, the explicit port range (40000:40100) is great then and we will just not enable the webRtcServer, as the default is anyways. So looks like we are all set with SFU version then.
You're welcome! Sure thing, just stick with the default port range configuration. Just double-check they're not in use by other services and aren't blocked by the firewall, and you're good to go!
-
Hi @avatar1024, it should be
already fixed
. Are you still encountering the same issue with MiroTalk SFU latest version? If yes, could you please provide the exact steps to reproduce it? Thank you. -
@MiroTalk Yes I just treid again last night and still have the issues:
Steps are:
- go and edit the config.js file
- set protected: true (but leave user_auth: false)
- uncomment the lines regarding usernames and passwords
- Restart the app
- launch the app, there I am prompt for a login
- login using details set in the config.js file
- Create a room
- take another computer (or my phone in 5g), try to connect to the room (e.g. talksfu.chourmo.net/join/test), but there I land on a login page and I have to login to be able to join.
my config.js file:
// All options at https://github.com/miroslavpejic85/mirotalksfu/blob/main/app/src/config.template.js module.exports = { host: { /* Host Protection (default: false) To enhance host security, enable host protection - user auth and provide valid usernames and passwords in the users array. */ protected: true, user_auth: false, users: [ { username: 'gusername', password: 'password', }, { username: 'username2', password: 'password2', }, ] }, presenters: { /* By default, the presenter is identified as the first participant to join the room, distinguished by their username and UUID. Additional layers can be added to specify valid presenters and co-presenters by setting designated usernames. */ list: [], join_first: true, // Set to true for traditional behavior, false to prioritize presenters } };
I'll leave the test room open for a while if you wanna try to join (you can use username2 if you like, username1 won't work though)
-
@avatar1024 said in Error installing Miro SFU:
try to connect to the room (e.g. talksfu.chourmo.net/join/test), but there I land on a login page and I have to login to be able to join.
I just went there too and do indeed see this:
-
@avatar1024 As I can see you are using MiroTalk SFU @version
1.3.95
, update please to latest1.4.11
and try again. Thank you. -
@avatar1024 Ops, my typo error, fixed in this commit. Ok, We'll take a look at it again. Thank you.
-
@avatar1024 Just to add that the issue is also there with p2p version.
-
@jdaviescoates said in Error installing Miro SFU:
@jdaviescoates said in Error installing Miro SFU:
I just updated Cloudron to 7.7.1 and tried to install Miro SFU but I got this error:
An error occurred during the install operation: Docker Error: (HTTP code 500) server error - driver failed programming external connectivity on endpoint 45483bcf-5f54-47ef-b28d-a13d377e493c (947cbd4cbf34d00ad0c0e0a55e41113ab4505551212b3cffa5c45768c2f29908): listen udp4 0.0.0.0:40026: bind: address already in use
This no longer happens with the latest version.
Nor this:
Looking forward to trying this out in an actual meeting soon! Thanks all
Oh, strange. Actually whilst on 1.4.11 Cloudron package 0.4.0 it did still do the same thing again:
The configure operation failed with the following error: Docker Error: (HTTP code 500) server error - driver failed programming external connectivity on endpoint dbe699a5-2cf0-46bc-80d8-2445c327f52c (20cbe800ec18f4d4e5ebc030db6fa822a5ec0d47d48172970d6dfff1f8fd096f): listen tcp4 0.0.0.0:40092: bind: address already in use
But then it worked again after hitting the Retry configure button.
Now going to update to the latest packages to test the auth issue people are having too...
-
@jdaviescoates the same thing happened when updating, so I just uninstalled and started again with the latest package which installed fine...
-
@avatar1024 Yes, I also have the same problem. I can't log in to the Miro website when I set the password for the host or users
-
@jdaviescoates that error is known and mostly fixed in Cloudron pending a release, please stop reporting that.
-
@nebulon I was reporting the fact that the error had gone away, but then it came back again.
I figured the fix must've already been released (and hence why the error went away), but thanks for the update that the fix for that error hasn't actually been released yet!
(but something has obviously changed wrt to that error as before it always happened, whereas apparently now it's only intermittent).
-
Right, so the issue is, that docker uses/used random free ports for logging on the system and sometimes those conflict with the port range for mirotalk. This is why it "randomly" happens. The fix is in the platform, pending a Cloudron release, not a mirotalk package.
-
@nebulon
Just tried setting up the MiroTalk SFU for the first time.I'm a bit surprised that it's marked as stable, as currently, it's pretty impractical trying to get it to work.
Because:- I was able to get it to work only after repeated cycles of editing the port, and starting Installation.
- Even when installed, when i try to restart the app after a modification in the config.js file, the same vicious cycle starts again.
Is there no workaround for now?
-
@jdaviescoates yes, I'm on 7.7.2