Ender 3 keeps stopping

I am currently running a stock Ender 3 (ver. 1.1.6.2) with Octoprint (ver. 1.5.3) and it keeps stopping 1-2 hours into my prints.
I thought it might be an issue with my Pi so I disconnected it and tried printing off the SD card, same problem. I then switched SD cards, same problem. I then thought power supply so I ordered and installed a Mean Well PSU, same problem. Could it be the main board?

When it fails with Octoprint it gives a communication error, when it fails from the SD card the display just goes blank. In both instances the printer cools down.

Sounds like the firmware is crashing.

Given the sheer number of issues we see with Creality firmware, you are probably best off building and updating it yourself instead of using their builds.