Printer disconnection

What is the problem?

Since a couple of days I have a new problem.
At start up the printer is correctky connecyed with my octoprint, I can take control of the printer (X, Y, Z), but when I laucnh a print or if I set temperature, the printer is disconnected of octoprint.

What did you already try to solve it?

Fresh install of octoprint and restore an old backup

Have you tried running in safe mode?

No

Did running in safe mode solve the problem?

WRITE HERE

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

octoprint-systeminfo-20240318155511.zip (109,0 Ko)

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

Octoprint 1.9.3
Octopi 1.18.0
Printer Sovol SV06+

You have a lot of plugins activated. To break your issue down you should enable 'safe mode'

Hello,
Thanks for your interrest.
You're right but if I switch in safe mode I can't turn my printer on because I use a relay plugged on my RPI3 to turn it on.
Until now, I never had a such problem.
Kind regards

I checked your logs shortly. I couldn't find anything suspicious. So might be your disconnection is printer related. First of all you should find a way to turn on your printer without any interdependency between some plugins and your relay, Than activate 'safe mode" and report what happens.

Ok, I'll do it this evening.

In safe mode, same result, disconnection when I launch a print.
octoprint-systeminfo-20240318213220.zip (140,4 Ko)

Do you try to print from SD card?

2024-03-16 19:26:55,271 - octoprint.plugins.DisplayLayerProgress - INFO - Printing started. Detailed progress started.{'name': 'CLIGNO~2.GCO', 'path': 'CLIGNO~2.GCO', 'origin': 'sdcard', 'size': 1248164, 'owner': 'michel', 'user': 'michel'}
2024-03-16 19:26:55,321 - octoprint.plugin - ERROR - Error while calling plugin dashboard
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/plugin/__init__.py", line 275, in call_plugin
    result = getattr(plugin, method)(*args, **kwargs)
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/__init__.py", line 1686, in wrapper
    return f(*args, **kwargs)
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_dashboard/__init__.py", line 543, in on_event
    self.load_from_meta(payload)
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint_dashboard/__init__.py", line 413, in load_from_meta
    payload.get("path")
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/filemanager/__init__.py", line 920, in get_metadata
    return self._storage(destination).get_metadata(path)
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/filemanager/__init__.py", line 1048, in _storage
    raise NoSuchStorage(f"No storage configured for destination {destination}")
octoprint.filemanager.NoSuchStorage: No storage configured for destination sdcard
2024-03-16 19:26:55,359 - octoprint.util.comm - INFO - Resuming on request of the printer...
2024-03-16 19:26:55,417 - octoprint.util.comm - INFO - Changing monitoring state from "Starting print from SD" to "Printing from SD"
2024-03-16 19:26:57,384 - octoprint.util.comm - INFO - Printer seems to support the busy protocol, will adjust timeouts and set busy interval accordingly
2024-03-16 19:26:57,810 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid
2024-03-16 19:27:01,298 - 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 4081, in _readline
    ret = self._serial.readline()
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 6832, 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?)
2024-03-16 19:27:01,350 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this.
2024-03-16 19:27:01,362 - octoprint.util.comm - INFO - Changing monitoring state from "Printing from SD" to "Offline after error"
2024-03-16 19:27:01,407 - octoprint.plugins.DisplayLayerProgress - INFO - Printing stopped. Detailed progress stopped.
2024-03-16 19:27:01,744 - octoprint.server - INFO - Starting autorefresh of serial port list
2024-03-16 19:27:01,754 - octoprint.plugins.action_command_notification - INFO - Notifications cleared
2024-03-16 19:27:01,762 - octoprint.plugins.enclosure - INFO - Detected Error or Disconnect in Disconnected will call listeners for shutdown_on_error!
2024-03-16 19:27:01,799 - octoprint.server - INFO - Serial port list was updated, refreshing the port list in the frontend
2024-03-16 19:27:02,811 - octoprint.server - INFO - Serial port list was updated, refreshing the port list in the frontend
2024-03-16 19:27:03,415 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial connection"
2024-03-16 19:27:03,473 - octoprint.util.comm - INFO - Serial detection: Performing autodetection with 7 port/baudrate candidates: /dev/ttyUSB0@115200, /dev/ttyUSB0@250000, /dev/ttyUSB0@230400, /dev/ttyUSB0@57600, /dev/ttyUSB0@38400, /dev/ttyUSB0@19200, /dev/ttyUSB0@9600
2024-03-16 19:27:03,474 - octoprint.util.comm - INFO - Serial detection: Trying port /dev/ttyUSB0, baudrate 115200
2024-03-16 19:27:03,481 - octoprint.util.comm - INFO - Connecting to port /dev/ttyUSB0, baudrate 115200
2024-03-16 19:27:03,506 - octoprint.util.comm - INFO - Serial detection: Handshake attempt #1 with timeout 2.0s
2024-03-16 19:27:03,519 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0
2024-03-16 19:27:03,811 - octoprint.server - INFO - Autorefresh of serial port list stopped
2024-03-16 19:27:04,121 - 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 4081, in _readline
    ret = self._serial.readline()
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/comm.py", line 6832, 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?)
2024-03-16 19:27:04,123 - octoprint.util.comm - ERROR - Please see https://faq.octoprint.org/serialerror for possible reasons of this.

There is maybe something the gcode file 'CLIGNO~2.GCO' that makes the printer crash.

1 Like

No, I print directly from octoprint. I got this error after lauchning a print :

Status: Offline after error SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)

My printer is connected to the octoprint box via a hub usb (because the charge, there is also a camera) but I have also tried by direct connexion (printer<->octoprint) without hub, same result. I have also thought there was a problem using octodash, so I desinstalled it, same result.
I have no more idea.
If someone get another one, I am serioulsly interrested.

Are you printing from sd? Is octopi installed on sd? Maybe there are some failure with the sd (especially if it is not "very new" -- means old)? In this case do following;

  • make a backup of your OctoPrint installation,
  • use a fresh sd,
  • burn OctoPrint to it
  • restore your backup
  • try it again
2024-03-16 19:26:55,271 - octoprint.plugins.DisplayLayerProgress - INFO - Printing started. Detailed progress started.{'name': 'CLIGNO~2.GCO', 'path': 'CLIGNO~2.GCO', 'origin': 'sdcard', 'size': 1248164, 'owner': 'michel', 'user': 'michel'}

I have already thought to a wrong miscroSD.
So, I have done almost exactly what you describe, I mean restore an old backup but not on a fresh install of Octoprint but a restore of a rpi-clone of an Octoprint of another printer..
Do you think I am wrong to process like that ?

So if it is adapted to your environment (printer profile, connection ...) it should be a good starting point. Most important to use a sd without any faults.

This is indeed the case, I bought a pack of microSD specially for this.
In fact, I think the problem comes from the printer and not octoprint.
However I can print directly from the SD card.
The difference is that as soon as Octoprint detects an anomaly, it goes into fault while the printer does not.
Because of this I can't ask for help from Sovol who will tell me that its printer works.

If you have a bad ground connection between the bed heater and the PSU then when the printer turns the bed on current can flow down the USB cable ground, generate voltage drop and cause the USB comms to fail.

I have test everything I can test with no success (cable, reset, reinstallation, changing the octoprint box with a fresh install and a new sdcard, ...).
The last thing I can do is to change the motherboard. I have to check the USB port, maybe a defective electrical connection.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.