The calls don't work

I have my own server mattermost installed on ubuntu
There are two problems:

  1. For some reason in the Android application (app version 2.22.0) it says: “The server is not reachable” But the messages work
  2. When I try to call, I get an error message “Unable to connect to the voice call: timed out waiting for peer connection”
    Port forwarding for 8065 and udp/tcp 8443 is configured on the router. Ports are listened to from the outside.
    But why when I call I don’t see traffic on port 8443 on the router

root@mattermost:/opt/mattermost/logs# netstat -nlptu |grep 8443
tcp 0 0 127.0.0.1:8443 0.0.0.0:* LISTEN 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma
udp 0 0 127.0.0.1:8443 0.0.0.0:* 1116/plugins/com.ma

Mattermost.log:

{“timestamp”:“2024-11-27 16:29:50.228 Z”,“level”:“warn”,“msg”:“License key from https://mattermost.com required to unlock enterprise features.”,“caller”:“platform/license.go:105”,“error”:“resource "License" not found, id: “}
{“timestamp”:“2024-11-27 16:29:50.230 Z”,“level”:“info”,“msg”:“Starting workers”,“caller”:“jobs/workers.go:48”}
{“timestamp”:“2024-11-27 16:29:50.233 Z”,“level”:“info”,“msg”:“Starting schedulers.”,“caller”:“jobs/schedulers.go:54”}
{“timestamp”:“2024-11-27 16:29:50.313 Z”,“level”:“info”,“msg”:“Starting up plugins”,“caller”:“app/plugin.go:191”}
{“timestamp”:“2024-11-27 16:29:50.314 Z”,“level”:“info”,“msg”:“Syncing plugins from the file store”,“caller”:“app/plugin.go:268”}
{“timestamp”:“2024-11-27 16:29:50.317 Z”,“level”:“info”,“msg”:“Removing local installation of managed plugin before sync”,“caller”:“app/plugin.go:295”,“plugin_id”:“playbooks”}
{“timestamp”:“2024-11-27 16:29:50.317 Z”,“level”:“info”,“msg”:“Removing local installation of managed plugin before sync”,“caller”:“app/plugin.go:295”,“plugin_id”:“com.mattermost.calls”}
{“timestamp”:“2024-11-27 16:29:50.326 Z”,“level”:“info”,“msg”:“Syncing plugin from file store”,“caller”:“app/plugin.go:342”,“plugin_id”:“playbooks”,“bundle_path”:“plugins/playbooks.tar.gz”}
{“timestamp”:“2024-11-27 16:29:51.110 Z”,“level”:“info”,“msg”:“Installing extracted plugin”,“caller”:“app/plugin_install.go:427”,“plugin_id”:“playbooks”,“version”:“1.40.0”}
{“timestamp”:“2024-11-27 16:29:52.002 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:”/opt/mattermost/prepackaged_plugins/mattermost-plugin-servicenow-v2.3.4-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.002 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-zoom-v1.8.0-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.002 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-ai-v1.0.0-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.002 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-github-v2.3.0-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.002 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-jira-v4.1.1-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.002 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-user-survey-v1.1.1-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.003 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-boards-v9.0.0-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.003 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-gitlab-v1.9.1-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.003 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-playbooks-v2.0.1-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.007 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-calls-v1.1.0-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.008 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-metrics-v0.5.3-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.009 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-nps-v1.3.3-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.009 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-mscalendar-v1.3.4-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.010 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-playbooks-v1.40.0-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.010 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-msteams-meetings-v2.2.0-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:52.018 Z”,“level”:“info”,“msg”:“Processing prepackaged plugin”,“caller”:“app/plugin.go:1010”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-msteams-v2.0.3-linux-amd64.tar.gz”}
{“timestamp”:“2024-11-27 16:29:53.262 Z”,“level”:“info”,“msg”:“Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-servicenow-v2.3>
{“timestamp”:“2024-11-27 16:29:53.267 Z”,“level”:“info”,“msg”:“Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,“bundle_path”:”/opt/mattermost/prepackaged_plugins/mattermost-plugin-nps-v1.3.3-linu>
{“timestamp”:“2024-11-27 16:29:53.291 Z”,“level”:“info”,“msg”:“Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-jira-v4.1.1-lin>
{“timestamp”:“2024-11-27 16:29:53.310 Z”,“level”:“info”,“msg”:“Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,“bundle_path”:”/opt/mattermost/prepackaged_plugins/mattermost-plugin-github-v2.3.0-l>
{“timestamp”:“2024-11-27 16:29:53.327 Z”,“level”:“info”,“msg”:“Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-zoom-v1.8.0-lin>
{“timestamp”:“2024-11-27 16:29:53.340 Z”,“level”:“info”,“msg”:“Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,“bundle_path”:”/opt/mattermost/prepackaged_plugins/mattermost-plugin-gitlab-v1.9.1-l>
{“timestamp”:“2024-11-27 16:29:53.370 Z”,“level”:“info”,“msg”:“Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-user-survey-v1.>
{“timestamp”:“2024-11-27 16:29:53.406 Z”,“level”:“warn”,“msg”:“Error loading local plugin icon”,“caller”:“app/plugin.go:1264”,“plugin_id”:“mattermost-ai”,“icon_path”:“assets/bot_icon.png”,“error”:“icon is not svg /tmp/plugintmp287573012>
{“timestamp”:“2024-11-27 16:29:53.406 Z”,“level”:“info”,“msg”:“Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,“bundle_path”:”/opt/mattermost/prepackaged_plugins/mattermost-plugin-ai-v1.0.0-linux>
{“timestamp”:“2024-11-27 16:29:53.459 Z”,“level”:“info”,“msg”:“Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,“bundle_path”:”/opt/mattermost/prepackaged_plugins/mattermost-plugin-mscalendar-v1.3>
{“timestamp”:“2024-11-27 16:29:53.546 Z”,“level”:“info”,“msg”:“Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-metrics-v0.5.3->
{“timestamp”:“2024-11-27 16:29:53.764 Z”,“level”:“info”,“msg”:“Installing extracted plugin”,“caller”:“app/plugin_install.go:427”,“plugin_id”:“com.mattermost.calls”,“version”:“1.1.0”}
{“timestamp”:“2024-11-27 16:29:53.770 Z”,“level”:“info”,“msg”:“Installing extracted plugin”,“caller”:“app/plugin_install.go:427”,“plugin_id”:“playbooks”,“version”:“1.40.0”}
{“timestamp”:“2024-11-27 16:29:53.771 Z”,“level”:“warn”,“msg”:“Skipping local installation of plugin since not a newer version”,“caller”:“app/plugin_install.go:469”,“plugin_id”:“playbooks”,“version”:“1.40.0”,“existing_version”:“1.40.0”}
{“timestamp”:“2024-11-27 16:29:53.779 Z”,“level”:“info”,“msg”:“Skip installing prepackaged playbooks >=v2 because the license does not allow it”,“caller”:“app/plugin.go:1041”,“bundle_path”:”/opt/mattermost/prepackaged_plugins/mattermost>
{“timestamp”:“2024-11-27 16:29:54.130 Z”,“level”:“info”,“msg”:“Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,“bundle_path”:“/opt/mattermost/prepackaged_plugins/mattermost-plugin-boards-v9.0.0-l>
{“timestamp”:“2024-11-27 16:29:54.547 Z”,“level”:“warn”,“msg”:“failed to get public IP address for local interface”,“caller”:“app/plugin_api.go:1014”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Warn log.go:108”,“localAdd>
{“timestamp”:“2024-11-27 16:29:54.639 Z”,“level”:“info”,“msg”:“got public IP address for local interface”,“caller”:“app/plugin_api.go:1008”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:104”,“localAddr”:“192.16>
{“timestamp”:“2024-11-27 16:29:54.640 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 127.0.0.1:8443”,“caller”:“app/plugin_api.go:1008”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:104”}
{“timestamp”:“2024-11-27 16:29:54.690 Z”,“level”:“info”,“msg”:“Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,“bundle_path”:”/opt/mattermost/prepackaged_plugins/mattermost-plugin-msteams-v2.0.3->
{“timestamp”:“2024-11-27 16:29:54.741 Z”,“level”:“info”,“msg”:“Listening TCP on 127.0.0.1:8443”,“caller”:“app/plugin_api.go:1008”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:104”,“origin”:“ice/v2.(*TCPMuxDefa>
{“timestamp”:“2024-11-27 16:29:55.848 Z”,“level”:“info”,“msg”:“Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,“bundle_path”:”/opt/mattermost/prepackaged_plugins/mattermost-plugin-msteams-meeting>
{“timestamp”:“2024-11-27 16:29:56.014 Z”,“level”:“info”,“msg”:“Should not persist transitionally prepackged plugin: not a newer version”,“caller”:“app/plugin.go:1161”,“plugin_id”:“playbooks”,“prepackaged_version”:“1.40.0”,“existing_vers>
{“timestamp”:“2024-11-27 16:29:56.022 Z”,“level”:“info”,“msg”:“Starting Server…”,“caller”:“app/server.go:886”}
{“timestamp”:“2024-11-27 16:29:56.023 Z”,“level”:“info”,“msg”:“Server is listening on [::]:8065”,“caller”:“app/server.go:962”,“address”:”[::]:8065”}
{“timestamp”:“2024-11-27 16:29:56.023 Z”,“level”:“info”,“msg”:“Sending systemd READY notification.”,“caller”:“commands/server.go:130”}
{“timestamp”:“2024-11-27 16:41:01.342 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is complete”,“caller”:“jobs/base_workers.go:101”,“worker_name”:“ExpiryNotify”,“job_id”:“qhbkx3r563rtdcwizodrz7pkjy”,“job_type”:“expiry_notify”,“job_create_>
{“timestamp”:“2024-11-27 16:47:32.683 Z”,“level”:“info”,“msg”:“Your license does not support channel bookmarks.”,“caller”:“web/context.go:122”,“path”:”/api/v4/channels/1aa8tzjbj38sum97gpbpcd7d1o/bookmarks”,“request_id”:“sj6kta7ez3g8tdau>
{“timestamp”:“2024-11-27 16:52:01.413 Z”,“level”:“info”,“msg”:“SimpleWorker: Job is
complete”,“caller”:“jobs/base_workers.go:101”,“worker_name”:“ExpiryNotify”,“job_id”:“941fpfukmbdhufjyw9663nfrer”,“job_type”:“expiry_notify”,“job_create_>
Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,Not installing prepackaged plugin: not previously enabled”,“caller”:“app/plugin.go:1061”,

Can you tell me what the problem is?

Are you using TLS? I know there are issues with TLS and Android, you need to get the entire trust chain recognized by Android.

As for Calls, see Calls self-hosted deployment - Mattermost documentation especially Calls self-hosted deployment - Mattermost documentation

Thanks, ChatGPT, good job.