(publisher) | state: FAILED

HI everyone,

I setup Router via docker and openvidu 2.16 and kms 6.15.0 image but my vido dosenot publish anymore. i got this error in openvidu log

:[INFO] 2020-11-22 13:24:14,568 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t30] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: str_CAM_T0Bu_con_EpiAH0NFuf (publisher) | state: FAILED | componentId: 2 | streamId: 1 | timestamp: 1606051454566

best regards

Can you describe how you have deployed OpenVidu?

The problem can be related with an issue with COTURN.

Regards

thanks for your reply.
i deployed it via docker-compose file in this link : https://docs.openvidu.io/en/2.16.0/deployment/deploying-on-premises/ exactly , use one public IP address and own cert files.

about the Coturn , how can i set TLS port for service?
and totally how can i set other environment in docker compose for kms and turn ?

it is not possible to configure externally a coturn with TLS at this moment. Unfortunately the coturn ip is hardcoded in some parts of the code as 3478 and it can’t be changed to 443. Anyways it is in our roadmap to parametrize this value. The more reasonable solution at this moment is to configure another STUN/TURN by configuring it via openvidu-browser: https://docs.openvidu.io/en/2.16.0/api/openvidu-browser/classes/openvidu.html#setadvancedconfiguration

Regards,
Carlos

1 Like

Anyways your deployment should work perfectly with defaults and the parameters stated to be changed in https://docs.openvidu.io/en/2.16.0/deployment/deploying-on-premises/. Can you show me your configuration in /opt/openvidu/.env ?

Regards,
Carlos

thanks for your reply