miroslavpejic85 / mirotalksfu

🏆 WebRTC - SFU - Simple, Secure, Scalable Real-Time Video Conferences Up to 8k, compatible with all browsers and platforms.
https://sfu.mirotalk.com
GNU Affero General Public License v3.0
2.15k stars 340 forks source link

I have a problem installing MiroTalk on AWS #158

Closed hrauvc closed 4 months ago

hrauvc commented 4 months ago

MiroTalk forum

First I am going to share how I have the infrastructure

1. I have an Ec2 instance on a private subnet

image

2. These are the security groups associated with the instance

image

3. I have the load balancer pointing to my instance

image

And so are the listening agents image

4. The target group:

image

And its destiny image

On route 53 I point to the load balancer: image image

The app works image

And Start the meeting image

But after a moment this happens: image

And if another user enters it looks like this: image

No errors here: image

This is my nginx file: `# HTTP — proxy all requests to the Node app server { listen 80; listen [::]:80; server_name meet.dbcloud.academy;

location / {
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_pass http://localhost:3010/;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
}

}`

I have not placed the ssl here since otherwise it will get into a loop with AWS

miroslavpejic85 commented 4 months ago

For help & support, please refer to the forum mentioned in the README. There, you’ll find answers to similar questions I have already addressed. Make sure to set the inbound rules, including port ranges, and use the EC2 elastic IP as the announcedAddress in the config.js. For more details, visit the forum. Cheers!