nginx 502 Bad Gateway

Status
Not open for further replies.

Len

Member
Mar 8, 2017
95
3
8
52
I started getting nginx 502 Bad Gateway error recently. When I reboot it will work for few minutes and then error out again. Nothing shows in fs_cli besides that it happens when its reaching 50 - 60 registrations. Where can I look for logs etc ?
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,038
556
113
Have a look in:
Code:
/var/log/nginx/error.log

50-60 isn't allot unless you are running a very under resourced VPS.
 

Len

Member
Mar 8, 2017
95
3
8
52
Have a look in:
Code:
/var/log/nginx/error.log

50-60 isn't allot unless you are running a very under resourced VPS.

Thx DD.
For readers who might be experiencing same. Ended up being a fail2ban issue. Specifically, a script running from a different machine was causing upstream error due to fail2ban. This can mean an easy attack on GUI of any fusionpbx server.
 
Status
Not open for further replies.