What is the problem?
I'm converting a printer from Marlin to Klipper, which does not support temperature autoreporting (M155). On connection to the printer, OctoPrint correctly recognizes the firmware as Klipper and correctly starts to poll for temperature information with M105. It is stable in this state indefinitely.
After a print completes, however, OctoPrint fails to resume sending M105 commands. Eventually, after hearing nothing from the printer in 90 seconds (3 timeout periods), it gives up and disconnects.
What did you already try to solve it?
I reviewed the serial.log, octoprint.log, and klippy.log files to determine the reason for the disconnects. I would imagine that just setting a very large timeout would prevent the disconnects, but it seems like I must be doing something wrong in my OctoPrint configuration since lots of people use Klipper and this does not seem to be a FAQ.
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible)
Latest stable version of OctoPrint, installed via OctoPi circa October, 2019. The printer is an Artillery Sidewinder X1 running the current release version of Klipper.