Fail to install and configure Nextcloud Signaling + Coturn

What app is this about, and its version: Nextcloud Signaling 2.1.1~ynh1
What YunoHost version are you running: 12.1.40.1
What type of hardware are you using: Old laptop or computer

Describe your issue

Hi,

I installed CoTurn, and then i installed Nextcloud Signaling, but it’s not working (i can’t make video-conference with people outside my network).

Note about the installation of Nextcloud Signaling:
I had to use the ‘pwd__YOUR_DOMAIN’ instead of the “shared secret”.
Using the “shared secret” i can’t create a conv.

Using the “pwd__YOUR_DOMAIN"i can create conversation.

See this ticket: Bug report: Generated HPB passwords are not visible in the YunoHost interface · Issue #14 · YunoHost-Apps/nextcloud-signaling_ynh · GitHub

Also, i needed to open the 5349 port both in TCP & UDP (i found this by running YNH Diag, because the coturn postinstall doesn’t say anything about opening a special port)

Maybe i missed something: Do i need to install the CoTurn server on a different machine? (right now, i have 3 soft on the same machine: YNH with NC+NC Signaling+CoTurn)

Share relevant logs or error messages

Running the Coturn test from here: Trickle ICE , i got this error
The server turn:coturn.mydomain.tld:5349 returned an error with code=401

Log CoTurn: hastebin
Log Janus: hastebin
Log Nats-server: hastebin
Log Nextcloud Signaling: hastebin

Seeing this post: Installer generated user and password doesn't work. · Issue #43 · YunoHost-Apps/coturn_ynh · GitHub ,

  1. I disable auth from /etc/turnserver.conf and enable no-auth (commenting user and password, and adding no-auth).
  2. Then testing again with Trickle ICE , i got this new error: The server turn:coturn.mydomain.tld:5349 returned an error with code=701:

Seeing this commit: Enh udp 443 by zamentur · Pull Request #31 · YunoHost-Apps/coturn_ynh · GitHub

  1. i create this file:
    sudo nano /etc/yunohost/hooks.d/post_iptable_rules/60-coturn
  2. and i add this inside:
    #!/bin/bash
    iptables -t nat -A PREROUTING -p UDP --dport 443 -j REDIRECT --to-ports 5349
  3. then i reload my firewall: sudo yunohost firewall reload

Testing from trickle ICE i still have this error: The server turn:coturn.mydomain.tld:5349 returned an error with code=701:
Testing from nextcloud talk: i can’t connect to someone outside my local network

testing from Trickle ICE , all of this test return the same error: “returned an error with code=701:”

  • turn:coturn.mydomain.tld:5349
  • turn:coturn.mydomain.tld:443
  • turn:coturn.mydomain.tld:443?transport=udp

It seems that the problem come from Coturn.

Anyone has an idea on how to configure Coturn?