I am facing this issue from 2 days that aapanel stopped working automatically and due to this all of my sites showing 502 Bad Gateway error.
First i though that this might be the error due to VPS but i checked the VPS and it was working.
However, when i restart the VPS then aapanel started working normally and after lapse of 2 to 3 hours it again stopped working.
Does any one else facing this issue or any solution??