strukturag / spreed-webrtc

WebRTC audio/video call and conferencing server.
GNU Affero General Public License v3.0
1.1k stars 259 forks source link

AWS Deploy - Turn server not getting calls #428

Closed IvRRimum closed 7 years ago

IvRRimum commented 7 years ago

Hello,

Have been beating this for a few hours now. I am using docker image for turn server(i previously tested and it worked on non AWS systems).

The problem is that the TURN server doesn't even retrieve ANY data from spreed server.

I went as far as following this guide: https://blog.knoldus.com/2013/10/24/configure-turn-server-for-webrtc-on-amazon-ec2/

The requests went trought, but spreed's calls get 401 Unauthorized(I setup static_secret_auth).

Then i fell back to using docker container, but i still can't seem to get any requests trought to turn server.

I even changed:

for ip in $LISTEN_IPS; do
        ARGS+=" -L $ip"
        ARGS+=" -E $ip"
done

In concur.sh

Would really appreciate some tips or tricks how to solve this.

IvRRimum commented 7 years ago

I ended up having 2 seperate EC2 instances. One for turnserver and other for spreed. It was a pretty simple fix.