Unable to deploy openvidu-call-react on server with production openvidu

I am trying to deploy an app on my server. I followed the instructions and am able to access openvidu-call with no problem.
I am unable to host my own application on the server.
I did the following steps.

  1. stopped the openvidu_call app
  2. Ran the openvidu-call-react on server on port 5442 with following changes
    a. In components/VideoRoomComponent.js ->
    this.OPENVIDU_SERVER_URL = ‘http://localhost:5443’;
    this.OPENVIDU_SERVER_SECRET = ‘MY_SECRET’;
    b. in package.json - > “start”: “export PORT=5442 && react-scripts start”,

I am able to access the site but get this error
.

I tried to figure out but was unable. Kindly ask if you need any specific logs.

1 Like

When you have a front-end only application and you want to connect your browser to OpenVidu Server, then you have to use the PUBLIC_IP_OR_DOMAIN in OPENVIDU_SERVER_URL.

Your OPENVIDU_SERVER_URL should look like:

https://openvidu.myserver.com/

Regards