Apache2 randomly stops working
I’m fairly new to Apache2, and I’ve been using it for my website. Most of the time it works flawlessly, however at random times throughout the day it stops working and attempting to access the site returns
ERR_TIMED_OUT on Chrome. This happens globally and is not specific to my IP or browser.
The access log mostly contains 502 codes and the error log is flooded with
Error reading status line from remote server and
The timeout specified has expired
I can’t find any solution to this issue despite how hard I look and it’s been driving me mad for months. It’s also worth mentioning that I have letsencrypt set up, which could be the problem.
Help would be greatly appreciated. Please tell me if there’s any other details I should share.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×