502 Bad Gateway from nginx when trying to connect to the dashboard

205 views
Skip to first unread message

Iain M Norman

unread,
Jun 19, 2018, 11:39:32 AM6/19/18
to OpenVidu
I've deployed to AWS using the Cloud Formation template.

Using self signed cert.

I can't connect to https://my-ip:4443 at all I get a 502 from nginx.

If I try to access from the server itself I also get a 502:

curl -X POST -H 'Authorization: Basic T1BFTlZJRFVBUFA6TVlfU0VDUkVU' -k  https://localhost:4443/api/sessions
<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.10.3 (Ubuntu)</center>
</body>
</html>

I'm not sure where to check next.

Cheers

Fede Diaz

unread,
Jul 3, 2018, 3:41:55 AM7/3/18
to OpenVidu
Hi Ian,

If the template deployment finished OK you should be able to connect to that service.

If you have access to the instance you can check the OpenVidu logs in /var/log/supervisor/openvidu-server-std*

Cheers!
Reply all
Reply to author
Forward
0 new messages