Hi,
I too have the same issue, with Octoprint 1.4.2 no issues, since upgrading 1.5.1 every print more or less fails.
Octoprint 1.4.2 on a Raspberry Pi (octopi) 3b+ - works
Octoprint 1.4.2 on a Intel NUC (Ubuntu 20.04) - works
Octoprint 1.5.1 on a Raspberry Pi (octopi) 3b+ - fails with serial device disconnections
Octoprint 1.5.1 on a Intel NUC (Ubuntu 20.04) - fails with serial device disconnections
I have tried around 4 old USB cables AND 3 brand new ones - Anker, AmazonBasics etc, with and without ferrite cores on each end.
Printer: Creality Ender 3 v2 - Firmware: Marlin E3V2-2.0.x-14-Smith3D.M (Oct 13 2020) - Latest - I use a BLtouch 3.1 ABL.
Serial connection details: /dev/ttyUSB0, baudrate 115200
Here is the extract from the log:
2020-12-10 12:18:02,213 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 61213}
2020-12-10 12:25:58,737 - octoprint.util.comm - ERROR - Unexpected error while reading from serial port
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 3831, in _readline
ret = self._serial.readline()
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 6455, in readline
c = self.read(1)
File "/home/pi/oprint/lib/python3.7/site-packages/serial/serialposix.py", line 596, in read
'device reports readiness to read but returned no data '
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2020-12-10 12:25:58,920 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this.
2020-12-10 12:25:58,983 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Offline (Error: SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:3831)"
2020-12-10 12:25:59,042 - octoprint.plugins.action_command_notification - INFO - Notifications cleared
2020-12-10 12:25:59,955 - octoprint.plugins.tracking - INFO - Sent tracking event print_failed, payload: {'origin': 'local', 'file': '5cbc456b2e5466882bd8e802ef37a48595e2cfd7', 'elapsed': 10326, 'reason': 'error', 'commerror_text': "SerialException: 'device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:3831"}
For the time being, I have reverted back to 1.4.2 as I was not experiencing any issues with that version of OctoPrint.