# Something wrong with the OpenVidu

**URL:** <https://openvidu.discourse.group/t/something-wrong-with-the-openvidu/3262>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [July 28, 2021, 2:40pm UTC](https://openvidu.discourse.group/t/something-wrong-with-the-openvidu/3262 "2021-07-28T14:40:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gedas](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/gedas/32/1596_2.png) [@gedas](https://openvidu.discourse.group/u/gedas)\
**Post date:** [July 28, 2021, 2:40pm UTC](https://openvidu.discourse.group/t/something-wrong-with-the-openvidu/3262/1 "2021-07-28T14:40:22Z")

</div>

Hello, guys!

I was developing a proof of concept solution, which is pretty simple and mimics behaviour from `openvidu-hello-world` example, and everything seems to be working just fine, but I am stuck with an issue: **for some reason subscribers are not visible in the frontend.**

I was trying to launch `openvidu-hello-world` sample, but it seems that only the publisher video is visible. `<video>` elements are appended into both `#publisher` and `#subscriber`, but I can only see the publisher (local) video.

Another thing is that when I check the console, it throws me these warnings:

 ![image](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/9/9b9b3af90339c283c2dc61238c9b3a97584c3550.png)

Seems that for some reason it fails to fetch the video of the subscribers, and I can’t figure out why, but I have these theories:

- For some reason, docker build doesn’t work for my ARM macbook, so OpenVidu server that I use is stored in AWS, and it has unsigned https certificate [https://ec2-18-117-137-86.us-east-2.compute.amazonaws.com/](https://ec2-18-117-137-86.us-east-2.compute.amazonaws.com/) . Could it be the case?
- I am developing frontend from localhost, so might that be a WebRTC issue?

I feel like I am missing something stupid out, so I would be glad to be put on the road 🙂

---

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [July 28, 2021, 2:50pm UTC](https://openvidu.discourse.group/t/something-wrong-with-the-openvidu/3262/2 "2021-07-28T14:50:50Z")

</div>

1. I think you’ve configured in your `.env` in `DOMAIN_OR_PUBLIC_IP` the public IP. If you’re configuring in your app the EC2 domain name as `OPENVIDU_URL` it will not work, you need to use the public IP. Otherwise if you configure the EC2 domain name in `DOMAIN_OR_PUBLIC_IP` you need to configure in the app you’re developing the EC2 domain name in `OPENVIDU_URL`.
2. As far as I know iOS and Mac devices needs valid certificates to work with OpenVidu. You may need to install the selfsigned certificate in your computer/iOS devices to make it work, or configure OpenVIdu with a letsencrypt certificate and a FQDN (Fully Qualified Domain Name) assigned to the public IP of OpenVidu.

Regards.

---

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [July 28, 2021, 2:59pm UTC](https://openvidu.discourse.group/t/something-wrong-with-the-openvidu/3262/3 "2021-07-28T14:59:54Z")

</div>

My suggestions:  
**Option 1** :

1. Change DOMAIN\_OR\_PUBLIC\_IP to:

```auto
DOMAIN_OR_PUBLIC_IP=ec2-18-117-137-86.us-east-2.compute.amazonaws.com

```

1. Install selfsigned certificate in your iOS/Mac device located at `/opt/openvidu/certificates/live/<DOMAIN_OR_PUBLIC_IP>`.

**Option 2**

1. Purchase a domain and register it to your public IP.
2. Follow these instructions: [OpenVidu Docs](https://docs.openvidu.io/en/2.19.0/deployment/ce/on-premises/#2-lets-encrypt-certificate)

* * *

I think the second option it’s better and easier.

Regards

---

<div class="post-metadata">

**Author:** ![gedas](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/gedas/32/1596_2.png) [@gedas](https://openvidu.discourse.group/u/gedas)\
**Post date:** [July 29, 2021, 10:06am UTC](https://openvidu.discourse.group/t/something-wrong-with-the-openvidu/3262/4 "2021-07-29T10:06:10Z")

</div>

Hi, cruizba!

Thank you for the quick response, haven’t even checked this thread till today 😃

I’ve tried to fixup all the faulty certificates, but the issue seems to be somewhere else. What I did:

1. Changed my ec2 URL to a proper subdomain, and installed newest version of OpenVidu with `letsencrypt`. When I open the subdomain, it works properly, without any warnings.
2. I downloaded ngrok and used it to proxy to my `localhost:8080` where `openvidu-hello-world` tutorial is stored.

I changed all of the other things accordingly, but the problem still persists. When I run the example in ngrok, I see that `<video>` elements of subscriber are appended, but no video is visible:

 ![image](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/d/d5f6f3694da0c22fb15852f8e82e0dbbc4b24871.jpeg)

Also, when I try using OpenVidu dashboard to test out the connection it also doesn’t work, and fails with this log: (attached in the next message as I am a new user)

Hope this will provide a clue of what is going on 🙂

---

<div class="post-metadata">

**Author:** ![gedas](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/gedas/32/1596_2.png) [@gedas](https://openvidu.discourse.group/u/gedas)\
**Post date:** [July 29, 2021, 10:06am UTC](https://openvidu.discourse.group/t/something-wrong-with-the-openvidu/3262/5 "2021-07-29T10:06:45Z")

</div>

Faulty log from the built-in dashboard:

 ![image](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/a/adcf64d1a4e87d4c1caf229d2515228d84d14723.png)

---

<div class="post-metadata">

**Author:** ![gedas](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/gedas/32/1596_2.png) [@gedas](https://openvidu.discourse.group/u/gedas)\
**Post date:** [July 29, 2021, 11:00am UTC](https://openvidu.discourse.group/t/something-wrong-with-the-openvidu/3262/6 "2021-07-29T11:00:35Z")

</div>

I am so stupid… I checked the other thread with the **now resolve** guy, and figured out to check whether the ports are opened, and I totally missed out on the UDP part.

Everything seems to be working fine now, thanks for your help!

Will be back here when another challenge appears 🙂

---

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [September 8, 2021, 11:40am UTC](https://openvidu.discourse.group/t/something-wrong-with-the-openvidu/3262/7 "2021-09-08T11:40:04Z")

</div>

> [@gedas](#):
>
> now resolve

Hahah funny guy: [I want to resolve openvidu certificate errors - #6 by cruizba](https://openvidu.discourse.group/t/i-want-to-resolve-openvidu-certificate-errors/3255/6)

Now resolve! 😉
