What is the problem?
octoprint stops connecting
What did you already try to solve it?
change usb ports
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log
, serial.log
or output on terminal tab, ...)
anet a 8
ramps 1.4
OctoPi 0.15.1
marlin 1.9
terminal log:
Connecting to: /dev/ttyUSB0
Changing monitoring state from "Offline" to "Error: Connection error, see Terminal tab"
Unexpected error while connecting to serial port: /dev/ttyUSB0 SerialException: '[Errno 5] could not open port /dev/ttyUSB0: [Errno 5] Input/output error: '/dev/ttyUSB0'' @ comm.py:_openSerial:2478 (hook default)
octoprint.log
tail -f /home/pi/.octoprint/logs/octoprint.log
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py ", line 2478, in _openSerial
serial_obj = factory(self, self._port, self._baudrate, settings().getFloat([ "serial", "timeout", "connection"]))
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/comm.py ", line 2468, in default
parity=serial.PARITY_ODD)
File "/home/pi/oprint/local/lib/python2.7/site-packages/serial/serialutil.py", line 240, in init
self.open()
File "/home/pi/oprint/local/lib/python2.7/site-packages/serial/serialposix.py" , line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._p ort, msg))
SerialException: [Errno 5] could not open port /dev/ttyUSB0: [Errno 5] Input/out put error: '/dev/ttyUSB0'
On some occasion without doing anything, it has worked again, but it happens again without explanation