Openvidu: v2.20.0 (CE)
Deployment: On premise
I deploy openvid applications on a virtual machine, I opened all the necessary ports and I cannot complete the connection test on the dashboard. Console logs from dashboard:
Below are my logs from coturn and kms service:
KMS:
kms_1 | + trap on_error ERR
kms_1 | + BASE_RTP_FILE=/etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini
kms_1 | + WEBRTC_FILE=/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini
kms_1 | ++ id -u
kms_1 | + [[ 0 -eq 0 ]]
kms_1 | + [[ -n 40000 ]]
kms_1 | + set_parameter /etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini minPort 40000
kms_1 | + local FILE=/etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini
kms_1 | + local PARAM=minPort
kms_1 | + local VALUE=40000
kms_1 | + local ‘COMMENT=;’
kms_1 | + local ‘REGEX=^;?\sminPort=.’
kms_1 | + grep --extended-regexp -q ‘^;?\sminPort=.’ /etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini
kms_1 | + sed --regexp-extended -i ‘s/^;?\sminPort=./minPort=40000/’ /etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini
kms_1 | + [[ -n 57000 ]]
kms_1 | + set_parameter /etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini maxPort 57000
kms_1 | + local FILE=/etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini
kms_1 | + local PARAM=maxPort
kms_1 | + local VALUE=57000
kms_1 | + local ‘COMMENT=;’
kms_1 | + local ‘REGEX=^;?\smaxPort=.’
kms_1 | + grep --extended-regexp -q ‘^;?\smaxPort=.’ /etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini
kms_1 | + sed --regexp-extended -i ‘s/^;?\smaxPort=./maxPort=57000/’ /etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini
kms_1 | + [[ -n ‘’ ]]
kms_1 | + [[ -n ‘’ ]]
kms_1 | + [[ -n ‘’ ]]
kms_1 | + [[ -n ‘’ ]]
kms_1 | + [[ -n ‘’ ]]
kms_1 | + [[ -n ‘’ ]]
kms_1 | + [[ -n ‘’ ]]
kms_1 | + sed /::1/d
kms_1 | + tee /etc/hosts
kms_1 | + cat /etc/hosts
kms_1 | + [[ -z ‘’ ]]
kms_1 | + export ‘GST_DEBUG=2,Kurento*:4,kms*:4,sdp*:4,webrtc*:4,rtpendpoint:4,rtphandler:4,rtpsynchronizer:4,agnosticbin:4’
kms_1 | + GST_DEBUG=‘2,Kurento*:4,kms*:4,sdp*:4,webrtc*:4,rtpendpoint:4,rtphandler:4,rtpsynchronizer:4,agnosticbin:4’
kms_1 | + ‘[’ ‘!’ -t 1 ‘]’
kms_1 | + export GST_DEBUG_NO_COLOR=1
kms_1 | + GST_DEBUG_NO_COLOR=1
kms_1 | ++ id -u
kms_1 | [Docker entrypoint] Start Kurento Media Server, UID: 0
kms_1 | + RUN_UID=0
kms_1 | + [[ -n ‘’ ]]
kms_1 | + echo ‘[Docker entrypoint] Start Kurento Media Server, UID: 0’
kms_1 | + exec /usr/bin/kurento-media-server ‘’
kms_1 | 0:00:00.626686960 16 0x268a430 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x120000: ‘AVR (Audio Visual Research)’ is not mapped
kms_1 | 0:00:00.626888661 16 0x268a430 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x180000: ‘CAF (Apple Core Audio File)’ is not mapped
kms_1 | 0:00:00.626943062 16 0x268a430 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x100000: ‘HTK (HMM Tool Kit)’ is not mapped
kms_1 | 0:00:00.626978862 16 0x268a430 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xc0000: ‘MAT4 (GNU Octave 2.0 / Matlab 4.2)’ is not mapped
kms_1 | 0:00:00.627038262 16 0x268a430 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xd0000: ‘MAT5 (GNU Octave 2.1 / Matlab 5.0)’ is not mapped
kms_1 | 0:00:00.627070862 16 0x268a430 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x210000: ‘MPC (Akai MPC 2k)’ is not mapped
kms_1 | 0:00:00.627124663 16 0x268a430 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0xe0000: ‘PVF (Portable Voice Format)’ is not mapped
kms_1 | 0:00:00.627162163 16 0x268a430 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x160000: ‘SD2 (Sound Designer II)’ is not mapped
kms_1 | 0:00:00.627217463 16 0x268a430 WARN default gstsf.c:98:gst_sf_create_audio_template_caps: format 0x190000: ‘WVE (Psion Series 3)’ is not mapped
kms_1 | 0:00:01.129828542 16 0x268a430 WARN ladspa gstladspa.c:455:plugin_init: no LADSPA plugins found, check LADSPA_PATH
kms_1 | ALVAR 2.0.0 - A Library for Virtual and Augmented Reality
kms_1 | Copyright 2007-2012 VTT Technical Research Centre of Finland
kms_1 | Licensed under the GNU Lesser General Public License
kms_1 | Built on 2021-02-26 for Linux 4.4.0-203-generic x86_64
kms_1 |
Coturn:
Attaching to openvidu_coturn_1
coturn_1 | 0: : Config file found: //turnserver.conf
coturn_1 | 0: : Config file found: //turnserver.conf
coturn_1 | 0: : Config file found: //turnserver.conf
coturn_1 | 0: : Config file found: //turnserver.conf
coturn_1 | 0: :
coturn_1 | RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server
coturn_1 | Version Coturn-4.5.2 ‘dan Eider’
coturn_1 | 0: :
coturn_1 | RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server
coturn_1 | Version Coturn-4.5.2 ‘dan Eider’
coturn_1 | 0: :
coturn_1 | Max number of open files/sockets allowed for this process: 1048576
coturn_1 | 0: :
coturn_1 | Max number of open files/sockets allowed for this process: 1048576
coturn_1 | 0: :
coturn_1 | Due to the open files/sockets limitation,
coturn_1 | max supported number of TURN Sessions possible is: 524000 (approximately)
coturn_1 | 0: :
coturn_1 | Due to the open files/sockets limitation,
coturn_1 | max supported number of TURN Sessions possible is: 524000 (approximately)
coturn_1 | 0: :
coturn_1 |
coturn_1 | ==== Show him the instruments, Practical Frost: ====
coturn_1 |
coturn_1 | 0: :
coturn_1 |
coturn_1 | ==== Show him the instruments, Practical Frost: ====
coturn_1 |
coturn_1 | 0: : TLS supported
coturn_1 | 0: : TLS supported
coturn_1 | 0: : DTLS supported
coturn_1 | 0: : DTLS supported
coturn_1 | 0: : DTLS 1.2 supported
coturn_1 | 0: : DTLS 1.2 supported
coturn_1 | 0: : TURN/STUN ALPN supported
coturn_1 | 0: : TURN/STUN ALPN supported
coturn_1 | 0: : Third-party authorization (oAuth) supported
coturn_1 | 0: : Third-party authorization (oAuth) supported
coturn_1 | 0: : GCM (AEAD) supported
coturn_1 | 0: : GCM (AEAD) supported
coturn_1 | 0: : OpenSSL compile-time version: OpenSSL 1.1.1k 25 Mar 2021 (0x101010bf)
coturn_1 | 0: : OpenSSL compile-time version: OpenSSL 1.1.1k 25 Mar 2021 (0x101010bf)
coturn_1 | 0: :
coturn_1 | 0: :
coturn_1 | 0: : SQLite supported, default database location is /var/lib/coturn/turndb
coturn_1 | 0: : SQLite supported, default database location is /var/lib/coturn/turndb
coturn_1 | 0: : Redis supported
coturn_1 | 0: : Redis supported
coturn_1 | 0: : PostgreSQL supported
coturn_1 | 0: : PostgreSQL supported
coturn_1 | 0: : MySQL supported
coturn_1 | 0: : MySQL supported
coturn_1 | 0: : MongoDB supported
coturn_1 | 0: : MongoDB supported
coturn_1 | 0: :
coturn_1 | 0: :
coturn_1 | 0: : Default Net Engine version: 3 (UDP thread per CPU core)
coturn_1 |
coturn_1 | =====================================================
coturn_1 |
coturn_1 | 0: : Default Net Engine version: 3 (UDP thread per CPU core)
coturn_1 |
coturn_1 | =====================================================
coturn_1 |
coturn_1 | 0: : Domain name:
coturn_1 | 0: : Domain name:
coturn_1 | 0: : Default realm: openvidu
coturn_1 | 0: : Default realm: openvidu
coturn_1 | 0: : ERROR:
coturn_1 | CONFIG ERROR: Empty cli-password, and so telnet cli interface is disabled! Please set a non empty cli-password!
coturn_1 | 0: : ERROR:
coturn_1 | CONFIG ERROR: Empty cli-password, and so telnet cli interface is disabled! Please set a non empty cli-password!
coturn_1 | 0: : WARNING: cannot find certificate file: turn_server_cert.pem (1)
coturn_1 | 0: : WARNING: cannot find certificate file: turn_server_cert.pem (1)
coturn_1 | 0: : WARNING: cannot start TLS and DTLS listeners because certificate file is not set properly
coturn_1 | 0: : WARNING: cannot start TLS and DTLS listeners because certificate file is not set properly
coturn_1 | 0: : WARNING: cannot find private key file: turn_server_pkey.pem (1)
coturn_1 | 0: : WARNING: cannot find private key file: turn_server_pkey.pem (1)
coturn_1 | 0: : WARNING: cannot start TLS and DTLS listeners because private key file is not set properly
coturn_1 | 0: : WARNING: cannot start TLS and DTLS listeners because private key file is not set properly
coturn_1 | 0: : NO EXPLICIT LISTENER ADDRESS(ES) ARE CONFIGURED
coturn_1 | 0: : NO EXPLICIT LISTENER ADDRESS(ES) ARE CONFIGURED
coturn_1 | 0: : ===========Discovering listener addresses: =========
coturn_1 | 0: : ===========Discovering listener addresses: =========
coturn_1 | 0: : Listener address to use: 127.0.0.1
coturn_1 | 0: : Listener address to use: 127.0.0.1
coturn_1 | 0: : Listener address to use: 172.18.0.4
coturn_1 | 0: : Listener address to use: 172.18.0.4
coturn_1 | 0: : Listener address to use: 172.17.0.1
coturn_1 | 0: : Listener address to use: 172.17.0.1
coturn_1 | 0: : Listener address to use: ::1
coturn_1 | 0: : Listener address to use: ::1
coturn_1 | 0: : =====================================================
coturn_1 | 0: : =====================================================
coturn_1 | 0: : Total: 2 ‘real’ addresses discovered
coturn_1 | 0: : Total: 2 ‘real’ addresses discovered
coturn_1 | 0: : =====================================================
coturn_1 | 0: : =====================================================
coturn_1 | 0: : NO EXPLICIT RELAY ADDRESS(ES) ARE CONFIGURED
coturn_1 | 0: : NO EXPLICIT RELAY ADDRESS(ES) ARE CONFIGURED
coturn_1 | 0: : ===========Discovering relay addresses: =============
coturn_1 | 0: : ===========Discovering relay addresses: =============
coturn_1 | 0: : Relay address to use: 172.18.0.4
coturn_1 | 0: : Relay address to use: 172.18.0.4
coturn_1 | 0: : Relay address to use: 172.17.0.1
coturn_1 | 0: : Relay address to use: 172.17.0.1
coturn_1 | 0: : Relay address to use: ::1
coturn_1 | 0: : Relay address to use: ::1
coturn_1 | 0: : =====================================================
coturn_1 | 0: : =====================================================
coturn_1 | 0: : Total: 3 relay addresses discovered
coturn_1 | 0: : Total: 3 relay addresses discovered
coturn_1 | 0: : =====================================================
coturn_1 | 0: : =====================================================
coturn_1 | Cannot create pid file: /var/run/turnserver.pid: Permission denied
coturn_1 | 0: : Cannot create pid file: /var/run/turnserver.pid
coturn_1 | 0: : Cannot create pid file: /var/run/turnserver.pid
coturn_1 | 0: : pid file created: /var/tmp/turnserver.pid
coturn_1 | 0: : pid file created: /var/tmp/turnserver.pid
coturn_1 | 0: : IO method (main listener thread): epoll (with changelist)
coturn_1 | 0: : IO method (main listener thread): epoll (with changelist)
coturn_1 | 0: : Wait for relay ports initialization…
coturn_1 | 0: : Wait for relay ports initialization…
coturn_1 | 0: : relay 172.18.0.4 initialization…
coturn_1 | 0: : relay 172.18.0.4 initialization…
coturn_1 | 0: : relay 172.18.0.4 initialization done
coturn_1 | 0: : relay 172.18.0.4 initialization done
coturn_1 | 0: : relay 172.17.0.1 initialization…
coturn_1 | 0: : relay 172.17.0.1 initialization…
coturn_1 | 0: : relay 172.17.0.1 initialization done
coturn_1 | 0: : relay 172.17.0.1 initialization done
coturn_1 | 0: : relay ::1 initialization…
coturn_1 | 0: : relay ::1 initialization…
coturn_1 | 0: : relay ::1 initialization done
coturn_1 | 0: : relay ::1 initialization done
coturn_1 | 0: : Relay ports initialization done
coturn_1 | 0: : Relay ports initialization done
coturn_1 | 0: : IO method (general relay thread): epoll (with changelist)
coturn_1 | 0: : IO method (general relay thread): epoll (with changelist)
coturn_1 | 0: : turn server id=0 created
coturn_1 | 0: : turn server id=0 created
coturn_1 | 0: : IPv4. SCTP listener opened on : 127.0.0.1:3478
coturn_1 | 0: : IPv4. SCTP listener opened on : 127.0.0.1:3478
coturn_1 | 0: : IPv4. TCP listener opened on : 127.0.0.1:3478
coturn_1 | 0: : IPv4. TCP listener opened on : 127.0.0.1:3478
coturn_1 | 0: : IPv4. SCTP listener opened on : 127.0.0.1:3479
coturn_1 | 0: : IPv4. SCTP listener opened on : 127.0.0.1:3479
coturn_1 | 0: : IPv4. TCP listener opened on : 127.0.0.1:3479
coturn_1 | 0: : IPv4. TCP listener opened on : 127.0.0.1:3479
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.18.0.4:3478
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.18.0.4:3478
coturn_1 | 0: : IPv4. TCP listener opened on : 172.18.0.4:3478
coturn_1 | 0: : IPv4. TCP listener opened on : 172.18.0.4:3478
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.18.0.4:3479
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.18.0.4:3479
coturn_1 | 0: : IPv4. TCP listener opened on : 172.18.0.4:3479
coturn_1 | 0: : IPv4. TCP listener opened on : 172.18.0.4:3479
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.17.0.1:3478
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.17.0.1:3478
coturn_1 | 0: : IPv4. TCP listener opened on : 172.17.0.1:3478
coturn_1 | 0: : IPv4. TCP listener opened on : 172.17.0.1:3478
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.17.0.1:3479
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.17.0.1:3479
coturn_1 | 0: : IPv4. TCP listener opened on : 172.17.0.1:3479
coturn_1 | 0: : IPv4. TCP listener opened on : 172.17.0.1:3479
coturn_1 | 0: : IPv6. SCTP listener opened on : ::1:3478
coturn_1 | 0: : IPv6. SCTP listener opened on : ::1:3478
coturn_1 | 0: : IPv6. TCP listener opened on : ::1:3478
coturn_1 | 0: : IPv6. TCP listener opened on : ::1:3478
coturn_1 | 0: : IPv6. SCTP listener opened on : ::1:3479
coturn_1 | 0: : IPv6. SCTP listener opened on : ::1:3479
coturn_1 | 0: : IPv6. TCP listener opened on : ::1:3479
coturn_1 | 0: : IPv6. TCP listener opened on : ::1:3479
coturn_1 | 0: : IO method (general relay thread): epoll (with changelist)
coturn_1 | 0: : IO method (general relay thread): epoll (with changelist)
coturn_1 | 0: : turn server id=1 created
coturn_1 | 0: : turn server id=1 created
coturn_1 | 0: : IPv4. SCTP listener opened on : 127.0.0.1:3478
coturn_1 | 0: : IPv4. SCTP listener opened on : 127.0.0.1:3478
coturn_1 | 0: : IPv4. TCP listener opened on : 127.0.0.1:3478
coturn_1 | 0: : IPv4. TCP listener opened on : 127.0.0.1:3478
coturn_1 | 0: : IPv4. SCTP listener opened on : 127.0.0.1:3479
coturn_1 | 0: : IPv4. SCTP listener opened on : 127.0.0.1:3479
coturn_1 | 0: : IPv4. TCP listener opened on : 127.0.0.1:3479
coturn_1 | 0: : IPv4. TCP listener opened on : 127.0.0.1:3479
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.18.0.4:3478
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.18.0.4:3478
coturn_1 | 0: : IPv4. TCP listener opened on : 172.18.0.4:3478
coturn_1 | 0: : IPv4. TCP listener opened on : 172.18.0.4:3478
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.18.0.4:3479
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.18.0.4:3479
coturn_1 | 0: : IPv4. TCP listener opened on : 172.18.0.4:3479
coturn_1 | 0: : IPv4. TCP listener opened on : 172.18.0.4:3479
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.17.0.1:3478
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.17.0.1:3478
coturn_1 | 0: : IPv4. TCP listener opened on : 172.17.0.1:3478
coturn_1 | 0: : IPv4. TCP listener opened on : 172.17.0.1:3478
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.17.0.1:3479
coturn_1 | 0: : IPv4. SCTP listener opened on : 172.17.0.1:3479
coturn_1 | 0: : IPv4. TCP listener opened on : 172.17.0.1:3479
coturn_1 | 0: : IPv4. TCP listener opened on : 172.17.0.1:3479
coturn_1 | 0: : IPv6. SCTP listener opened on : ::1:3478
coturn_1 | 0: : IPv6. SCTP listener opened on : ::1:3478
coturn_1 | 0: : IPv6. TCP listener opened on : ::1:3478
coturn_1 | 0: : IPv6. TCP listener opened on : ::1:3478
coturn_1 | 0: : IPv6. SCTP listener opened on : ::1:3479
coturn_1 | 0: : IPv6. SCTP listener opened on : ::1:3479
coturn_1 | 0: : IPv6. TCP listener opened on : ::1:3479
coturn_1 | 0: : IPv6. TCP listener opened on : ::1:3479
coturn_1 | 0: : IPv4. UDP listener opened on: 127.0.0.1:3478
coturn_1 | 0: : IPv4. UDP listener opened on: 127.0.0.1:3478
coturn_1 | 0: : IPv4. UDP listener opened on: 127.0.0.1:3479
coturn_1 | 0: : IPv4. UDP listener opened on: 127.0.0.1:3479
coturn_1 | 0: : IPv4. UDP listener opened on: 172.18.0.4:3478
coturn_1 | 0: : IPv4. UDP listener opened on: 172.18.0.4:3478
coturn_1 | 0: : IPv4. UDP listener opened on: 172.18.0.4:3479
coturn_1 | 0: : IPv4. UDP listener opened on: 172.18.0.4:3479
coturn_1 | 0: : IPv4. UDP listener opened on: 172.17.0.1:3478
coturn_1 | 0: : IPv4. UDP listener opened on: 172.17.0.1:3478
coturn_1 | 0: : IPv4. UDP listener opened on: 172.17.0.1:3479
coturn_1 | 0: : IPv4. UDP listener opened on: 172.17.0.1:3479
coturn_1 | 0: : IPv6. UDP listener opened on: ::1:3478
coturn_1 | 0: : IPv6. UDP listener opened on: ::1:3478
coturn_1 | 0: : IPv6. UDP listener opened on: ::1:3479
coturn_1 | 0: : IPv6. UDP listener opened on: ::1:3479
coturn_1 | 0: : Total General servers: 2
coturn_1 | 0: : Total General servers: 2
coturn_1 | 0: : IO method (auth thread): epoll (with changelist)
coturn_1 | 0: : IO method (auth thread): epoll (with changelist)
coturn_1 | 0: : IO method (auth thread): epoll (with changelist)
coturn_1 | 0: : IO method (auth thread): epoll (with changelist)
coturn_1 | 0: : Redis DB sync connection success: ip=127.0.0.1 dbname=0 password=123 connect_timeout=30
coturn_1 | 0: : Redis DB sync connection success: ip=127.0.0.1 dbname=0 password=123 connect_timeout=30
coturn_1 | 0: : IO method (admin thread): epoll (with changelist)
coturn_1 | 0: : IO method (admin thread): epoll (with changelist)
coturn_1 | 0: : ERROR:
coturn_1 | Could not start Prometheus collector!
coturn_1 | 0: : ERROR:
coturn_1 | Could not start Prometheus collector!
Do you have any idea what caused this problem or have encountered similar problems?