Frequent 502 error - Resolved after rebooting server


#1

Hi all,

After my website is up, I constantly faced 502 errors. The server is running fine, and everytime I reboot the server, the issue has been resolved. I suspect is Apache, or Ngnix that I am using.

Please let me know if there is a test that can be found in web for me to conduct to identify the root cause.


#2

Best way is to have a look into the server logs. (syslog, Apache, nginx…) this error can have various root causes. Overload, misconfiguration, missing modules, frequent or infrequent restarts caused by to many processes…


#3

Be sure cloudflare’s IPs are white listed in any/all firewalls. I suspect the IP gets temporarily banned and the restart clears that ban. Until the threshold is met again by the same IP.


#4

This topic was automatically closed after 14 days. New replies are no longer allowed.