Communication error after first home

What is the problem?

When I start a print, the printer homes and then it errors out with a "No response from printer after 6 consecutive communication timeouts". Then I restart the print and it all works fine. The next time I start the printer it's the same scenario.

What did you already try to solve it?

  • Remove the SD card.
  • Restart printer.

Logs (syslog, dmesg, ... no logs, no support)

This is the relevant part of the logs I believe.

[...]

Send: N10 M140 S60*98
Recv: ok
Send: N11 G4 S10*111
Recv: ok
Send: N12 G28*32
No response from printer after 6 consecutive communication timeouts, considering it dead. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
Changing monitoring state from "Printing" to "Offline after error"
Connection closed, closing down monitor
Changing monitoring state from "Offline" to "Opening serial connection"
Connecting to port /dev/ttyACM0, baudrate 115200
Changing monitoring state from "Opening serial connection" to "Connecting"
Connected to: Serial<id=0x64c735f0, open=True>(port='/dev/ttyACM0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Send: N0 M110 N0*125

... continues as normal

Additional information about your network (Hardware you are trying to connect to, hardware you are trying to connect from, router, access point, used operating systems, ...)

Using a Raspberry Pi 4 with Octopi connecting to an Ender 3 Pro.

Hello @LinusMarton !

This is not a network issue. It's an issue with connection from OctoPrint to the printer.
So some other complete logs are more useful:

octoprint.log, serial.log or - if you have - the systeminfo bundle