What is the problem?
When i try to print big items, so with time of printing bigger than 30 minutes i loose connection from my FLSUN SR. the print is freezeed.
Octoprint says to me:
State: Offline after error
SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
In the log i can see:
2022-09-24 17:40:11,466 - 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 3997, in _readline
ret = self._serial.readline()
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 6672, 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?)
2022-09-24 17:40:11,472 - octoprint.util.comm - ERROR - Please see OctoPrint randomly loses connection to the printer with a "SerialException" - FAQ - OctoPrint Community Forum for possible reasons of this.
2022-09-24 17:40:11,498 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Offline after error"
2022-09-24 17:40:11,533 - octoprint.plugins.action_command_notification - INFO - Notifications cleared
2022-09-24 17:40:21,138 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial connection"
2022-09-24 17:40:21,175 - octoprint.util.comm - INFO - Serial detection: Performing autodetection with 1 port/baudrate candidates: /dev/ttyACM0@115200
2022-09-24 17:40:21,176 - octoprint.util.comm - INFO - Serial detection: Trying port /dev/ttyACM0, baudrate 115200
2022-09-24 17:40:21,178 - octoprint.util.comm - INFO - Connecting to port /dev/ttyACM0, baudrate 115200
2022-09-24 17:40:21,214 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #1 with timeout 2.0s
2022-09-24 17:40:21,220 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2022-09-24 17:40:23,223 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #2 with timeout 2.0s
2022-09-24 17:40:23,239 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2022-09-24 17:40:25,239 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #3 with timeout 2.0s
2022-09-24 17:40:25,254 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2022-09-24 17:40:27,252 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial connection" to "Error"
2022-09-24 17:40:27,289 - octoprint.util.comm - INFO - Changing monitoring state from "Error" to "Offline after error"
2022-09-24 17:40:27,317 - octoprint.plugins.action_command_notification - INFO - Notifications cleared
What did you already try to solve it?
reinstall Octoprint
Have you tried running in safe mode?
NO
Did running in safe mode solve the problem?
I DON'T KNOW
Systeminfo Bundle
You can download this in OctoPrint's System Information dialog ... no bundle, no support!)
octoprint-systeminfo-20220924180748.zip (27.1 KB)
Additional information about your setup
OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
Octopi 1.8.3
FLSUN SR stock firmware