docker-compose logs openvidu-server
[root@server openvidu]# docker-compose logs openvidu-server
Attaching to openvidu_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.13.0
openvidu-server_1 | ______________________________________________
openvidu-server_1 |
openvidu-server_1 | [INFO] 2020-05-02 12:59:57,748 [main] io.openvidu.server.OpenViduServer - Starting OpenViduServer on server.fourmodules.com with PID 20 (/openvidu-server.jar started by root in /)
openvidu-server_1 | [INFO] 2020-05-02 12:59:57,751 [main] io.openvidu.server.OpenViduServer - No active profile set, falling back to default profiles: default
openvidu-server_1 | [ERROR] 2020-05-02 12:59:57,879 [main] io.openvidu.server.config.OpenviduConfig - .env file not found at /./.env
openvidu-server_1 | [INFO] 2020-05-02 12:59:57,942 [main] io.openvidu.server.OpenViduServer - Started OpenViduServer in 0.862 seconds (JVM running for 1.369)
openvidu-server_1 | [INFO] 2020-05-02 12:59:57,943 [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=selfsigned
openvidu-server_1 | * OPENVIDU_CDR=false
openvidu-server_1 | * OPENVIDU_CDR_PATH=/opt/openvidu/cdr
openvidu-server_1 | * OPENVIDU_DOMAIN_OR_PUBLIC_IP=openvidu.fourmodules.com
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_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.9.0
openvidu-server_1 | * OPENVIDU_SECRET=MY_SECRET
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 | [INFO] 2020-05-02 12:59:57,944 [main] io.openvidu.server.OpenViduServer - Using /dev/urandom for secure random generation
openvidu-server_1 | [INFO] 2020-05-02 12:59:57,993 [main] io.openvidu.server.OpenViduServer - Starting OpenViduServer on server.fourmodules.com with PID 20 (/openvidu-server.jar started by root in /)
openvidu-server_1 | [INFO] 2020-05-02 12:59:57,994 [main] io.openvidu.server.OpenViduServer - No active profile set, falling back to default profiles: default
openvidu-server_1 | [ERROR] 2020-05-02 12:59:58,725 [main] io.openvidu.server.config.OpenviduConfig - .env file not found at /./.env
openvidu-server_1 | [INFO] 2020-05-02 12:59:58,924 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 5443 (http)
openvidu-server_1 | [INFO] 2020-05-02 12:59:58,935 [main] org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-0.0.0.0-5443"]
openvidu-server_1 | [INFO] 2020-05-02 12:59:58,935 [main] org.apache.catalina.core.StandardService - Starting service [Tomcat]
openvidu-server_1 | [INFO] 2020-05-02 12:59:58,936 [main] org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.30]
openvidu-server_1 | [INFO] 2020-05-02 12:59:58,996 [main] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
openvidu-server_1 | [INFO] 2020-05-02 12:59:58,997 [main] org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 981 ms
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,222 [main] io.openvidu.server.OpenViduServer - OpenVidu CDR service is disabled (may be enable with 'OPENVIDU_CDR=true')
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,222 [main] io.openvidu.server.OpenViduServer - OpenVidu Webhook service is disabled (may be enabled with 'OPENVIDU_WEBHOOK=true')
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,230 [main] io.openvidu.server.OpenViduServer - OpenVidu Server using one KMS: ws://localhost:8888/kurento
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,245 [rbeatExec-e1-t0] org.kurento.jsonrpc.client.JsonRpcClientNettyWebSocket - [KurentoClient] Connecting native client
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,245 [rbeatExec-e1-t0] org.kurento.jsonrpc.client.JsonRpcClientNettyWebSocket - [KurentoClient] Creating new NioEventLoopGroup
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,352 [ntLoopGroup-2-1] org.kurento.jsonrpc.client.JsonRpcClientNettyWebSocket - [KurentoClient] Initiating new Netty channel. Will create new handler too!
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,440 [EventExec-e2-t0] io.openvidu.server.kurento.kms.KmsManager - Kurento Client "connected" event for KMS ws://localhost:8888/kurento [org.kurento.client.KurentoClient@167be285]
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,442 [main] io.openvidu.server.recording.service.RecordingManager - OpenVidu recording service is disabled
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,471 [main] io.openvidu.server.coturn.CoturnCredentialsService - COTURN IP: 69.10.52.178
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,471 [main] io.openvidu.server.coturn.CoturnCredentialsService - COTURN Redis DB accessible with string "ip=127.0.0.1 dbname=0 password=turn connect_timeout=30"
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,471 [main] io.openvidu.server.coturn.CoturnCredentialsService - Cleaning COTURN DB...
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,472 [main] io.openvidu.server.coturn.CoturnCredentialsService - Path of COTURN log files: /var/log/
openvidu-server_1 | [ERROR] 2020-05-02 12:59:59,474 [main] io.openvidu.server.coturn.CoturnCredentialsService - COTURN DB is not empty
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,474 [main] io.openvidu.server.coturn.CoturnCredentialsService - Using COTURN credentials service for BASH environment
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,482 [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-05-02 12:59:59,507 [main] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService 'jsonrpcTaskScheduler'
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,636 [main] org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'applicationTaskExecutor'
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,735 [main] org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping - Adding welcome page: class path resource [static/index.html]
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,892 [main] org.springframework.security.web.DefaultSecurityFilterChain - Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3246fb96, org.springframework.security.web.context.SecurityContextPersistenceFilter@776b83cc, org.springframework.security.web.header.HeaderWriterFilter@524d6d96, org.springframework.web.filter.CorsFilter@8dbdac1, org.springframework.security.web.authentication.logout.LogoutFilter@3541cb24, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@7690781, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4e268090, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2beee7ff, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2e222612, org.springframework.security.web.session.SessionManagementFilter@44a7bfbc, org.springframework.security.web.access.ExceptionTranslationFilter@61d6015a, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@140c9f39]
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,924 [main] org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-0.0.0.0-5443"]
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,939 [main] org.springframework.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 5443 (http) with context path ''
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,940 [main] io.openvidu.server.OpenViduServer - Started OpenViduServer in 1.983 seconds (JVM running for 3.367)
openvidu-server_1 | [INFO] 2020-05-02 12:59:59,941 [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://openvidu.fourmodules.com/
openvidu-server_1 |
openvidu-server_1 | * OpenVidu Dashboard: https://openvidu.fourmodules.com/dashboard/
openvidu-server_1 |
openvidu-server_1 | ----------------------------------------------------
openvidu-server_1 |
[root@server openvidu]#
docker-compose logs nginx
[root@server openvidu]# docker-compose logs nginx
Attaching to openvidu_nginx_1
nginx_1 | 2020/05/02 12:59:55 [emerg] 14#14: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:55 [emerg] 14#14: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:55 [emerg] 14#14: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:55 [emerg] 14#14: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:55 [emerg] 14#14: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:55 [emerg] 14#14: still could not bind()
nginx_1 | nginx: [emerg] still could not bind()
nginx_1 | Domain name: openvidu.fourmodules.com
nginx_1 | Certificated: selfsigned
nginx_1 | Letsencrypt Email: rahul.nagpal@exoways.com
nginx_1 | Proxy mode: CE
nginx_1 | Demos mode: true
nginx_1 | ===Mode selfsigned===
nginx_1 | The certificate already exists, using them...
nginx_1 | 2020/05/02 12:59:58 [warn] 31#31: "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/letsencrypt/live/openvidu.fourmodules.com/fullchain.pem"
nginx_1 | nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/letsencrypt/live/openvidu.fourmodules.com/fullchain.pem"
nginx_1 | 2020/05/02 12:59:58 [warn] 34#34: "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/letsencrypt/live/openvidu.fourmodules.com/fullchain.pem"
nginx_1 | nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/letsencrypt/live/openvidu.fourmodules.com/fullchain.pem"
nginx_1 | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:58 [emerg] 34#34: bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx_1 | 2020/05/02 12:59:58 [emerg] 34#34: still could not bind()
nginx_1 | nginx: [emerg] still could not bind()
nginx_1 | Restarting nginx: nginx failed!
[root@server openvidu]#
cat .env
[root@server openvidu]# cat .env
# OpenVidu configuration
# ----------------------
# Documentation: https://docs.openvidu.io/en/stable/reference-docs/openvidu-config/
# NOTE: This file doesn't need to quote assignment values, like most shells do.
# All values are stored as-is, even if they contain spaces, so don't quote them.
# Domain name. If you do not have one, the public IP of the machine.
# For example: 198.51.100.1, or openvidu.example.com
OPENVIDU_DOMAIN_OR_PUBLIC_IP=openvidu.fourmodules.com
# OpenVidu SECRET used for apps to connect to OpenVidu server and users to access to OpenVidu Dashboard
OPENVIDU_SECRET=MY_SECRET
# Certificate type:
# - selfsigned: Self signed certificate. Not recommended for production use.
# Users will see an ERROR when connected to web page.
# - owncert: Valid certificate purchased in a Internet services company.
# Please put the certificates files inside folder ./owncert
# with names certificate.key and certificate.cert
# - letsencrypt: Generate a new certificate using letsencrypt. Please set the
# required contact email for Let's Encrypt in LETSENCRYPT_EMAIL
# variable.
CERTIFICATE_TYPE=selfsigned
# If CERTIFICATE_TYPE=letsencrypt, you need to configure a valid email for notifications
LETSENCRYPT_EMAIL=rahul.nagpal@exoways.com
# Whether to enable recording module or not
OPENVIDU_RECORDING=false
# Openvidu Folder Record used for save the openvidu recording videos. Change it
# with the folder you want to use from your host.
OPENVIDU_RECORDING_PATH=/opt/openvidu/recordings
# System path where OpenVidu Server should look for custom recording layouts
OPENVIDU_RECORDING_CUSTOM_LAYOUT=/opt/openvidu/custom-layout
# if true any client can connect to
# https://OPENVIDU_SERVER_IP:OPENVIDU_PORT/recordings/any_session_file.mp4
# and access any recorded video file. If false this path will be secured with
# OPENVIDU_SECRET param just as OpenVidu Server dashboard at
# https://OPENVIDU_SERVER_IP:OPENVIDU_PORT
# Values: true | false
OPENVIDU_RECORDING_PUBLIC_ACCESS=false
# Which users should receive the recording events in the client side
# (recordingStarted, recordingStopped). Can be all (every user connected to
# the session), publisher_moderator (users with role 'PUBLISHER' or
# 'MODERATOR'), moderator (only users with role 'MODERATOR') or none
# (no user will receive these events)
OPENVIDU_RECORDING_NOTIFICATION=publisher_moderator
# Timeout in seconds for recordings to automatically stop (and the session involved to be closed)
# when conditions are met: a session recording is started but no user is publishing to it or a session
# is being recorded and last user disconnects. If a user publishes within the timeout in either case,
# the automatic stop of the recording is cancelled
# 0 means no timeout
OPENVIDU_RECORDING_AUTOSTOP_TIMEOUT=120
# Maximum video bandwidth sent from clients to OpenVidu Server, in kbps.
# 0 means unconstrained
OPENVIDU_STREAMS_VIDEO_MAX_RECV_BANDWIDTH=1000
# Minimum video bandwidth sent from clients to OpenVidu Server, in kbps.
# 0 means unconstrained
OPENVIDU_STREAMS_VIDEO_MIN_RECV_BANDWIDTH=300
# Maximum video bandwidth sent from OpenVidu Server to clients, in kbps.
# 0 means unconstrained
OPENVIDU_STREAMS_VIDEO_MAX_SEND_BANDWIDTH=1000
# Minimum video bandwidth sent from OpenVidu Server to clients, in kbps.
# 0 means unconstrained
OPENVIDU_STREAMS_VIDEO_MIN_SEND_BANDWIDTH=300
# true to enable OpenVidu Webhook service. false' otherwise
# Values: true | false
OPENVIDU_WEBHOOK=false
# HTTP endpoint where OpenVidu Server will send Webhook HTTP POST messages
# Must be a valid URL: http(s)://ENDPOINT
#OPENVIDU_WEBHOOK_ENDPOINT=
# List of headers that OpenVidu Webhook service will attach to HTTP POST messages
#OPENVIDU_WEBHOOK_HEADERS=
# List of events that will be sent by OpenVidu Webhook service
# Leave blank if all events.
OPENVIDU_WEBHOOK_EVENTS=[sessionCreated,sessionDestroyed,participantJoined,participantLeft,webrtcConnectionCreated,webrtcConnectionDestroyed,recordingStatusChanged,filterEventDispatched,mediaNodeStatusChanged]
# How often the garbage collector of non active sessions runs.
# This helps cleaning up sessions that have been initialized through
# REST API (and maybe tokens have been created for them) but have had no users connected.
# Default to 900s (15 mins). 0 to disable non active sessions garbage collector
OPENVIDU_SESSIONS_GARBAGE_INTERVAL=900
# Minimum time in seconds that a non active session must have been in existence
# for the garbage collector of non active sessions to remove it. Default to 3600s (1 hour).
# If non active sessions garbage collector is disabled
# (property 'OPENVIDU_SESSIONS_GARBAGE_INTERVAL' to 0) this property is ignored
OPENVIDU_SESSIONS_GARBAGE_THRESHOLD=3600
# Call Detail Record enabled
# Whether to enable Call Detail Record or not
# Values: true | false
OPENVIDU_CDR=false
# Path where the cdr log files are hosted
OPENVIDU_CDR_PATH=/opt/openvidu/cdr
# Kurento Media Server image
# --------------------------
# Docker hub kurento media server: https://hub.docker.com/r/kurento/kurento-media-server-dev
# Uncomment the next line and define this variable with KMS image that you want use
# KMS_IMAGE=kurento/kurento-media-server-dev:6.13
# Kurento Media Server Level logs
# -------------------------------
# Uncomment the next line and define this variable to change
# the verbosity level of the logs of KMS
# Documentation: https://doc-kurento.readthedocs.io/en/stable/features/logging.html
# KMS_DEBUG_LEVEL=3,Kurento*:4,kms*:4,sdp*:4,webrtc*:4,*rtpendpoint:4,rtp*handler:4,rtpsynchronizer:4,agnosticbin:4
# Openvidu Server Level logs
# --------------------------
# Uncomment the next line and define this variable to change
# the verbosity level of the logs of Openvidu Service
# RECOMENDED VALUES: INFO for normal logs DEBUG for more verbose logs
# OV_CE_DEBUG_LEVEL=INFO
# Java Options
# --------------------------
# Uncomment the next line and define this to add
# options to java command
# Documentation: https://docs.oracle.com/cd/E37116_01/install.111210/e23737/configuring_jvm.htm#OUDIG00058
# JAVA_OPTIONS=-Xms2048m -Xmx4096m
[root@server openvidu]#