What is the problem?
Over the last 1-2 weeks it started taking a lot longer for Octoprint to connect to my printer. But, as of a few days ago, it won't connect at all. The only thing I have done over the last few weeks is update Octoprint to 1.3.9rc2, then back down to 1.3.8, and update Octolapse to v0.3.1.
The Serial Port is /dev/ttyACM0 when I have my printer plugged in via USB to my raspberry pi and it will automatically detect the baud rate at 115200. I believe these were the settings I used in the past when it would connect.
The IP for my raspberry pi has changed twice over the last few weeks (due to power outages in my house causing my internet to restart) but I've connected to my printer every time a new IP was generated for my pi. I'm guessing this isn't causing the issue.
Also, the firmware on my printer has NOT been updated since I got the printer. I've been using Octoprint successfully since approximately March 2018.
What did you already try to solve it?
- Rebooted printer and raspberry pi many times
- Cleared browser history
- ctrl + f5
- Increase timeout limits in "Serial Connections -> Intervals & Timeouts"
- Searched on google for countless hours
- Tried with both 1.3.9rc2 and 1.3.8 Octoprint versions
- Removed Octolapse
- Tried accessing Octoprint and connecting on another computer (thought I'd at least try)
Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log
, serial.log
or output on terminal tab, ...)
- Octoprint - 1.3.8
- OctoPi 0.14.0
- Octolapse v0.3.1
- Attached octoprint.log
octoprint.log (298.9 KB) - serial.log output...
2018-07-16 04:05:10,302 - Connecting to: /dev/ttyACM0
2018-07-16 04:05:10,317 - Changing monitoring state from "Offline" to "Opening serial port"
2018-07-16 04:05:10,319 - Connected to: Serial<id=0x7432a110, open=True>(port='/dev/ttyACM0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
2018-07-16 04:05:10,320 - Changing monitoring state from "Opening serial port" to "Connecting"
2018-07-16 04:05:40,353 - There was a timeout while trying to connect to the printer
2018-07-16 04:05:40,364 - Changing monitoring state from "Connecting" to "Offline"
2018-07-16 04:05:40,370 - Connection closed, closing down monitor
-Terminal Tab Output...
Connecting to: /dev/ttyACM0
Changing monitoring state from "Offline" to "Opening serial port"
Connected to: Serial<id=0x6b02a570, open=True>(port='/dev/ttyACM0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from "Opening serial port" to "Connecting"
There was a timeout while trying to connect to the printer
Changing monitoring state from "Connecting" to "Offline"
Connection closed, closing down monitor
Thanks!