SerialException

What is the problem?

SerialException - octoprint.util.comm - ERROR - Unexpected error while reading from serial port serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)

What did you already try to solve it?

It happened in the night, in the morning I turned everything (printer and pi) off and on, and no problems so far.

Have you tried running in safe mode and if so did it solve the issue?

I was a one time thing, but I wish to ask here if I need to keep investigating or leave it alone.

Complete Logs

should I enable serial.log as well?
octoprint.log (524.5 KB)
Let's hope I got the log fine.

2020-12-13 05:08:34,166 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-12-13 05:10:26,012 - 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/serial/serialposix.py", line 501, 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?)

During handling of the above exception, another exception occurred:

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 509, in read
    raise SerialException('read failed: {}'.format(e))
serial.serialutil.SerialException: read failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2020-12-13 05:10:26,047 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this.
2020-12-13 05:10:26,060 - octoprint.util.comm - INFO - Changing monitoring state from "Printing" to "Offline (Error: SerialException: 'read failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?)' @ comm.py:_readline:3831)"
2020-12-13 05:10:26,068 - octoprint.plugins.action_command_notification - INFO - Notifications cleared
2020-12-13 05:10:26,109 - octoprint.plugins.filamentmanager - INFO - Filament used: 23794.662440000084 mm (tool0)
2020-12-13 05:10:26,241 - octoprint.plugins.DisplayLayerProgress - INFO - Printing stopped. Detailed progress stopped.
2020-12-13 05:10:26,243 - octoprint.plugins.PrintJobHistory - INFO - Print result:failed, CaptureMode:always
2020-12-13 05:10:26,243 - octoprint.plugins.PrintJobHistory - INFO - Start capturing print job
2020-12-13 05:10:26,247 - octoprint.plugins.PrintJobHistory.SlicerSettingsParser - INFO - Start parsing Slicer-Settings
2020-12-13 05:10:26,419 - octoprint.plugins.PrintJobHistory.SlicerSettingsParser - INFO - Finished parsing Slicer-Settings
2020-12-13 05:10:26,422 - octoprint.plugins.PrintJobHistory.CameraManager - INFO - Thumbnail is present
2020-12-13 05:10:26,424 - octoprint.plugins.PrintJobHistory.CameraManager - INFO - Try converting thumbnail '/home/pi/.octoprint/data/PrintJobHistory/../prusaslicerthumbnails/9BrimmedLECH_0.2mm_PLA_MINI_11h46m.png' to '/home/pi/.octoprint/data/PrintJobHistory/snapshots/20201212-215550.jpg'
2020-12-13 05:10:26,428 - octoprint.plugins.PrintJobHistory.CameraManager - INFO - Converting successfull!
2020-12-13 05:10:48,150 - tornado.access - WARNING - 409 GET /api/printer (::ffff:192.168.31.134) 17.77ms

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
OctoPrint 1.5.2 Python 3.7.3 OctoPi 0.17.0
Prusa Mini
Pi 4 - 4 gb, original Pi PSU
RPI original camera V2

Hello @SM26!

You might have a look onto this thread: