Successfully Running openvidu-hello-world?

Hi - I’m following the instructions here for running the openvidu-hello-world tutorial.

My machine’s native OS is Win10, so I spun up a VM running Ubuntu 18.04. I follow the instructions, start up Firefox in the VM, and get this page:

I click the “Join” button and get this page:

Certainly there’s more to the tutorial than this, right? I suspect if my native OS was Ubuntu I’d have been prompted to allow my camera to be used, and then my image would display under “YOU” in the image above and then if others were able to join in the video chat they would display under "OTHERS’, correct?

If so, since I’m running this in a VM, it of course is not able to access my camera… If I access the link from the IP assigned to my VM like https://xx.xx.xx.xx:8080 I get this:

And if I access it in an unsecure way like http://xx.xx.xx.xx:8080 I get this:

When clicking “Join”, Chrome’s debug console shows the following certificate authorty issue:

It’s pretty clear I need to secure Open-Vidu. Are there any instructions for doing so?

You need to accept the selfsigned certificate going to the https://your-ip-address:4443 (if you’re starting the openvidu-server-kms docker container)

Hi Carlos - Thank you for the reply. Apologies for my delayed response, we’ve been on holiday/vacation here in the US. Just getting back to this now.

It still does not work after getting to the accept-cert page. I restarted just now with a fresh Ubuntu 18.04 VM. I open a terminal window and run the following:

This displays the following:

I then open another terminal window on my Ubuntu VM and run:

  • sudo docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-server-kms:2.13.0

This appears to successfully start up OpenVidu.

Then, on my Windows machine, I go to http://192.168.102.219:8080 and get the following:

I click “OK” and then click “Advanced” and this is the page I see:

I click “Proceed to 192.168.102.219 (unsafe)” and I get this:

I’m not sure what to do at this point, but if I go to https://192.168.102.219:8080 I get this:

And if I go to http://192.168.102.219:8080 I’m back to the first image above.

Help please.

You must change the IP to be used by openvidu-server-kms container: -e DOMAIN_OR_PUBLIC_IP=192.168.102.219, and then accept its certificate at https://192.168.102.219:4443/
This is happening to you because you are mixing 2 different environemnts and IPs: you are serving openvidu-server-kms and the tutorial in Linux inside a VM but connecting from an external device (the Windows host machine). So you must treat this deployment as a regular LAN deployment and manually set up the public IP of openvidu-server-kms.

You are able to run openvidu-server-kms and the tutorial natively on Windows follwoing these instructions: https://docs.openvidu.io/en/latest/troubleshooting/#3-i-am-using-windows-to-run-the-tutorials-develop-my-app-anything-i-should-know

I’m still getting the same results when using the -e DOMAIN_OR_PUBLIC_IP command line option.

Here are my steps:

I run the following in an Ubuntu terminal:

I then run this in another Ubuntu terminal:
sudo docker run -p 4443:4443 --rm -e DOMAIN_OR_PUBLIC_IP=172.18.108.5 -e OPENVIDU_SECRET=MY_SECRET openvidu/openvidu-server-kms:2.13.0
…and it logs a bunch of info ending with this:
new4

I go to http://172.18.108.5:8080 and I get this:

I click “OK” and I get this:
new2

And I’m not sure what to do at this point. ??? If I go to https://172.18.108.5:8080 I get this:

And if I go to http://172.18.108.5:8080 I get this:
new6

And if I click “Join” I’m back to the above:

Any idea??? Maybe on the “accept-cert” page I’m supposed to manually save the certificate as a file and manually load it into Windows as explained here: https://support.securly.com/hc/en-us/articles/360026808753-How-to-manually-install-the-Securly-SSL-certificate-on-Windows

???

Don’t use openvidu-server-kms:2.13.0. Use the latest 2.16.0

Hi Pablo - Thanks for pointing out that I was using an older version. I’ve now updated to 2.16.0. I’ve also switched to using an actual Ubuntu 20.04 machine instead of a VM, yet I’m still having problems running the openvidu-hello-world example.

I think the problem is with the certificate. The instructions here state:

The first time you use the docker container, an alert message will suggest you accept the self-signed certificate of openvidu-server when you first try to join a video-call.

Can you please explain what I should do at this point? How do I “accept the self-signed certificate”?