OpenVidu Classroom - Can publish but can't subscribe

Hello there,

First of all, congratulations on the amazing work you’ve been doing with OpenVidu!

Secondly, I’m having some problems with my local environment. I was developing an Angular web app that integrated with OpenVidu but down the road found out that I can publish video content but can’t subscribe to it. The console logs are the following:

I though the problem could be from that specific web app and so I decided to follow the classroom installation guide and the exact same thing happened. I’m able to publish but can’t subscribe (tried incognito - google chrome).

Since I’ve followed exactly this guide, what could the problem be?

Extra information: Windows 10 Machine, Docker Desktop, Version 2.15.0.

Any help would be appreciated.

Kind regards,
Leonardo Freire

please check this link https://docs.openvidu.io/en/2.15.0/cheatsheet/subscribe-unsubscribe/
i hope this solve your problem

Hi @vipin_mishra, like I said I’ve tested with the classroom demo guide. The same problem occurs and I don’t think there’s any problem with the demo code.

Is there anything else, non related to code, that can be causing this?

Kind regards,
Leonardo Freire

please share browser console logs and your application backend console.
it help to understand what is problem there

@vipin_mishra the browser console logs were shared in the initial post.

The following are the backend logs:

And the OpenVidu logs:
2020-07-29 09:17:48,604 DEBG ‘kms’ stdout output: 0:04:08.719158881 8 0x7fa830001920 DEBUG KurentoWebSocketTransport WebSocketTransport.cpp:521:processMessage: Response: {“id”:63,“jsonrpc”:“2.0”,“result”:{“sessionId”:“f27c73b6-2227-4b64-a6b7-84e87e41ffd6”,“value”:null}}

2020-07-29 09:17:48,619 DEBG 'openvidu-server' stdout output:
[INFO] 2020-07-29 09:17:48,612 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t2] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: con_BszbpOuAqT_str_CAM_N22F_con_AKligMlyAV (subscriber) | state: CONNECTING | componentId: 1 | streamId: 1 | timestamp: 1596014268586

2020-07-29 09:17:51,894 DEBG 'kms' stdout output:
0:04:12.015400769     8 0x7fa82800d100 DEBUG   KurentoWebSocketTransport WebSocketTransport.cpp:519:processMessage: Message: {"id":64,"method":"ping","jsonrpc":"2.0","params":{"sessionId":"f27c73b6-2227-4b64-a6b7-84e87e41ffd6"}}
0:04:12.015578869     8 0x7fa82800d100 INFO    KurentoServerMethods ServerMethods.cpp:814:ping: WebSocket Ping/Pong with sessionId f27c73b6-2227-4b64-a6b7-84e87e41ffd6
0:04:12.015800169     8 0x7fa82800d100 DEBUG   KurentoWebSocketTransport WebSocketTransport.cpp:521:processMessage: Response: {"id":64,"jsonrpc":"2.0","result":{"sessionId":"f27c73b6-2227-4b64-a6b7-84e87e41ffd6","value":"pong"}}

2020-07-29 09:17:55,698 DEBG 'kms' stdout output:
0:04:15.820523102     8 0x7fa828001ec0 DEBUG   KurentoWebSocketEventHandler WebSocketEventHandler.cpp:56:sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"componentId":1,"source":"491c8c45-a793-4567-b637-7cfd6c61c30e_kurento.MediaPipeline/28430cd8-5b17-4105-b9e6-2b761b5cf035_kurento.WebRtcEndpoint","state":"FAILED","streamId":1,"tags":[],"timestamp":"1596014275","timestampMillis":"1596014275698","type":"IceComponentStateChange"},"object":"491c8c45-a793-4567-b637-7cfd6c61c30e_kurento.MediaPipeline/28430cd8-5b17-4105-b9e6-2b761b5cf035_kurento.WebRtcEndpoint","type":"IceComponentStateChange"}}}, sessionId: f27c73b6-2227-4b64-a6b7-84e87e41ffd6

2020-07-29 09:17:55,700 DEBG 'openvidu-server' stdout output:
[INFO] 2020-07-29 09:17:55,700 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t2] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: con_BszbpOuAqT_str_CAM_N22F_con_AKligMlyAV (subscriber) | state: FAILED | componentId: 1 | streamId: 1 | timestamp: 1596014275698

2020-07-29 09:18:40,995 DEBG 'kms' stdout output:
0:05:01.117690740     8 0x7fa83401c920 INFO    KurentoWebSocketTransport WebSocketTransport.cpp:346:keepAliveSessions: Keep alive f27c73b6-2227-4b64-a6b7-84e87e41ffd6

Kind regards,
Leonardo Freire

Try to test with demos OpenVidu server:

URL: https://demos.openvidu.io
SECRET: MY_SECRET

It seems you have a network problem with your local setup

Thank you for your response @micael.gallego!

I’ve tried the demos before and retried them again now and they work without a problem.

So it must really be a local problem. Any hints on how to find the problem and solve it?

Kind regards,
Leonardo Freire

@micael.gallego just finished deploying through this guide with all the defaults except the public url and the secret and the exact same behavior occurs, as shown below:

Tested with another computer and both can publish video but none can see the others video. Clean ubuntu server, clean installation. The IceConnectionState keeps changing to “disconnected” after a few seconds.

I would really love your help on this, since it seems it’s not a local network problem anymore.

EDIT:
And on the same note, the dashboard test also fails, as shown below:

Kind regards,
Leonardo Freire

i think your Ice can not able detect your Ip or maybe it ssl problems can you tell me your server Ip so i can check it from my side
Thanks

@vipin_mishra the server IP is 52.166.10.118. I’m using the CERT_TYPE as selfsigned.

@canarinho07 @micael.gallego i found the issue its due to wss can not able to connect KMS and due to ssl issue or something’s else please check Openvidu logs and Kms logs.
You will find what is error and becuase token is generated its means problem in connecting KMS.
please see images


response of these request
is
Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT

Yes… your deployment is not working properly. Maybe you have firewall issues or something else.

Share NGINX logs and OpenVidu logs to take a look.

