Mirotalk - Participants can't see each other 2
-
Hello @ekevu123
No. I've also just tested with port5000.
But the ports need to be free since 100 ports will be used.
So if you set the port to5000, from port5000to port5100will be used.
If a port in that range is used by another application, the mirotalk application will have issues.@james said in Mirotalk - Participants can't see each other 2:
If a port in that range is used by another application, the mirotalk application will have issues.
You can try to enable the WebRtcServer feature by adding the following to your
envfile:SFU_SERVER=trueThen,
RESTART your instance.How it works:
- MiroTalk spawns
one Worker per CPU core by default. - Each Worker runs its own
WebRtcServeron a dedicated port. - Ports are assigned
sequentiallystarting from a base port (eg: 25000). - This approach keeps
port management simple: you only need to open as many ports as you have Workers.
Optional: You can manually set the number of Workers using:
SFU_NUM_WORKERS=4Example:
A server with 4 CPU cores (or 4 Workers) and a base port of 25000 will use the following ports:25000, 25001, 25002, 25003You only need to open these 4 ports on your firewall.
More about
here - MiroTalk spawns
-
Thank you, I will try that!
Since I faced the issue temporarily yesterday, but didn't when I tried to reproduce it with my phone, is the explanation that the port I was trying to use for the conversation was temporarily blocked, and restarting the app later re-assigned the port, so it worked again when starting a new conversation?
-
Hello @ekevu123
Thanks for reporting.I would rule out the networking issue with the ports since Cloudron does bind these ports on app startup.
Thus, the ports could only interfere on app startup, failing to start the app and not at runtime.
You can check this with:lsof -i :25000-25100So there must be something else going on for you.
Is there any pattern to this sporadically appearing issue? -
@james said in Mirotalk - Participants can't see each other 2:
Hello @ekevu123
Can you share where you are hosting your Cloudron?Netcup, root server
Don't forget, though, that the issue isn't permanent.@MiroTalk said in Mirotalk - Participants can't see each other 2:
Also make sure that the firewall on your VPS/VDS is not enabled or blocking the required ports. For example, on Amazon EC2, if the inbound security group rules for the necessary RTC ports are not configured, the service will not work...
Thank you! I only let Cloudron handle this.
-
Hello @ekevu123
Next time the issue occurs please save the following logs- The MiroTalk SFU app log
- the browser console log and network inspection log
/home/yellowtent/platformdata/logs/box.log- While this issue is occouring in the browser do:
- Chrome based browsers go to
brave://webrtc-internals/and pressDownload the "webrtc-internals dump - FireFox based browsers go to
about:webrtcand pressSave Page
- Chrome based browsers go to
This will help us to further narrow down the cause.
