Ender 3 stops mid-print

What is the problem?
Print starts fine, after several hours, the printer stops, octoprint is still up but says disconnected and will not re-connect. I know I have seen a post on this before, but my searches have turned up nothing.

What did you already try to solve it?

Replaced the USB cable with a new one, used a fresh install of octopi 0.17.0 on my Rpi3B+, verified power to the Pi and printer, ran my Anet A8 off this pi as well after the ender 3 issue and the anet runs just fine, no timeouts, nothing.
Copied gcode file from Pi to SD card and Ender 3 printed the file just fine

Logs (octoprint.log, serial.log or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support!)

2020-02-27 22:09:46,773 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-27 22:24:46,776 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-27 22:39:46,778 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-27 22:54:46,781 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-27 23:09:46,784 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-27 23:24:46,787 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-02-27 23:33:43,102 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 43268, current line = 43270
| Last lines in terminal:
| Send: N43261 G1 X134.327 Y81.172 E1491.66868*102
| Recv: ok
| Send: N43262 G1 X134.391 Y81.16 E1491.66998*85
| Recv: ok
| Send: N43263 G1 X134.462 Y81.162 E1491.6714*81
| Recv: ok
| Send: N43264 G1 X135.746 Y81.774 E1491.69978*110
| Recv:  T:199.97 /200.00 B:60.28 /60.00 @:63 B@:0
| Recv: ok
| Send: N43265 G0 F7200 X135.695 Y82.52*77
| Recv: ok
| Send: N43266 G1 F1800 X134.604 Y81.43 E1491.73056*56
| Recv: ok
| Send: N43267 G0 F7200 X134.132 Y81.523*116
| Recv: ok
| Send: N43268 G1 F1800 X135.743 Y83.135 E1491.77604*2
| Recv: Error:No Line Number with checksum, Last Line: 43267
| Send: N43269 G0 F7200 X135.507 Y83.464*121
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 43267
| Recv: Resend: 43268
2020-02-27 23:39:43,101 - octoprint.util.comm - INFO - Communication timeout while printing, trying to trigger response from printer.
2020-02-27 23:39:43,129 - octoprint.util.comm - INFO - Got a resend request from the printer: requested line = 51405, current line = 51407
| Last lines in terminal:
| Recv: ok
| Send: N51399 G1 X135.1 Y128.617 E1665.657*88
| Recv: ok
| Send: N51400 G1 X134.321 Y129.614 E1665.68225*82
| Recv: ok
| Send: N51401 G1 X133.333 Y130.779 E1665.71273*94
| Recv: ok
| Send: N51402 G1 X132.314 Y131.868 E1665.74249*91
| Recv: ok
| Send: N51403 G1 X131.2 Y132.949 E1665.77347*80
| Recv: ok
| Send: N51404 G1 X130.043 Y133.966 E1665.80421*80
| Recv: ok
| Send: N51405 G1 F1800 E1664.80421*51
| Recv:  T:200.07 /200.00 B:60.22 /60.00 @:65 B@:0
| Recv:  T:200.00 /200.00 B:60.24 /60.00 @:66 B@:0
| Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication t
imeout if that happens regularly on specific commands or long moves.
| Send: N51406 M105*33
| Recv: Error:Line Number is not Last Line Number+1, Last Line: 51404
| Recv: Resend: 51405

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible)

OctoPrint 1.3.12 running on OctoPi 0.17.0
Factory Firmware (1.1.6.2)

Really? Nobody?

I had those issues when I got my Ender 3 pro until I flashed my own Marlin. Didn't have a single error in months.
A few days ago I worked on the mainboard and now I got the same issues back.
I guess some wires are causing it. Either they act as an antenna for emi or they block them from the board when in the right place. Idk.

Because I'm going to replace my board anyway soon I didn't try to find a solution and just put a sheet of steel around the mainboard case. Now it's almost working again.

If I were you would try to shield the cables and the board inside the controller case.

cool. will give that a shot
thanks