@vipin_mishra @micael.gallego OpenVidu logs:

    openvidu-server_1  | [INFO] 2020-07-30 11:01:18,825 [Timer-0] io.openvidu.server.core.SessionManager - Running non active sessions garbage collector...
    openvidu-server_1  | [INFO] 2020-07-30 11:09:09,579 [http-nio-0.0.0.0-5443-exec-9] io.openvidu.server.rest.SessionRestController - REST API: POST /api/sessions {customSessionId=above-orange-kite}
    openvidu-server_1  | [INFO] 2020-07-30 11:09:09,580 [http-nio-0.0.0.0-5443-exec-9] io.openvidu.server.rest.SessionRestController - New session above-orange-kite initialized [repulsive-white-whale, above-orange-kite]
    openvidu-server_1  | [INFO] 2020-07-30 11:09:09,695 [http-nio-0.0.0.0-5443-exec-10] io.openvidu.server.rest.SessionRestController - REST API: POST /api/tokens {session=above-orange-kite}
    openvidu-server_1  | [INFO] 2020-07-30 11:09:09,695 [http-nio-0.0.0.0-5443-exec-10] io.openvidu.server.coturn.CoturnCredentialsService - Creating COTURN user
    openvidu-server_1  | [INFO] 2020-07-30 11:09:09,732 [http-nio-0.0.0.0-5443-exec-10] io.openvidu.server.coturn.CoturnCredentialsService - COTURN user created: true
    openvidu-server_1  | [INFO] 2020-07-30 11:09:09,733 [http-nio-0.0.0.0-5443-exec-10] io.openvidu.server.core.Session - Token created { Session: above-orange-kite | Tokens: [wss://52.174.89.51?sessionId=above-orange-kite&token=tok_Yy6PDvAt2ky1e552&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=C3WSBU&turnCredential=kpcxdx] }
    openvidu-server_1  | [INFO] 2020-07-30 11:09:09,892 [http-nio-0.0.0.0-5443-exec-1] io.openvidu.server.rest.SessionRestController - REST API: POST /api/sessions {customSessionId=above-orange-kite}
    openvidu-server_1  | [INFO] 2020-07-30 11:09:10,000 [http-nio-0.0.0.0-5443-exec-2] io.openvidu.server.rest.SessionRestController - REST API: POST /api/tokens {session=above-orange-kite}
    openvidu-server_1  | [INFO] 2020-07-30 11:09:10,000 [http-nio-0.0.0.0-5443-exec-2] io.openvidu.server.coturn.CoturnCredentialsService - Creating COTURN user
    openvidu-server_1  | [INFO] 2020-07-30 11:09:10,032 [http-nio-0.0.0.0-5443-exec-2] io.openvidu.server.coturn.CoturnCredentialsService - COTURN user created: true
    openvidu-server_1  | [INFO] 2020-07-30 11:09:10,032 [http-nio-0.0.0.0-5443-exec-2] io.openvidu.server.core.Session - Token created { Session: above-orange-kite | Tokens: [wss://52.174.89.51?sessionId=above-orange-kite&token=tok_Yy6PDvAt2ky1e552&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=C3WSBU&turnCredential=kpcxdx, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_REQMIBcHOrifKFav&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=YFFJFK&turnCredential=usjesa] }
    openvidu-server_1  | [INFO] 2020-07-30 11:09:18,987 [http-nio-0.0.0.0-5443-exec-3] io.openvidu.server.rest.SessionRestController - REST API: POST /api/sessions {customSessionId=above-orange-kite}
    openvidu-server_1  | [INFO] 2020-07-30 11:09:19,097 [http-nio-0.0.0.0-5443-exec-4] io.openvidu.server.rest.SessionRestController - REST API: POST /api/tokens {session=above-orange-kite}
    openvidu-server_1  | [INFO] 2020-07-30 11:09:19,097 [http-nio-0.0.0.0-5443-exec-4] io.openvidu.server.coturn.CoturnCredentialsService - Creating COTURN user
    openvidu-server_1  | [INFO] 2020-07-30 11:09:19,287 [http-nio-0.0.0.0-5443-exec-4] io.openvidu.server.coturn.CoturnCredentialsService - COTURN user created: true
    openvidu-server_1  | [INFO] 2020-07-30 11:09:19,288 [http-nio-0.0.0.0-5443-exec-4] io.openvidu.server.core.Session - Token created { Session: above-orange-kite | Tokens: [wss://52.174.89.51?sessionId=above-orange-kite&token=tok_TcX6FDlb3Crk3KYR&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=SXIH4A&turnCredential=xmkfcp, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_Yy6PDvAt2ky1e552&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=C3WSBU&turnCredential=kpcxdx, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_REQMIBcHOrifKFav&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=YFFJFK&turnCredential=usjesa] }
    openvidu-server_1  | [INFO] 2020-07-30 11:09:19,441 [http-nio-0.0.0.0-5443-exec-5] io.openvidu.server.rest.SessionRestController - REST API: POST /api/sessions {customSessionId=above-orange-kite}
    openvidu-server_1  | [INFO] 2020-07-30 11:09:19,554 [http-nio-0.0.0.0-5443-exec-6] io.openvidu.server.rest.SessionRestController - REST API: POST /api/tokens {session=above-orange-kite}
    openvidu-server_1  | [INFO] 2020-07-30 11:09:19,554 [http-nio-0.0.0.0-5443-exec-6] io.openvidu.server.coturn.CoturnCredentialsService - Creating COTURN user
    openvidu-server_1  | [INFO] 2020-07-30 11:09:19,589 [http-nio-0.0.0.0-5443-exec-6] io.openvidu.server.coturn.CoturnCredentialsService - COTURN user created: true
    openvidu-server_1  | [INFO] 2020-07-30 11:09:19,590 [http-nio-0.0.0.0-5443-exec-6] io.openvidu.server.core.Session - Token created { Session: above-orange-kite | Tokens: [wss://52.174.89.51?sessionId=above-orange-kite&token=tok_SVCu2ge3fTTUFYDj&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=KWVZ67&turnCredential=ewf1up, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_TcX6FDlb3Crk3KYR&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=SXIH4A&turnCredential=xmkfcp, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_Yy6PDvAt2ky1e552&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=C3WSBU&turnCredential=kpcxdx, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_REQMIBcHOrifKFav&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=YFFJFK&turnCredential=usjesa] }
    openvidu-server_1  | [INFO] 2020-07-30 11:09:58,302 [http-nio-0.0.0.0-5443-exec-7] io.openvidu.server.rest.SessionRestController - REST API: POST /api/sessions {customSessionId=above-orange-kite}
    openvidu-server_1  | [INFO] 2020-07-30 11:09:58,410 [http-nio-0.0.0.0-5443-exec-8] io.openvidu.server.rest.SessionRestController - REST API: POST /api/tokens {session=above-orange-kite}
    openvidu-server_1  | [INFO] 2020-07-30 11:09:58,410 [http-nio-0.0.0.0-5443-exec-8] io.openvidu.server.coturn.CoturnCredentialsService - Creating COTURN user
    openvidu-server_1  | [INFO] 2020-07-30 11:09:58,444 [http-nio-0.0.0.0-5443-exec-8] io.openvidu.server.coturn.CoturnCredentialsService - COTURN user created: true
    openvidu-server_1  | [INFO] 2020-07-30 11:09:58,445 [http-nio-0.0.0.0-5443-exec-8] io.openvidu.server.core.Session - Token created { Session: above-orange-kite | Tokens: [wss://52.174.89.51?sessionId=above-orange-kite&token=tok_SVCu2ge3fTTUFYDj&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=KWVZ67&turnCredential=ewf1up, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_TcX6FDlb3Crk3KYR&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=SXIH4A&turnCredential=xmkfcp, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_Yy6PDvAt2ky1e552&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=C3WSBU&turnCredential=kpcxdx, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_O30pt8961QQ44YNb&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=9YMENP&turnCredential=ykjb9l, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_REQMIBcHOrifKFav&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=YFFJFK&turnCredential=usjesa] }
    openvidu-server_1  | [INFO] 2020-07-30 11:09:58,595 [http-nio-0.0.0.0-5443-exec-9] io.openvidu.server.rest.SessionRestController - REST API: POST /api/sessions {customSessionId=above-orange-kite}
    openvidu-server_1  | [INFO] 2020-07-30 11:09:58,705 [http-nio-0.0.0.0-5443-exec-10] io.openvidu.server.rest.SessionRestController - REST API: POST /api/tokens {session=above-orange-kite}
    openvidu-server_1  | [INFO] 2020-07-30 11:09:58,706 [http-nio-0.0.0.0-5443-exec-10] io.openvidu.server.coturn.CoturnCredentialsService - Creating COTURN user
    openvidu-server_1  | [INFO] 2020-07-30 11:09:58,736 [http-nio-0.0.0.0-5443-exec-10] io.openvidu.server.coturn.CoturnCredentialsService - COTURN user created: true
    openvidu-server_1  | [INFO] 2020-07-30 11:09:58,736 [http-nio-0.0.0.0-5443-exec-10] io.openvidu.server.core.Session - Token created { Session: above-orange-kite | Tokens: [wss://52.174.89.51?sessionId=above-orange-kite&token=tok_SVCu2ge3fTTUFYDj&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=KWVZ67&turnCredential=ewf1up, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_TcX6FDlb3Crk3KYR&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=SXIH4A&turnCredential=xmkfcp, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_Tsn9VxyiHTUdVcwx&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=LKRQVU&turnCredential=1ym8ks, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_Yy6PDvAt2ky1e552&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=C3WSBU&turnCredential=kpcxdx, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_O30pt8961QQ44YNb&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=9YMENP&turnCredential=ykjb9l, wss://52.174.89.51?sessionId=above-orange-kite&token=tok_REQMIBcHOrifKFav&role=PUBLISHER&version=2.15.0&coturnIp=52.166.10.118&turnUsername=YFFJFK&turnCredential=usjesa] }  

Had to extract only this part because of the max character limit.
KMS logs and NGINX logs in the next response since those exceed the max character limit on each reply.

Was there any mistake during deployment? I think I didn’t miss any steps showed in the guide.

Kind regards,
Leonardo Freire

KMS logs:

kms_1              | + echo '[Docker entrypoint] Start Kurento Media Server, UID: 0'
kms_1              | + exec /usr/bin/kurento-media-server ''
kms_1              | 0:00:00.042794812    15      0x22d5c60 WARN                  ladspa gstladspa.c:455:plugin_init: no LADSPA plugins found, check LADSPA_PATH
kms_1              | 0:00:00.309809159    15      0x22d5c60 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.310003970    15      0x22d5c60 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.310086375    15      0x22d5c60 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.310156479    15      0x22d5c60 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.310231483    15      0x22d5c60 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.310297387    15      0x22d5c60 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.310378691    15      0x22d5c60 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.310443495    15      0x22d5c60 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.310518699    15      0x22d5c60 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.046569681     1 0x55a04711b730 INFO    KurentoModuleManager ModuleManager.cpp:90:loadModule: Load file: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmsfiltersmodule.so, module name: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmsfiltersmodule.so
kms_1              | 0:00:01.046632284     1 0x55a04711b730 INFO    KurentoModuleManager ModuleManager.cpp:137:loadModule: Loaded module: filters, version: 6.14.0, date: Jun 16 2020 16:56:52
kms_1              | 0:00:01.056339831     1 0x55a04711b730 INFO    KurentoModuleManager ModuleManager.cpp:90:loadModule: Load file: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmselementsmodule.so, module name: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmselementsmodule.so
kms_1              | 0:00:01.056384534     1 0x55a04711b730 INFO    KurentoModuleManager ModuleManager.cpp:137:loadModule: Loaded module: elements, version: 6.14.0, date: Jun 16 2020 16:47:08
kms_1              | 0:00:01.059307499     1 0x55a04711b730 INFO    KurentoModuleManager ModuleManager.cpp:90:loadModule: Load file: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmscoremodule.so, module name: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmscoremodule.so
kms_1              | 0:00:01.059347801     1 0x55a04711b730 INFO    KurentoModuleManager ModuleManager.cpp:137:loadModule: Loaded module: core, version: 6.14.0, date: Jun 16 2020 16:37:41
kms_1              | 0:00:01.059391803     1 0x55a04711b730 INFO      KurentoMediaServer main.cpp:240:main: Kurento Media Server version: 6.14.0
kms_1              | 0:00:01.059397704     1 0x55a04711b730 INFO       KurentoLoadConfig loadConfig.cpp:249:loadConfig: Reading configuration from: /etc/kurento/kurento.conf.json
kms_1              | 0:00:01.059855930     1 0x55a04711b730 INFO       KurentoLoadConfig loadConfig.cpp:183:loadModulesConfigFromDir: Looking for config files in /etc/kurento/modules
kms_1              | 0:00:01.059970636     1 0x55a04711b730 INFO       KurentoLoadConfig loadConfig.cpp:183:loadModulesConfigFromDir: Looking for config files in /etc/kurento/modules/kurento
kms_1              | 0:00:01.060330156     1 0x55a04711b730 INFO       KurentoLoadConfig loadConfig.cpp:209:loadModulesConfigFromDir: Loaded module config: /etc/kurento/modules/kurento/SdpEndpoint.conf.json
kms_1              | 0:00:01.060520967     1 0x55a04711b730 INFO       KurentoLoadConfig loadConfig.cpp:209:loadModulesConfigFromDir: Loaded module config: /etc/kurento/modules/kurento/UriEndpoint.conf.ini
kms_1              | 0:00:01.061391016     1 0x55a04711b730 INFO       KurentoLoadConfig loadConfig.cpp:209:loadModulesConfigFromDir: Loaded module config: /etc/kurento/modules/kurento/MediaElement.conf.ini
kms_1              | 0:00:01.061674232     1 0x55a04711b730 INFO       KurentoLoadConfig loadConfig.cpp:209:loadModulesConfigFromDir: Loaded module config: /etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini
kms_1              | 0:00:01.065769863     1 0x55a04711b730 INFO       KurentoLoadConfig loadConfig.cpp:209:loadModulesConfigFromDir: Loaded module config: /etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini
kms_1              | 0:00:01.066223788     1 0x55a04711b730 INFO       KurentoLoadConfig loadConfig.cpp:209:loadModulesConfigFromDir: Loaded module config: /etc/kurento/modules/kurento/PlayerEndpoint.conf.ini
kms_1              | 0:00:01.066597209     1 0x55a04711b730 INFO       KurentoLoadConfig loadConfig.cpp:209:loadModulesConfigFromDir: Loaded module config: /etc/kurento/modules/kurento/HttpEndpoint.conf.ini
kms_1              | 0:00:01.066744918     1 0x55a04711b730 INFO       KurentoLoadConfig loadConfig.cpp:265:loadConfig: Configuration loaded successfully
kms_1              | 0:00:01.066976631     1 0x55a04711b730 INFO       KurentoLoadConfig loadConfig.cpp:271:loadConfig: Loaded config in effect:
kms_1              | {
kms_1              |     "mediaServer": {
kms_1              |         "resources": {
kms_1              |             "\/\/exceptionLimit": "0.8",
kms_1              |             "\/\/killLimit": "0.7",
kms_1              |             "garbageCollectorPeriod": "240",
kms_1              |             "\/\/": "Default: false",
kms_1              |             "disableRequestCache": "false"
kms_1              |         },
kms_1              |         "net": {
kms_1              |             "websocket": {
kms_1              |                 "\/\/ipv6": "false",
kms_1              |                 "port": "8888",
kms_1              |                 "secure": {
kms_1              |                     "\/\/port": "8433",
kms_1              |                     "\/\/certificate": "cert+key.pem",
kms_1              |                     "\/\/": "Password for the private key, if one was set when the key was created",
kms_1              |                     "\/\/password": ""
kms_1              |                 },
kms_1              |                 "\/\/registrar": {
kms_1              |                     "\/\/address": "ws:\/\/localhost:9090",
kms_1              |                     "\/\/localAddress": "localhost"
kms_1              |                 },
kms_1              |                 "\/\/": "Default: SOMAXCONN (128)",
kms_1              |                 "\/\/connqueue": "128",
kms_1              |                 "path": "kurento",
kms_1              |                 "threads": "10"
kms_1              |             }
kms_1              |         }
kms_1              |     },
kms_1              |     "configPath": "\/etc\/kurento",
kms_1              |     "modules": {
kms_1              |         "kurento": {
kms_1              |             "SdpEndpoint": {
kms_1              |                 "numAudioMedias": "1",
kms_1              |                 "numVideoMedias": "1",
kms_1              |                 "audioCodecs": [
kms_1              |                     {
kms_1              |                         "name": "opus\/48000\/2",
kms_1              |                         "\/\/": "Next is an example about how a codec can be configured.",
kms_1              |                         "\/\/": "WARNING: Usage of properties is not yet supported",
kms_1              |                         "\/\/properties": {
kms_1              |                             "\/\/maxcodedaudiobandwidth": "16000",
kms_1              |                             "\/\/maxaveragebitrate": "20000",
kms_1              |                             "\/\/stereo": "1",
kms_1              |                             "\/\/useinbandfec": "1",
kms_1              |                             "\/\/usedtx": "0"
kms_1              |                         }
kms_1              |                     },
kms_1              |                     {
kms_1              |                         "name": "PCMU\/8000"
kms_1              |                     },
kms_1              |                     {
kms_1              |                         "name": "AMR\/8000"
kms_1              |                     }
kms_1              |                 ],
kms_1              |                 "videoCodecs": [
kms_1              |                     {
kms_1              |                         "name": "VP8\/90000"
kms_1              |                     },
kms_1              |                     {
kms_1              |                         "name": "H264\/90000"
kms_1              |                     }
kms_1              |                 ],
kms_1              |                 "configPath": "\/etc\/kurento\/modules\/kurento"
kms_1              |             },
kms_1              |             "UriEndpoint": {
kms_1              |                 "defaultPath": "file:\/\/\/var\/lib\/kurento\/",
kms_1              |                 "configPath": "\/etc\/kurento\/modules\/kurento"
kms_1              |             },
kms_1              |             "MediaElement": {
kms_1              |                 "configPath": "\/etc\/kurento\/modules\/kurento"
kms_1              |             },
kms_1              |             "BaseRtpEndpoint": {
kms_1              |                 "minPort": "40000",
kms_1              |                 "maxPort": "57000",
kms_1              |                 "configPath": "\/etc\/kurento\/modules\/kurento"
kms_1              |             },
kms_1              |             "WebRtcEndpoint": {
kms_1              |                 "configPath": "\/etc\/kurento\/modules\/kurento"
kms_1              |             },
kms_1              |             "PlayerEndpoint": {
kms_1              |                 "configPath": "\/etc\/kurento\/modules\/kurento"
kms_1              |             },
kms_1              |             "HttpEndpoint": {
kms_1              |                 "serverAddress": "localhost",
kms_1              |                 "port": "9091",
kms_1              |                 "configPath": "\/etc\/kurento\/modules\/kurento"
kms_1              |             }
kms_1              |         }
kms_1              |     }
kms_1              | }
kms_1              |
kms_1              | 0:00:01.067612967     1 0x55a04711b730 INFO    KurentoServerMethods ServerMethods.cpp:90:ServerMethods: Using above 80% of system limits will throw NOT_ENOUGH_RESOURCES exception
kms_1              | 0:00:01.067733474     1 0x55a04711b730 INFO    KurentoServerMethods ServerMethods.cpp:109:ServerMethods: System limits: unlimited threads, 1048576 files
kms_1              | 0:00:01.068135896     1 0x55a04711b730 INFO       KurentoWorkerPool WorkerPool.cpp:67:WorkerPool: Worker thread pool size: 2
kms_1              | 0:00:01.068548219     1 0x55a04711b730 INFO    KurentoServerMethods ServerMethods.cpp:144:ServerMethods: RPC Request Cache is ENABLED
kms_1              | 0:00:01.068960343     1 0x55a04711b730 INFO    KurentoWebSocketTransport WebSocketTransport.cpp:179:initWebSocket: WebSocket server (ws://) listening on address '::', port 8888
kms_1              | 0:00:01.069060548     1 0x55a04711b730 INFO    KurentoWebSocketTransport WebSocketTransport.cpp:88:WebSocketTransport: Secure WebSocket server (wss://) not enabled
kms_1              | 0:00:01.070400524     1 0x55a04711b730 INFO      KurentoMediaServer main.cpp:259:main: Kurento Media Server started
kms_1              | 0:00:05.604590753     1 0x55a04711bb00 INFO    KurentoServerMethods ServerMethods.cpp:811:ping: WebSocket Ping/Pong
kms_1              | 0:01:50.562811465     1 0x7f685c017520 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:158:generateDefaultCertificates: Unable to load the RSA certificate from file. Using the default certificate.
kms_1              | 0:01:50.624148184     1 0x7f685c017520 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:168:generateDefaultCertificates: Unable to load the ECDSA certificate from file. Using the default certificate.
kms_1              | 0:01:50.624473730     1 0x7f685c017520 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:104:remove_not_supported_codecs_from_array:<kmswebrtcendpoint0> Removing not supported codec 'AMR/8000'
kms_1              | 0:01:50.624564042     1 0x7f685c017520 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:540:WebRtcEndpointImpl: STUN port not found in config; using default value: 3478
kms_1              | 0:01:50.624596647     1 0x7f685c017520 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:548:WebRtcEndpointImpl: STUN server not found in config; remember that NAT traversal requires STUN or TURN
kms_1              | 0:01:50.624623350     1 0x7f685c017520 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:571:WebRtcEndpointImpl: TURN server not found in config; remember that NAT traversal requires STUN or TURN
kms_1              | 0:01:50.627421639     1 0x7f685c017520 INFO                kmsutils kmsutils.c:494:kms_utils_pad_monitor_gaps:<'':sink> Add probe: Detect stream gaps
kms_1              | 0:01:50.627633969     1 0x7f685c017520 INFO                kmsutils kmsutils.c:494:kms_utils_pad_monitor_gaps:<'':sink> Add probe: Detect stream gaps
kms_1              | 0:01:50.627710779     1 0x7f685c017520 INFO                kmsutils kmsutils.c:494:kms_utils_pad_monitor_gaps:<'':sink_video_default> Add probe: Detect stream gaps
kms_1              | 0:01:50.853994608     1 0x7f68580659e0 FIXME               basesink gstbasesink.c:3125:gst_base_sink_default_event:<nicesink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
kms_1              | 0:01:50.854469074     1 0x7f6858065540 FIXME                default gstutils.c:3766:gst_pad_create_stream_id_internal:<nicesrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
kms_1              | 0:01:50.855179573     1 0x7f6860003790 INFO         basertpendpoint kmsbasertpendpoint.c:1118:kms_base_rtp_endpoint_start_transport_send:<kmswebrtcendpoint0> Media 'video' has REMB
kms_1              | 0:01:50.856436047     1 0x7f6860003790 INFO         basertpendpoint kmsbasertpendpoint.c:1064:kms_base_rtp_endpoint_create_remb_manager:<kmswebrtcendpoint0> Creating REMB for session ID 0 (kmswebrtcendpoint0-sess0) and remote video SSRC 4273569589
kms_1              | 0:01:50.856511358     1 0x7f6860003790 INFO         basertpendpoint kmsbasertpendpoint.c:1075:kms_base_rtp_endpoint_create_remb_manager:<kmswebrtcendpoint0> REMB: Set RTCP min interval to 500 ms
kms_1              | 0:01:50.874503356     1 0x7f686800b430 INFO       KurentoWorkerPool WorkerPool.cpp:67:WorkerPool: Worker thread pool size: 2
kms_1              | 1:52:05.251164212     1 0x7f686800b430 INFO    KurentoServerMethods ServerMethods.cpp:814:ping: WebSocket Ping/Pong with sessionId 0d7054e3-ca5a-494d-8543-bf8562781023
kms_1              | 1:53:01.094093022     1 0x7f68580ab700 INFO    KurentoWebSocketTransport WebSocketTransport.cpp:346:keepAliveSessions: Keep alive 0d7054e3-ca5a-494d-8543-bf8562781023
kms_1              | 1:54:01.094311052     1 0x7f68580ab700 INFO    KurentoWebSocketTransport WebSocketTransport.cpp:346:keepAliveSessions: Keep alive 0d7054e3-ca5a-494d-8543-bf8562781023
kms_1              | 1:55:01.094521351     1 0x7f68580ab700 INFO    KurentoWebSocketTransport WebSocketTransport.cpp:346:keepAliveSessions: Keep alive 0d7054e3-ca5a-494d-8543-bf8562781023
kms_1              | 1:56:01.094751392     1 0x7f68580ab700 INFO    KurentoWebSocketTransport WebSocketTransport.cpp:346:keepAliveSessions: Keep alive 0d7054e3-ca5a-494d-8543-bf8562781023
kms_1              | 1:56:05.251304796     1 0x7f686800b430 INFO    KurentoServerMethods ServerMethods.cpp:814:ping: WebSocket Ping/Pong with sessionId 0d7054e3-ca5a-494d-8543-bf8562781023
kms_1              | 1:57:01.094975034     1 0x7f68580ab700 INFO    KurentoWebSocketTransport WebSocketTransport.cpp:346:keepAliveSessions: Keep alive 0d7054e3-ca5a-494d-8543-bf8562781023
kms_1              | 1:58:01.095133228     1 0x7f68580ab700 INFO    KurentoWebSocketTransport WebSocketTransport.cpp:346:keepAliveSessions: Keep alive 0d7054e3-ca5a-494d-8543-bf8562781023
kms_1              | 1:58:20.689910275     1 0x55a04711b730 INFO         KurentoMediaSet MediaSet.cpp:109:deleteMediaSet: Destroying mediaSet
kms_1              | 1:58:20.690256098     1 0x55a04711b730 INFO      KurentoMediaServer main.cpp:266:main: Kurento Media Server stopped
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=^;?\s*minPort=.*'
kms_1              | + grep --extended-regexp -q '^;?\s*minPort=.*' /etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini
kms_1              | + sed --regexp-extended -i 's/^;?\s*minPort=.*/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=^;?\s*maxPort=.*'
kms_1              | + grep --extended-regexp -q '^;?\s*maxPort=.*' /etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini
kms_1              | + sed --regexp-extended -i 's/^;?\s*maxPort=.*/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              | + cat /etc/hosts
kms_1              | + tee /etc/hosts
kms_1              | + sed /::1/d
kms_1              | + [[ -z '' ]]
kms_1              | + export 'GST_DEBUG=3,Kurento*:4,kms*:4,sdp*:4,webrtc*:4,*rtpendpoint:4,rtp*handler:4,rtpsynchronizer:4,agnosticbin:4'
kms_1              | + GST_DEBUG='3,Kurento*:4,kms*:4,sdp*:4,webrtc*:4,*rtpendpoint:4,rtp*handler:4,rtpsynchronizer:4,agnosticbin:4'
kms_1              | ++ id -u
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              | [Docker entrypoint] Start Kurento Media Server, UID: 0
kms_1              | 0:00:00.235486796     1 0x55b2b424e490 INFO    KurentoModuleManager ModuleManager.cpp:90:loadModule: Load file: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmsfiltersmodule.so, module name: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmsfiltersmodule.so
kms_1              | 0:00:00.235591194     1 0x55b2b424e490 INFO    KurentoModuleManager ModuleManager.cpp:137:loadModule: Loaded module: filters, version: 6.14.0, date: Jun 16 2020 16:56:52
kms_1              | 0:00:01.008571073     1 0x55b2b424e490 INFO    KurentoModuleManager ModuleManager.cpp:90:loadModule: Load file: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmselementsmodule.so, module name: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmselementsmodule.so
kms_1              | 0:00:01.008774268     1 0x55b2b424e490 INFO    KurentoModuleManager ModuleManager.cpp:137:loadModule: Loaded module: elements, version: 6.14.0, date: Jun 16 2020 16:47:08
kms_1              | 0:00:01.021891386     1 0x55b2b424e490 INFO    KurentoModuleManager ModuleManager.cpp:90:loadModule: Load file: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmscoremodule.so, module name: /usr/lib/x86_64-linux-gnu/kurento/modules/libkmscoremodule.so
kms_1              | 0:00:01.021944885     1 0x55b2b424e490 INFO    KurentoModuleManager ModuleManager.cpp:137:loadModule: Loaded module: core, version: 6.14.0, date: Jun 16 2020 16:37:41
kms_1              | 0:00:01.022069382     1 0x55b2b424e490 INFO      KurentoMediaServer main.cpp:240:main: Kurento Media Server version: 6.14.0
kms_1              | 0:00:01.022257578     1 0x55b2b424e490 INFO       KurentoLoadConfig loadConfig.cpp:249:loadConfig: Reading configuration from: /etc/kurento/kurento.conf.json
kms_1              | 0:00:01.033174244     1 0x55b2b424e490 INFO       KurentoLoadConfig loadConfig.cpp:183:loadModulesConfigFromDir: Looking for config files in /etc/kurento/modules
kms_1              | 0:00:01.033476437     1 0x55b2b424e490 INFO       KurentoLoadConfig loadConfig.cpp:183:loadModulesConfigFromDir: Looking for config files in /etc/kurento/modules/kurento
kms_1              | 0:00:01.034110623     1 0x55b2b424e490 INFO       KurentoLoadConfig loadConfig.cpp:209:loadModulesConfigFromDir: Loaded module config: /etc/kurento/modules/kurento/SdpEndpoint.conf.json
kms_1              | 0:00:01.034536214     1 0x55b2b424e490 INFO       KurentoLoadConfig loadConfig.cpp:209:loadModulesConfigFromDir: Loaded module config: /etc/kurento/modules/kurento/UriEndpoint.conf.ini
kms_1              | 0:00:01.035255199     1 0x55b2b424e490 INFO       KurentoLoadConfig loadConfig.cpp:209:loadModulesConfigFromDir: Loaded module config: /etc/kurento/modules/kurento/MediaElement.conf.ini
kms_1              | 0:00:01.035517093     1 0x55b2b424e490 INFO       KurentoLoadConfig loadConfig.cpp:209:loadModulesConfigFromDir: Loaded module config: /etc/kurento/modules/kurento/BaseRtpEndpoint.conf.ini
kms_1              | 0:00:01.036101581     1 0x55b2b424e490 INFO       KurentoLoadConfig loadConfig.cpp:209:loadModulesConfigFromDir: Loaded module config: /etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini
kms_1              | 0:00:01.036824765     1 0x55b2b424e490 INFO       KurentoLoadConfig loadConfig.cpp:209:loadModulesConfigFromDir: Loaded module config: /etc/kurento/modules/kurento/PlayerEndpoint.conf.ini
kms_1              | 0:00:01.037318754     1 0x55b2b424e490 INFO       KurentoLoadConfig loadConfig.cpp:209:loadModulesConfigFromDir: Loaded module config: /etc/kurento/modules/kurento/HttpEndpoint.conf.ini
kms_1              | 0:00:01.037392953     1 0x55b2b424e490 INFO       KurentoLoadConfig loadConfig.cpp:265:loadConfig: Configuration loaded successfully
kms_1              | 0:00:01.037871743     1 0x55b2b424e490 INFO       KurentoLoadConfig loadConfig.cpp:271:loadConfig: Loaded config in effect:
kms_1              | {
kms_1              |     "mediaServer": {
kms_1              |         "resources": {
kms_1              |             "\/\/exceptionLimit": "0.8",
kms_1              |             "\/\/killLimit": "0.7",
kms_1              |             "garbageCollectorPeriod": "240",
kms_1              |             "\/\/": "Default: false",
kms_1              |             "disableRequestCache": "false"
kms_1              |         },
kms_1              |         "net": {
kms_1              |             "websocket": {
kms_1              |                 "\/\/ipv6": "false",
kms_1              |                 "port": "8888",
kms_1              |                 "secure": {
kms_1              |                     "\/\/port": "8433",
kms_1              |                     "\/\/certificate": "cert+key.pem",
kms_1              |                     "\/\/": "Password for the private key, if one was set when the key was created",
kms_1              |                     "\/\/password": ""
kms_1              |                 },
kms_1              |                 "\/\/registrar": {
kms_1              |                     "\/\/address": "ws:\/\/localhost:9090",
kms_1              |                     "\/\/localAddress": "localhost"
kms_1              |                 },
kms_1              |                 "\/\/": "Default: SOMAXCONN (128)",
kms_1              |                 "\/\/connqueue": "128",
kms_1              |                 "path": "kurento",
kms_1              |                 "threads": "10"
kms_1              |             }
kms_1              |         }
kms_1              |     },
kms_1              |     "configPath": "\/etc\/kurento",
kms_1              |     "modules": {
kms_1              |         "kurento": {
kms_1              |             "SdpEndpoint": {
kms_1              |                 "numAudioMedias": "1",
kms_1              |                 "numVideoMedias": "1",
kms_1              |                 "audioCodecs": [
kms_1              |                     {
kms_1              |                         "name": "opus\/48000\/2",
kms_1              |                         "\/\/": "Next is an example about how a codec can be configured.",
kms_1              |                         "\/\/": "WARNING: Usage of properties is not yet supported",
kms_1              |                         "\/\/properties": {
kms_1              |                             "\/\/maxcodedaudiobandwidth": "16000",
kms_1              |                             "\/\/maxaveragebitrate": "20000",
kms_1              |                             "\/\/stereo": "1",
kms_1              |                             "\/\/useinbandfec": "1",
kms_1              |                             "\/\/usedtx": "0"
kms_1              |                         }
kms_1              |                     },
kms_1              |                     {
kms_1              |                         "name": "PCMU\/8000"
kms_1              |                     },
kms_1              |                     {
kms_1              |                         "name": "AMR\/8000"
kms_1              |                     }
kms_1              |                 ],
kms_1              |                 "videoCodecs": [
kms_1              |                     {
kms_1              |                         "name": "VP8\/90000"
kms_1              |                     },
kms_1              |                     {
kms_1              |                         "name": "H264\/90000"
kms_1              |                     }
kms_1              |                 ],
kms_1              |                 "configPath": "\/etc\/kurento\/modules\/kurento"
kms_1              |             },
kms_1              |             "UriEndpoint": {
kms_1              |                 "defaultPath": "file:\/\/\/var\/lib\/kurento\/",
kms_1              |                 "configPath": "\/etc\/kurento\/modules\/kurento"
kms_1              |             },
kms_1              |             "MediaElement": {
kms_1              |                 "configPath": "\/etc\/kurento\/modules\/kurento"
kms_1              |             },
kms_1              |             "BaseRtpEndpoint": {
kms_1              |                 "minPort": "40000",
kms_1              |                 "maxPort": "57000",
kms_1              |                 "configPath": "\/etc\/kurento\/modules\/kurento"
kms_1              |             },
kms_1              |             "WebRtcEndpoint": {
kms_1              |                 "configPath": "\/etc\/kurento\/modules\/kurento"
kms_1              |             },
kms_1              |             "PlayerEndpoint": {
kms_1              |                 "configPath": "\/etc\/kurento\/modules\/kurento"
kms_1              |             },
kms_1              |             "HttpEndpoint": {
kms_1              |                 "serverAddress": "localhost",
kms_1              |                 "port": "9091",
kms_1              |                 "configPath": "\/etc\/kurento\/modules\/kurento"
kms_1              |             }
kms_1              |         }
kms_1              |     }
kms_1              | }
kms_1              |
kms_1              | 0:00:01.037962641     1 0x55b2b424e490 INFO    KurentoServerMethods ServerMethods.cpp:90:ServerMethods: Using above 80% of system limits will throw NOT_ENOUGH_RESOURCES exception
kms_1              | 0:00:01.037988540     1 0x55b2b424e490 INFO    KurentoServerMethods ServerMethods.cpp:109:ServerMethods: System limits: unlimited threads, 1048576 files
kms_1              | 0:00:01.044457201     1 0x55b2b424e490 INFO       KurentoWorkerPool WorkerPool.cpp:67:WorkerPool: Worker thread pool size: 2
kms_1              | 0:00:01.051435551     1 0x55b2b424e490 INFO    KurentoServerMethods ServerMethods.cpp:144:ServerMethods: RPC Request Cache is ENABLED
kms_1              | 0:00:01.061766528     1 0x55b2b424e490 INFO    KurentoWebSocketTransport WebSocketTransport.cpp:179:initWebSocket: WebSocket server (ws://) listening on address '::', port 8888
kms_1              | 0:00:01.061802328     1 0x55b2b424e490 INFO    KurentoWebSocketTransport WebSocketTransport.cpp:88:WebSocketTransport: Secure WebSocket server (wss://) not enabled
kms_1              | 0:00:01.071606917     1 0x55b2b424e490 INFO      KurentoMediaServer main.cpp:259:main: Kurento Media Server started
kms_1              | 0:00:20.435148292     1 0x55b2b424eb00 INFO    KurentoServerMethods ServerMethods.cpp:811:ping: WebSocket Ping/Pong
kms_1              | 0:04:18.962650164     1 0x7f5e60002e90 INFO    KurentoServerMethods ServerMethods.cpp:811:ping: WebSocket Ping/Pong
kms_1              | 0:08:18.962750287     1 0x55b2b424eb00 INFO    KurentoServerMethods ServerMethods.cpp:811:ping: WebSocket Ping/Pong

And NGINX logs:

nginx_1            | 2020/07/30 08:45:55 [warn] 7#7: "ssl_stapling" ignored, no OCSP responder URL in the certificate "/etc/letsencrypt/live/52.174.89.51/fullchain.pem"
nginx_1            | nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/etc/letsencrypt/live/52.174.89.51/fullchain.pem"
nginx_1            |
nginx_1            |   =======================================
nginx_1            |   =          INPUT VARIABLES            =
nginx_1            |   =======================================
nginx_1            |
nginx_1            |   Config NGINX:
nginx_1            |     - Http Port: 80
nginx_1            |     - Https Port: 443
nginx_1            |     - Allowed Access in Openvidu Dashboard: all
nginx_1            |     - Allowed Access in Openvidu API: all
nginx_1            |
nginx_1            |   Config Openvidu Application:
nginx_1            |     - Domain name: 52.174.89.51
nginx_1            |     - Certificated: selfsigned
nginx_1            |     - Letsencrypt Email: leo.ep97@gmail.com
nginx_1            |     - Openvidu Application: true
nginx_1            |     - Openvidu Application Type: CE
nginx_1            |
nginx_1            |   =======================================
nginx_1            |   =       CONFIGURATION NGINX           =
nginx_1            |   =======================================
nginx_1            |
nginx_1            |   Configure 52.174.89.51 domain...
nginx_1            |     - New configuration: selfsigned
nginx_1            |     - Old configuration: selfsigned
nginx_1            | mv: can't rename '/default_nginx_conf/ce/default-app.conf': No such file or directory
nginx_1            | mv: can't rename '/default_nginx_conf/ce/default.conf': No such file or directory
nginx_1            |     - Selfsigned certificate already exists, using them...
nginx_1            |
nginx_1            |   =======================================
nginx_1            |   =          ALLOWED ACCESS             =
nginx_1            |   =======================================
nginx_1            |
nginx_1            |   Adding rules...
nginx_1            |
nginx_1            |   Finish Rules:
nginx_1            |     Openvidu Dashboard:
nginx_1            |            - allow all;
nginx_1            |     Openvidu API:
nginx_1            |            - allow all;
nginx_1            |
nginx_1            |   =======================================
nginx_1            |   =         START OPENVIDU PROXY        =
nginx_1            |   =======================================
nginx_1            |
nginx_1            | 2020/07/30 08:45:55 [warn] 56#56: "ssl_stapling" ignored, no OCSP responder URL in the certificate "/etc/letsencrypt/live/52.174.89.51/fullchain.pem"
nginx_1            | nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/etc/letsencrypt/live/52.174.89.51/fullchain.pem"
nginx_1            | 2020/07/30 08:45:55 [notice] 56#56: signal process started
nginx_1            | 2020/07/30 08:45:55 [warn] 8#8: "ssl_stapling" ignored, no OCSP responder URL in the certificate "/etc/letsencrypt/live/52.174.89.51/fullchain.pem"
nginx_1            | 2020/07/30 08:47:43 [warn] 59#59: *7 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/1/00/0000000001 while reading upstream, client: 95.93.168.53, server: 52.174.89.51, request: "GET /styles.2cf7afcf0a3d24af8cf7.css HTTP/1.1", upstream: "http://127.0.0.1:5442/styles.2cf7afcf0a3d24af8cf7.css", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 08:47:43 [warn] 59#59: *16 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/2/00/0000000002 while reading upstream, client: 95.93.168.53, server: 52.174.89.51, request: "GET /main.059bc9d7fcc0db699d41.js HTTP/1.1", upstream: "http://127.0.0.1:5442/main.059bc9d7fcc0db699d41.js", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 10:49:48 [warn] 59#59: *42 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/3/00/0000000003 while reading upstream, client: 112.79.244.186, server: 52.174.89.51, request: "GET /styles.2cf7afcf0a3d24af8cf7.css HTTP/1.1", upstream: "http://127.0.0.1:5442/styles.2cf7afcf0a3d24af8cf7.css", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 10:49:49 [warn] 59#59: *43 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/4/00/0000000004 while reading upstream, client: 112.79.244.186, server: 52.174.89.51, request: "GET /main.059bc9d7fcc0db699d41.js HTTP/1.1", upstream: "http://127.0.0.1:5442/main.059bc9d7fcc0db699d41.js", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 10:51:12 [warn] 59#59: *65 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/5/00/0000000005 while reading upstream, client: 112.79.244.186, server: 52.174.89.51, request: "GET /styles.2cf7afcf0a3d24af8cf7.css HTTP/1.1", upstream: "http://127.0.0.1:5442/styles.2cf7afcf0a3d24af8cf7.css", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 10:51:13 [warn] 59#59: *74 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/6/00/0000000006 while reading upstream, client: 112.79.244.186, server: 52.174.89.51, request: "GET /main.059bc9d7fcc0db699d41.js HTTP/1.1", upstream: "http://127.0.0.1:5442/main.059bc9d7fcc0db699d41.js", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 10:51:13 [warn] 58#58: *66 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/7/00/0000000007 while reading upstream, client: 112.79.244.186, server: 52.174.89.51, request: "GET /scripts.51f62a335199a8d116b3.js HTTP/1.1", upstream: "http://127.0.0.1:5442/scripts.51f62a335199a8d116b3.js", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 10:52:01 [warn] 59#59: *88 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/8/00/0000000008 while reading upstream, client: 112.79.244.186, server: 52.174.89.51, request: "GET /styles.2cf7afcf0a3d24af8cf7.css HTTP/1.1", upstream: "http://127.0.0.1:5442/styles.2cf7afcf0a3d24af8cf7.css", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 10:52:59 [warn] 59#59: *88 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/9/00/0000000009 while reading upstream, client: 112.79.244.186, server: 52.174.89.51, request: "GET /styles.2cf7afcf0a3d24af8cf7.css HTTP/1.1", upstream: "http://127.0.0.1:5442/styles.2cf7afcf0a3d24af8cf7.css", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 10:53:16 [warn] 59#59: *123 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/0/01/0000000010 while reading upstream, client: 112.79.244.186, server: 52.174.89.51, request: "GET /assets/images/bg.jpg HTTP/1.1", upstream: "http://127.0.0.1:5442/assets/images/bg.jpg", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 10:53:16 [warn] 59#59: *120 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/1/01/0000000011 while reading upstream, client: 112.79.244.186, server: 52.174.89.51, request: "GET /styles.2cf7afcf0a3d24af8cf7.css HTTP/1.1", upstream: "http://127.0.0.1:5442/styles.2cf7afcf0a3d24af8cf7.css", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 10:53:48 [warn] 59#59: *100 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/2/01/0000000012 while reading upstream, client: 112.79.244.186, server: 52.174.89.51, request: "GET /assets/images/bg.jpg HTTP/1.1", upstream: "http://127.0.0.1:5442/assets/images/bg.jpg", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 10:55:13 [warn] 59#59: *182 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/3/01/0000000013 while reading upstream, client: 112.79.244.186, server: 52.174.89.51, request: "GET /assets/images/bg.jpg HTTP/1.1", upstream: "http://127.0.0.1:5442/assets/images/bg.jpg", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 10:55:14 [warn] 59#59: *183 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/4/01/0000000014 while reading upstream, client: 112.79.244.186, server: 52.174.89.51, request: "GET /styles.2cf7afcf0a3d24af8cf7.css HTTP/1.1", upstream: "http://127.0.0.1:5442/styles.2cf7afcf0a3d24af8cf7.css", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 11:09:03 [warn] 59#59: *211 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/5/01/0000000015 while reading upstream, client: 81.32.11.137, server: 52.174.89.51, request: "GET /styles.2cf7afcf0a3d24af8cf7.css HTTP/1.1", upstream: "http://127.0.0.1:5442/styles.2cf7afcf0a3d24af8cf7.css", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 11:09:03 [warn] 59#59: *220 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/6/01/0000000016 while reading upstream, client: 81.32.11.137, server: 52.174.89.51, request: "GET /main.059bc9d7fcc0db699d41.js HTTP/1.1", upstream: "http://127.0.0.1:5442/main.059bc9d7fcc0db699d41.js", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 11:09:14 [warn] 59#59: *222 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/7/01/0000000017 while reading upstream, client: 81.32.11.137, server: 52.174.89.51, request: "GET /main.059bc9d7fcc0db699d41.js HTTP/1.1", upstream: "http://127.0.0.1:5442/main.059bc9d7fcc0db699d41.js", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 11:09:50 [warn] 59#59: *219 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/8/01/0000000018 while reading upstream, client: 81.32.11.137, server: 52.174.89.51, request: "GET /assets/images/bg.jpg HTTP/1.1", upstream: "http://127.0.0.1:5442/assets/images/bg.jpg", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 11:09:53 [warn] 59#59: *221 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/9/01/0000000019 while reading upstream, client: 81.32.11.137, server: 52.174.89.51, request: "GET /styles.2cf7afcf0a3d24af8cf7.css HTTP/1.1", upstream: "http://127.0.0.1:5442/styles.2cf7afcf0a3d24af8cf7.css", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 11:10:54 [warn] 59#59: *264 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/0/02/0000000020 while reading upstream, client: 81.32.11.137, server: 52.174.89.51, request: "GET /styles.2cf7afcf0a3d24af8cf7.css HTTP/1.1", upstream: "http://127.0.0.1:5442/styles.2cf7afcf0a3d24af8cf7.css", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 11:10:54 [warn] 59#59: *270 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/1/02/0000000021 while reading upstream, client: 81.32.11.137, server: 52.174.89.51, request: "GET /main.059bc9d7fcc0db699d41.js HTTP/1.1", upstream: "http://127.0.0.1:5442/main.059bc9d7fcc0db699d41.js", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 11:11:06 [warn] 59#59: *268 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/2/02/0000000022 while reading upstream, client: 81.32.11.137, server: 52.174.89.51, request: "GET /assets/images/bg.jpg HTTP/1.1", upstream: "http://127.0.0.1:5442/assets/images/bg.jpg", host: "52.166.10.118", referrer: "https://52.166.10.118/"
nginx_1            | 2020/07/30 11:11:21 [warn] 59#59: *283 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/3/02/0000000023 while reading upstream, client: 81.32.11.137, server: 52.174.89.51, request: "GET /assets/images/bg.jpg HTTP/1.1", upstream: "http://127.0.0.1:5442/assets/images/bg.jpg", host: "52.166.10.118", referrer: "https://52.166.10.118/"

I’ve looked at some of these logs before and know that I’m noticing the IP showing as the domain name doesn’t match the machine IP because it restarted during the night and it changed IP. Let me change it to correct IP, or do you prefer me to give you access to the machine? It’s just a dummy machine that only has this so there’s no problem to me. @micael.gallego @vipin_mishra

EDIT:
I’ve changed to the correct IP and restarted OpenVidu, but the problem persists.

I don’t see any estrange in the logs. Maybe IP change can be causing the issue.

If you can, just start from scratch with a clean ubuntu machine.

@canarinho07 i solved your issue by installing your server on your given azure account .
For this i have to give my 4 hr . Please follow instructions and use elastic Ip or static Ip instead dynamic because some time its not easy to guess what is errors.
And of course OpenVidu is opensource but when someone give there time for your work as a developer then its no matter open-source or not they will charge u fair amounts .
Not everyone is like me who loves to help someone and makes new friend more than any cost.
@cruizba please close this issue also
Thanks

1 Like

@vipin_mishra really appreciated for your help! Thank you for helping me deploy the demo app on an azure server. I’m really thankful.

Now there’s only one missing part, that’s running it without the same problem on my Windows machine. Just for development purposes.

But it’s fine if you want to close it @cruizba! One of the problems was solved.

Thank you all and keep up the good work!

please see this docs may be solve your problem https://docs.openvidu.io/en/2.15.0/troubleshooting/#3-i-am-using-windows-to-run-the-tutorials-develop-my-app-anything-i-should-know
Thanks

We really apreciate that. We do our best to make the OpenVidu installation easy and automated to install.
Thanks @vipin_mishra :wink: