I installed OctoPrint on an Ubuntu server machine using the Docker install, with the external port at 8999 internal 80 I used a Stack in Portainer to complete the installation. I connected my CR10 S Pro to the server via USB, with a cable that was given to me by the previous owner, and is known to be working. The cable only modification is the 5V voltage that was cut from the USB A port.
What is the problem?
When I tried to connect Octoprint to the printer in the web interface, I always get the following timeout error:
Changing monitoring state from "Offline" to "Opening serial connection"
Connecting to port /dev/ttyUSB0, baudrate 115200
Changing monitoring state from "Opening serial connection" to "Connecting"
Connected to: Serial<id=0x7ca25e5e6110, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=20.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
There was a timeout while trying to connect to the printer
Changing monitoring state from "Connecting" to "Offline"
Connection closed, closing down monitor
I cannot figure out what is wrong with it.
What did you already try to solve it?
I've tried the auto port/baudrate and then manual (/dev/ttyUSB0 and 115200 bps)
Have you tried running in safe mode?
Yes, same result!
Did running in safe mode solve the problem?
No
I did look into different logs and such, but nothing really get me over the issue. Any help will be greatly appreciated.