Hello guys,
I installed version 2.15.0 of OpenVidu on premises but Coturn IP is different from public server IP.
There is a way to set Coturn IP manually? Any tips?
Thank you!
You may use externalIP config option in /etc/turnserver.conf file in case you Coturn server behind NAT.
Thank you,
but /etc/turnserver.conf file doesnât exists in openvidu 2.15.0⌠I think itâs inside the doker image.
use static Ip and after that try to fresh install
Hi @Ivan, where is your coturn IP bad configured. Could you please share your OpenVidu logs and Coturn logs? You can get it by executing in /opt/openvidu
:
docker-compose logs openvidu-server
docker-compose logs coturn
It is possible to modify the coturn Ip but it is a little bit hacky:
- Modify your openvidu-server service in
/opt/openvidu/docker-compose.yml
and replace this:
entrypoint: ['/bin/bash', '-c', 'export COTURN_IP=`/usr/local/bin/discover_my_public_ip.sh`; /usr/local/bin/entrypoint.sh']
with this:
entrypoint: ['/bin/bash', '-c', 'export COTURN_IP=<YOUR_PUBLIC_IP>; /usr/local/bin/entrypoint.sh']
- Modify the coturn service also in
/opt/openvidu/docker-compose.yml
and add this env variable:
- TURN_PUBLIC_IP=<YOUR_PUBLIC_IP>
Regards,
Carlos
Thank you!!! Now Coturn IP is correct!!
But something doesnât workâŚ
All ports are opened and on the same LAN all works perfectlyâŚ
My installation of OpenVidu is behind a static NAT and with an external client on the dashboard all itâs ok but I canât see my webcamâŚ
On Coturn LOG I see many these lines:
coturn_1 | 0: Domain name:
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: 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 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: NO EXPLICIT LISTENER ADDRESS(ES) ARE CONFIGURED
coturn_1 | 0: ===========Discovering listener addresses: =========
coturn_1 | 0: Listener address to use: 127.0.0.1
coturn_1 | 0: Listener address to use: 192.168.91.192
coturn_1 | 0: Listener address to use: 172.17.0.1
coturn_1 | 0: Listener address to use: ::1
coturn_1 | 0: =====================================================
coturn_1 | 0: Total: 2 ârealâ addresses discovered
coturn_1 | 0: =====================================================
coturn_1 | 0: NO EXPLICIT RELAY ADDRESS(ES) ARE CONFIGURED
coturn_1 | 0: ===========Discovering relay addresses: =============
coturn_1 | 0: Relay address to use: 192.168.91.192
coturn_1 | 0: Relay address to use: 172.17.0.1
coturn_1 | 0: Relay address to use: ::1
coturn_1 | 0: =====================================================
coturn_1 | 0: Total: 3 relay addresses discovered
coturn_1 | 0: =====================================================
coturn_1 | 0: pid file created: /var/run/turnserver.pid
coturn_1 | 0: IO method (main listener thread): epoll (with changelist)
coturn_1 | 0: WARNING: I cannot support STUN CHANGE_REQUEST functionality because only one IP address is provided
coturn_1 | 0: Wait for relay ports initializationâŚ
coturn_1 | 0: relay 192.168.91.192 initializationâŚ
coturn_1 | 0: relay 192.168.91.192 initialization done
coturn_1 | 0: relay 172.17.0.1 initializationâŚ
coturn_1 | 0: relay 172.17.0.1 initialization done
coturn_1 | 0: relay ::1 initializationâŚ
coturn_1 | 0: relay ::1 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: 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=2 created
coturn_1 | 0: turn server id=3 created
coturn_1 | 0: IO method (general relay thread): epoll (with changelist)
coturn_1 | 0: turn server id=4 created
coturn_1 | 0: IO method (general relay thread): epoll (with changelist)
coturn_1 | 0: turn server id=5 created
coturn_1 | 0: IPv4. UDP listener opened on: 127.0.0.1:3478
coturn_1 | 0: IPv4. UDP listener opened on: 192.168.91.192:3478
coturn_1 | 0: IPv4. UDP listener opened on: 172.17.0.1:3478
coturn_1 | 0: IPv6. UDP listener opened on: ::1:3478
coturn_1 | 0: Total General servers: 6
coturn_1 | 0: IO method (admin 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: ERROR: Redis: Network is unreachable
coturn_1 | 0: ERROR: Cannot initialize Redis DB connection
coturn_1 | 0: ERROR: Redis: Network is unreachable
coturn_1 | 0: ERROR: Cannot initialize Redis DB connection
coturn_1 | 0: ERROR: Redis: Network is unreachable
coturn_1 | 0: ERROR: Cannot initialize Redis DB connection
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. SCTP listener opened on : 192.168.91.192:3478
coturn_1 | 0: IPv4. TCP listener opened on : 192.168.91.192: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: IPv6. SCTP listener opened on : ::1:3478
coturn_1 | 0: IPv6. TCP listener opened on : ::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. SCTP listener opened on : 192.168.91.192:3478
coturn_1 | 0: IPv4. TCP listener opened on : 192.168.91.192: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: IPv6. SCTP listener opened on : ::1:3478
coturn_1 | 0: IPv6. TCP listener opened on : ::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. SCTP listener opened on : 192.168.91.192:3478
coturn_1 | 0: IPv4. TCP listener opened on : 192.168.91.192: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: IPv6. SCTP listener opened on : ::1:3478
coturn_1 | 0: IPv6. TCP listener opened on : ::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. SCTP listener opened on : 192.168.91.192:3478
coturn_1 | 0: IPv4. TCP listener opened on : 192.168.91.192: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: IPv6. SCTP listener opened on : ::1:3478
coturn_1 | 0: IPv6. TCP listener opened on : ::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. SCTP listener opened on : 127.0.0.1:3478
coturn_1 | 0: IPv4. SCTP listener opened on : 192.168.91.192:3478
coturn_1 | 0: IPv4. TCP listener opened on : 192.168.91.192:3478
coturn_1 | 0: IPv4. TCP listener opened on : 127.0.0.1:3478
coturn_1 | 0: IPv4. SCTP listener opened on : 172.17.0.1:3478
coturn_1 | 0: IPv4. SCTP listener opened on : 192.168.91.192:3478
coturn_1 | 0: IPv4. TCP listener opened on : 172.17.0.1:3478
coturn_1 | 0: IPv4. TCP listener opened on : 192.168.91.192:3478
coturn_1 | 0: IPv4. SCTP listener opened on : 172.17.0.1:3478
coturn_1 | 0: IPv6. SCTP listener opened on : ::1:3478
coturn_1 | 0: IPv4. TCP listener opened on : 172.17.0.1:3478
coturn_1 | 0: IPv6. TCP 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: ERROR: Redis: Network is unreachable
coturn_1 | 0: ERROR: Redis: Network is unreachable
coturn_1 | 0: ERROR: Cannot initialize Redis DB connection
coturn_1 | 0: ERROR: Redis: Network is unreachable
This is my openvidu-server log (I have hidden only domain name replacing with MY_DOMAIN):
openvidu-server_1 |
openvidu-server_1 |
openvidu-server_1 | =======================================
openvidu-server_1 | = LAUNCH OPENVIDU-SERVER =
openvidu-server_1 | =======================================
openvidu-server_1 |
openvidu-server_1 | ______________________________________________
openvidu-server_1 | ____ __ ___ _
openvidu-server_1 | / __ \ \ \ / () | |
openvidu-server_1 | | | | | __ ___ _ \ \ / / _ | | _
openvidu-server_1 | | | | | â \ / _ \ â \ / / | |/ ` | | | |
openvidu-server_1 | | |__| | |) | / | | \ / | | (| | || |
openvidu-server_1 | _/| ./ __|| ||/ ||_,|_,|
openvidu-server_1 | | |
openvidu-server_1 | || version 2.15.0
openvidu-server_1 | ______________________________________________
openvidu-server_1 |
openvidu-server_1 | [INFO] 2020-09-25 15:49:32,925 [main] io.openvidu.server.OpenViduServer - Starting OpenViduServer on teamoffice-virtual-machine with PID 19 (/openvidu-server.jar started by root in /)
openvidu-server_1 | [INFO] 2020-09-25 15:49:32,931 [main] io.openvidu.server.OpenViduServer - No active profile set, falling back to default profiles: default
openvidu-server_1 | [ERROR] 2020-09-25 15:49:33,353 [main] io.openvidu.server.config.OpenviduConfig - .env file not found at /.env
openvidu-server_1 | [INFO] 2020-09-25 15:49:33,528 [main] io.openvidu.server.OpenViduServer - Started OpenViduServer in 3.133 seconds (JVM running for 19.42)
openvidu-server_1 | [INFO] 2020-09-25 15:49:33,531 [main] io.openvidu.server.OpenViduServer -
openvidu-server_1 |
openvidu-server_1 |
openvidu-server_1 | Configuration properties
openvidu-server_1 | ------------------------
openvidu-server_1 |
openvidu-server_1 | * CERTIFICATE_TYPE=owncert
openvidu-server_1 | * DOMAIN_OR_PUBLIC_IP=MY_DOMAIN
openvidu-server_1 | * HTTPS_PORT=443
openvidu-server_1 | * KMS_URIS=[âws://localhost:8888/kurentoâ]
openvidu-server_1 | * OPENVIDU_CDR=false
openvidu-server_1 | * OPENVIDU_CDR_PATH=/opt/openvidu/cdr
openvidu-server_1 | * OPENVIDU_RECORDING=false
openvidu-server_1 | * OPENVIDU_RECORDING_AUTOSTOP_TIMEOUT=120
openvidu-server_1 | * OPENVIDU_RECORDING_COMPOSED_URL=
openvidu-server_1 | * OPENVIDU_RECORDING_CUSTOM_LAYOUT=/opt/openvidu/custom-layout
openvidu-server_1 | * OPENVIDU_RECORDING_DEBUG=false
openvidu-server_1 | * OPENVIDU_RECORDING_NOTIFICATION=publisher_moderator
openvidu-server_1 | * OPENVIDU_RECORDING_PATH=/opt/openvidu/recordings
openvidu-server_1 | * OPENVIDU_RECORDING_PUBLIC_ACCESS=false
openvidu-server_1 | * OPENVIDU_RECORDING_VERSION=2.15.0
openvidu-server_1 | * OPENVIDU_SECRET=xxxxxx
openvidu-server_1 | * OPENVIDU_SESSIONS_GARBAGE_INTERVAL=900
openvidu-server_1 | * OPENVIDU_SESSIONS_GARBAGE_THRESHOLD=3600
openvidu-server_1 | * OPENVIDU_STREAMS_VIDEO_MAX_RECV_BANDWIDTH=1000
openvidu-server_1 | * OPENVIDU_STREAMS_VIDEO_MAX_SEND_BANDWIDTH=1000
openvidu-server_1 | * OPENVIDU_STREAMS_VIDEO_MIN_RECV_BANDWIDTH=300
openvidu-server_1 | * OPENVIDU_STREAMS_VIDEO_MIN_SEND_BANDWIDTH=300
openvidu-server_1 | * OPENVIDU_WEBHOOK=false
openvidu-server_1 | * OPENVIDU_WEBHOOK_ENDPOINT=
openvidu-server_1 | * OPENVIDU_WEBHOOK_EVENTS=[sessionCreated,sessionDestroyed,participantJoined,participantLeft,webrtcConnectionCreated,webrtcConnectionDestroyed,recordingStatusChanged,filterEventDispatched,mediaNodeStatusChanged]
openvidu-server_1 | * OPENVIDU_WEBHOOK_HEADERS=[]
openvidu-server_1 |
openvidu-server_1 |
openvidu-server_1 |
openvidu-server_1 | [WARN] 2020-09-25 15:49:33,534 [main] io.openvidu.server.OpenViduServer - You have set property server.port (or SERVER_PORT). This will serve OpenVidu Server on your host at port 5443. But property HTTPS_PORT (443) still configures the port that should be used to connect to OpenVidu Server from outside. Bear this in mind when configuring a proxy in front of OpenVidu Server
openvidu-server_1 | [INFO] 2020-09-25 15:49:33,534 [main] io.openvidu.server.OpenViduServer - Using /dev/urandom for secure random generation
openvidu-server_1 | [INFO] 2020-09-25 15:49:33,687 [main] io.openvidu.server.OpenViduServer - Starting OpenViduServer on teamoffice-virtual-machine with PID 19 (/openvidu-server.jar started by root in /)
openvidu-server_1 | [INFO] 2020-09-25 15:49:33,688 [main] io.openvidu.server.OpenViduServer - No active profile set, falling back to default profiles: default
openvidu-server_1 | [ERROR] 2020-09-25 15:49:35,849 [main] io.openvidu.server.config.OpenviduConfig - .env file not found at /.env
openvidu-server_1 | [INFO] 2020-09-25 15:49:36,577 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 5443 (http)
openvidu-server_1 | [INFO] 2020-09-25 15:49:36,596 [main] org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler [âhttp-nio-0.0.0.0-5443â]
openvidu-server_1 | [INFO] 2020-09-25 15:49:36,597 [main] org.apache.catalina.core.StandardService - Starting service [Tomcat]
openvidu-server_1 | [INFO] 2020-09-25 15:49:36,598 [main] org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.30]
openvidu-server_1 | [INFO] 2020-09-25 15:49:36,698 [main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
openvidu-server_1 | [INFO] 2020-09-25 15:49:36,698 [main] org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 2960 ms
openvidu-server_1 | [INFO] 2020-09-25 15:49:37,235 [main] io.openvidu.server.OpenViduServer - OpenVidu CDR service is disabled (may be enable with âOPENVIDU_CDR=trueâ)
openvidu-server_1 | [INFO] 2020-09-25 15:49:37,236 [main] io.openvidu.server.OpenViduServer - OpenVidu Webhook service is disabled (may be enabled with âOPENVIDU_WEBHOOK=trueâ)
openvidu-server_1 | [INFO] 2020-09-25 15:49:37,251 [main] io.openvidu.server.OpenViduServer - OpenVidu Server using one KMS: ws://localhost:8888/kurento
openvidu-server_1 | [INFO] 2020-09-25 15:49:37,418 [JsonRpcClient-hearbeatExec-e1-t0] org.kurento.jsonrpc.client.JsonRpcClientNettyWebSocket - [KurentoClient] Connecting native client
openvidu-server_1 | [INFO] 2020-09-25 15:49:37,419 [JsonRpcClient-hearbeatExec-e1-t0] org.kurento.jsonrpc.client.JsonRpcClientNettyWebSocket - [KurentoClient] Creating new NioEventLoopGroup
openvidu-server_1 | [INFO] 2020-09-25 15:49:37,883 [nioEventLoopGroup-2-1] org.kurento.jsonrpc.client.JsonRpcClientNettyWebSocket - [KurentoClient] Initiating new Netty channel. Will create new handler too!
openvidu-server_1 | [INFO] 2020-09-25 15:49:38,085 [main] io.openvidu.server.recording.service.RecordingManager - OpenVidu recording service is disabled
openvidu-server_1 | [INFO] 2020-09-25 15:49:38,762 [main] io.openvidu.server.coturn.CoturnCredentialsService - COTURN IP: 217.22.208.42
openvidu-server_1 | [INFO] 2020-09-25 15:49:38,763 [main] io.openvidu.server.coturn.CoturnCredentialsService - COTURN Redis DB accessible with string âip=127.0.0.1 dbname=0 password=Psw!2020to connect_timeout=30â
openvidu-server_1 | [INFO] 2020-09-25 15:49:38,763 [main] io.openvidu.server.coturn.CoturnCredentialsService - Cleaning COTURN DBâŚ
openvidu-server_1 | [INFO] 2020-09-25 15:49:38,764 [main] io.openvidu.server.coturn.CoturnCredentialsService - Path of COTURN log files: /var/log/
openvidu-server_1 | [INFO] 2020-09-25 15:49:39,017 [main] io.openvidu.server.coturn.CoturnCredentialsService - COTURN DB is now empty
openvidu-server_1 | [INFO] 2020-09-25 15:49:39,017 [main] io.openvidu.server.coturn.CoturnCredentialsService - Using COTURN credentials service for BASH environment
openvidu-server_1 | [INFO] 2020-09-25 15:49:39,056 [main] io.openvidu.server.core.SessionManager - Garbage collector for non active sessions initialized. Running every 900 seconds and cleaning up non active Sessions more than 3600 seconds old
openvidu-server_1 | [INFO] 2020-09-25 15:49:39,097 [main] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService âjsonrpcTaskSchedulerâ
openvidu-server_1 | [INFO] 2020-09-25 15:49:39,312 [main] org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService âapplicationTaskExecutorâ
openvidu-server_1 | [INFO] 2020-09-25 15:49:39,452 [main] org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html]
openvidu-server_1 | [INFO] 2020-09-25 15:49:39,789 [main] org.springframework.security.web.DefaultSecurityFilterChain - Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@1f97cf0d, org.springframework.security.web.context.SecurityContextPersistenceFilter@61d6015a, org.springframework.security.web.header.HeaderWriterFilter@f381794, org.springframework.web.filter.CorsFilter@62150f9e, org.springframework.security.web.authentication.logout.LogoutFilter@306cf3ea, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@51f116b8, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@524d6d96, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@4ef37659, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@140c9f39, org.springframework.security.web.session.SessionManagementFilter@7e9131d5, org.springframework.security.web.access.ExceptionTranslationFilter@6f27a732, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@2abf4075]
openvidu-server_1 | [INFO] 2020-09-25 15:49:39,848 [main] org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler [âhttp-nio-0.0.0.0-5443â]
openvidu-server_1 | [INFO] 2020-09-25 15:49:39,878 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 5443 (http) with context path ââ
openvidu-server_1 | [INFO] 2020-09-25 15:49:39,879 [main] io.openvidu.server.OpenViduServer - Started OpenViduServer in 6.276 seconds (JVM running for 25.772)
openvidu-server_1 | [INFO] 2020-09-25 15:49:39,881 [main] io.openvidu.server.OpenViduServer -
openvidu-server_1 |
openvidu-server_1 | ----------------------------------------------------
openvidu-server_1 |
openvidu-server_1 | OpenVidu is ready!
openvidu-server_1 | ---------------------------
openvidu-server_1 |
openvidu-server_1 | * OpenVidu Server: https://MY_DOMAIN/
openvidu-server_1 |
openvidu-server_1 | * OpenVidu Dashboard: https://MY_DOMAIN/dashboard/
openvidu-server_1 |
openvidu-server_1 | ----------------------------------------------------
openvidu-server_1 |
openvidu-server_1 | [INFO] 2020-09-25 15:50:06,619 [http-nio-0.0.0.0-5443-exec-1] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet âdispatcherServletâ
openvidu-server_1 | [INFO] 2020-09-25 15:50:06,619 [http-nio-0.0.0.0-5443-exec-1] org.springframework.web.servlet.DispatcherServlet - Initializing Servlet âdispatcherServletâ
openvidu-server_1 | [INFO] 2020-09-25 15:50:06,630 [http-nio-0.0.0.0-5443-exec-1] org.springframework.web.servlet.DispatcherServlet - Completed initialization in 11 ms
openvidu-server_1 | [INFO] 2020-09-25 15:50:08,837 [http-nio-0.0.0.0-5443-exec-6] io.openvidu.server.rest.ConfigRestController - REST API: GET /config/openvidu-publicurl
openvidu-server_1 | [INFO] 2020-09-25 15:50:08,993 [http-nio-0.0.0.0-5443-exec-8] io.openvidu.server.config.InfoHandler - Info websocket stablishedâŚ
openvidu-server_1 | [INFO] 2020-09-25 15:50:26,431 [http-nio-0.0.0.0-5443-exec-9] io.openvidu.server.rest.SessionRestController - REST API: POST /api/sessions {}
openvidu-server_1 | [INFO] 2020-09-25 15:50:26,438 [http-nio-0.0.0.0-5443-exec-9] io.openvidu.server.rest.SessionRestController - New session ses_DpVYUV9MWp initialized [ses_DpVYUV9MWp]
openvidu-server_1 | [INFO] 2020-09-25 15:50:26,508 [http-nio-0.0.0.0-5443-exec-10] io.openvidu.server.rest.SessionRestController - REST API: POST /api/tokens {session=ses_DpVYUV9MWp}
openvidu-server_1 | [INFO] 2020-09-25 15:50:26,508 [http-nio-0.0.0.0-5443-exec-10] io.openvidu.server.coturn.CoturnCredentialsService - Creating COTURN user
openvidu-server_1 | [INFO] 2020-09-25 15:50:26,576 [http-nio-0.0.0.0-5443-exec-10] io.openvidu.server.coturn.CoturnCredentialsService - COTURN user created: true
openvidu-server_1 | [INFO] 2020-09-25 15:50:26,576 [http-nio-0.0.0.0-5443-exec-10] io.openvidu.server.core.Session - Token created { Session: ses_DpVYUV9MWp | Tokens: [wss://MY_DOMAIN?sessionId=ses_DpVYUV9MWp&token=tok_QUlrOJPmby5dT4DP&role=PUBLISHER&version=2.15.0&coturnIp=217.22.208.42&turnUsername=I0VC4F&turnCredential=1pahxc] }
openvidu-server_1 | [INFO] 2020-09-25 15:50:26,725 [http-nio-0.0.0.0-5443-exec-1] io.openvidu.server.config.HttpHandshakeInterceptor - Old HttpSession 003687A16D15DEF0D9C62D1CC4C7F265
openvidu-server_1 | [INFO] 2020-09-25 15:50:26,786 [http-nio-0.0.0.0-5443-exec-3] io.openvidu.server.rpc.RpcHandler - After connection established for WebSocket session: pn2v2pcj8ucrk400o3ee4fttrg
openvidu-server_1 | [INFO] 2020-09-25 15:50:26,791 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.core.Session - Token consumed { Session: ses_DpVYUV9MWp | Tokens: [] }
openvidu-server_1 | [INFO] 2020-09-25 15:50:26,793 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.core.SessionManager - Participant con_VtLvHp0Bmm of session ses_DpVYUV9MWp is a final user connecting to this session for the first time
openvidu-server_1 | [INFO] 2020-09-25 15:50:26,796 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.kurento.core.KurentoSessionManager - KMS less loaded is ws://localhost:8888/kurento with a load of 1.0
openvidu-server_1 | [INFO] 2020-09-25 15:50:26,797 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.kurento.core.KurentoSessionManager - No session âses_DpVYUV9MWpâ exists yet. Created one on KMS âkms_HQdEVxJpâ with ip âlocalhostâ
openvidu-server_1 | [INFO] 2020-09-25 15:50:26,798 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.kurento.core.KurentoSession - SESSION ses_DpVYUV9MWp: Creating MediaPipeline
openvidu-server_1 | [INFO] 2020-09-25 15:50:26,951 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.kurento.core.KurentoSession - SESSION ses_DpVYUV9MWp: Added participant [participantPrivateId=pn2v2pcj8ucrk400o3ee4fttrg, participantPublicId=con_VtLvHp0Bmm, streaming=false]
openvidu-server_1 | [INFO] 2020-09-25 15:50:27,822 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.rpc.RpcHandler - Participant con_VtLvHp0Bmm is calling method âpublishâ in session ses_DpVYUV9MWp
openvidu-server_1 | [INFO] 2020-09-25 15:50:28,501 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.kurento.core.KurentoParticipant - PARTICIPANT con_VtLvHp0Bmm: Request to publish video in room ses_DpVYUV9MWp (sdp type OFFER)
openvidu-server_1 | [INFO] 2020-09-25 15:50:28,853 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.kurento.core.KurentoParticipant - PARTICIPANT con_VtLvHp0Bmm: Is now publishing video in room ses_DpVYUV9MWp
openvidu-server_1 | [INFO] 2020-09-25 15:50:28,855 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.rpc.RpcHandler - Participant con_VtLvHp0Bmm is calling method âonIceCandidateâ in session ses_DpVYUV9MWp
openvidu-server_1 | [INFO] 2020-09-25 15:50:28,855 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_VtLvHp0Bmm: {connectionId: âcon_VtLvHp0Bmmâ, sdpMid: 0, sdpMLineIndex: 0, candidate: âcandidate:3455323002 1 udp 2122260223 192.168.178.20 60559 typ host generation 0 ufrag R9cT network-id 1 network-cost 10â}
openvidu-server_1 | [INFO] 2020-09-25 15:50:28,859 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.rpc.RpcHandler - Participant con_VtLvHp0Bmm is calling method âonIceCandidateâ in session ses_DpVYUV9MWp
openvidu-server_1 | [INFO] 2020-09-25 15:50:28,859 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_VtLvHp0Bmm: {connectionId: âcon_VtLvHp0Bmmâ, sdpMid: 1, sdpMLineIndex: 1, candidate: âcandidate:3455323002 1 udp 2122260223 192.168.178.20 63060 typ host generation 0 ufrag R9cT network-id 1 network-cost 10â}
openvidu-server_1 | [INFO] 2020-09-25 15:50:28,860 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.rpc.RpcHandler - Participant con_VtLvHp0Bmm is calling method âonIceCandidateâ in session ses_DpVYUV9MWp
openvidu-server_1 | [INFO] 2020-09-25 15:50:28,861 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_VtLvHp0Bmm: {connectionId: âcon_VtLvHp0Bmmâ, sdpMid: 0, sdpMLineIndex: 0, candidate: âcandidate:2205677450 1 tcp 1518280447 192.168.178.20 9 typ host tcptype active generation 0 ufrag R9cT network-id 1 network-cost 10â}
openvidu-server_1 | [INFO] 2020-09-25 15:50:28,862 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.rpc.RpcHandler - Participant con_VtLvHp0Bmm is calling method âonIceCandidateâ in session ses_DpVYUV9MWp
openvidu-server_1 | [INFO] 2020-09-25 15:50:28,862 [SessionHandler-pn2v2pcj8ucrk400o3ee4fttrg-e4-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_VtLvHp0Bmm: {connectionId: âcon_VtLvHp0Bmmâ, sdpMid: 1, sdpMLineIndex: 1, candidate: âcandidate:2205677450 1 tcp 1518280447 192.168.178.20 9 typ host tcptype active generation 0 ufrag R9cT network-id 1 network-cost 10â}
openvidu-server_1 | [INFO] 2020-09-25 15:50:28,951 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t7] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: str_CAM_QpEU_con_VtLvHp0Bmm (publisher) | state: GATHERING | componentId: 1 | streamId: 1 | timestamp: 1601049028922
openvidu-server_1 | [INFO] 2020-09-25 15:50:28,952 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t5] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: str_CAM_QpEU_con_VtLvHp0Bmm (publisher) | state: CONNECTING | componentId: 1 | streamId: 1 | timestamp: 1601049028922
openvidu-server_1 | [INFO] 2020-09-25 15:50:28,966 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t7] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: str_CAM_QpEU_con_VtLvHp0Bmm (publisher) | state: GATHERING | componentId: 2 | streamId: 1 | timestamp: 1601049028939
openvidu-server_1 | [INFO] 2020-09-25 15:50:30,967 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t7] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceGatheringDone] -> endpoint: str_CAM_QpEU_con_VtLvHp0Bmm (publisher) | timestamp: 1601049030964
openvidu-server_1 | [INFO] 2020-09-25 15:50:36,003 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t7] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: str_CAM_QpEU_con_VtLvHp0Bmm (publisher) | state: FAILED | componentId: 1 | streamId: 1 | timestamp: 1601049036000
openvidu-server_1 | [INFO] 2020-09-25 15:51:00,286 [http-nio-0.0.0.0-5443-exec-2] io.openvidu.server.rest.ConfigRestController - REST API: GET /config/openvidu-publicurl
openvidu-server_1 | [INFO] 2020-09-25 15:51:00,355 [http-nio-0.0.0.0-5443-exec-5] io.openvidu.server.config.InfoHandler - Info websocket stablishedâŚ
openvidu-server_1 | [INFO] 2020-09-25 15:51:06,300 [http-nio-0.0.0.0-5443-exec-6] io.openvidu.server.rest.SessionRestController - REST API: POST /api/sessions {}
openvidu-server_1 | [INFO] 2020-09-25 15:51:06,301 [http-nio-0.0.0.0-5443-exec-6] io.openvidu.server.rest.SessionRestController - New session ses_X2Y7aHzsgl initialized [ses_DpVYUV9MWp, ses_X2Y7aHzsgl]
openvidu-server_1 | [INFO] 2020-09-25 15:51:06,357 [http-nio-0.0.0.0-5443-exec-8] io.openvidu.server.rest.SessionRestController - REST API: POST /api/tokens {session=ses_X2Y7aHzsgl}
openvidu-server_1 | [INFO] 2020-09-25 15:51:06,357 [http-nio-0.0.0.0-5443-exec-8] io.openvidu.server.coturn.CoturnCredentialsService - Creating COTURN user
openvidu-server_1 | [INFO] 2020-09-25 15:51:06,374 [http-nio-0.0.0.0-5443-exec-8] io.openvidu.server.coturn.CoturnCredentialsService - COTURN user created: true
Can you help me??
Thank you!!!
It seems like there is a problem with your redis db @Ivan. Could you share your Redis logs?
Regards,
Carlos
Thanks Carlos,
I made a new installation and now it works!!!