Calls plugin not working - omnibus install

Summary
Calls cannot connect.

Steps to reproduce
On the latest 7.10.3 version.
When creating a call, it says “connecting to the call”, and then after about 30 seconds, I get a pop-up with “Connection Failed”.

Expected behavior
Would have expected it to work :slight_smile:

Observed behavior
This is a single-server, omnibus-installed MM instance.
All the other features of MM works fine.

The Calls config is:
RTC server address: empty (which I think means 127.0.0.1)
RTC server port: 8443
ICE Host Override: (set to the domain name of the MM server)
ICE Server config: left at default ([{“urls”:[“stun:stun.global.calls.mattermost.com:3478”]}])
TURN: empty
Server side TURN: false

Output of sudo lsof -n -i :8443
plugin-li 1436 mattermost 12u IPv4 37121 0t0 UDP *:8443
plugin-li 1436 mattermost 14u IPv4 34186 0t0 UDP *:8443
plugin-li 1436 mattermost 16u IPv4 24816 0t0 UDP *:8443
plugin-li 1436 mattermost 18u IPv4 34187 0t0 UDP *:8443
plugin-li 1436 mattermost 20u IPv4 37122 0t0 UDP *:8443
plugin-li 1436 mattermost 22u IPv4 24817 0t0 UDP *:8443
plugin-li 1436 mattermost 24u IPv4 24818 0t0 UDP *:8443
plugin-li 1436 mattermost 26u IPv4 37123 0t0 UDP *:8443
plugin-li 1436 mattermost 28u IPv4 34188 0t0 UDP *:8443
plugin-li 1436 mattermost 30u IPv4 34189 0t0 UDP *:8443
plugin-li 1436 mattermost 32u IPv4 37124 0t0 UDP *:8443
plugin-li 1436 mattermost 34u IPv4 24819 0t0 UDP *:8443
plugin-li 1436 mattermost 36u IPv4 34190 0t0 UDP *:8443
plugin-li 1436 mattermost 38u IPv4 34191 0t0 UDP *:8443
plugin-li 1436 mattermost 40u IPv4 34192 0t0 UDP *:8443
plugin-li 1436 mattermost 42u IPv4 37125 0t0 UDP *:8443
plugin-li 1436 mattermost 44u IPv4 34193 0t0 UDP *:8443
plugin-li 1436 mattermost 46u IPv4 37126 0t0 UDP *:8443
plugin-li 1436 mattermost 48u IPv4 34194 0t0 UDP *:8443
plugin-li 1436 mattermost 50u IPv4 34195 0t0 UDP *:8443

Output of ps ax | grep calls

1436 ? Sl 0:06 plugins/com.mattermost.calls/server/dist/plugin-linux-amd64
2723 pts/0 S+ 0:00 grep --color=auto calls

The firewall is open for UDP 8443 to the server from the outside.

Ideas?

Thanks!

Best
Søren

Hi Søren,

could it be that your Mattermost domain also supports IPv6 (i.e. it has an AAAA record in the DNS)? If so, calls is not supported on IPv6 currently, so the ICEHostOverride setting would either need to be set to the IPv4 address of your server or to a v4 only domain name for the time being.

Also when you stop the calls plugin, can you then confirm using nc that you’re able to communicate on the port 8443 with the server?

You can run the following command on the server:

nc -l -u -p 8443

and then you run this command on a different server (or your client):

nc -u <the-name-in-the-icehostoverride> 8443

You can then start typing in any of the two windows, the output should be mirrored to the other side after you hit return - if not, the connection is having issues and needs to be checked.
If that works we need to dig deeper.