Octo pi on raspberry will not connect to printer

What is the problem?

When I go to connect Octopi will not connect

What did you already try to solve it?

I am at a loss as to what to do.

Have you tried running in safe mode?

No

Did running in safe mode solve the problem?

N/A

Systeminfo Bundle

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

I don't know what you're looking for.

Additional information about your setup

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

latest versions - SunLu S8 Factory firmware, Chrome browser, Window 10,
copy of Terminal follows:

Changing monitoring state from "Offline" to "Detecting serial connection"
Performing autodetection with 2 port/baudrate candidates: /dev/ttyUSB0@115200, /dev/ttyS0@115200
Trying port /dev/ttyUSB0, baudrate 115200
Connecting to port /dev/ttyUSB0, baudrate 115200
Handshake attempt #1 with timeout 2.0s
Connected to: Serial<id=0xaab12bf0, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=2.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Send: N0 M110 N0*125
Handshake attempt #2 with timeout 2.0s
Send: N0 M110 N0*125
Handshake attempt #3 with timeout 2.0s
Send: N0 M110 N0*125
Trying port /dev/ttyS0, baudrate 115200
Connecting to port /dev/ttyS0, baudrate 115200
Unexpected error while connecting to serial port /dev/ttyS0, baudrate 115200 from hook default: SerialException: '[Errno 13] could not open port /dev/ttyS0: [Errno 13] Permission denied: '/dev/ttyS0'' @ comm.py:_open_serial:3699
Could not open port /dev/ttyS0, baudrate 115200, skipping
Changing monitoring state from "Detecting serial connection" to "Error"
Changing monitoring state from "Error" to "Offline after error"
Connection closed, closing down monitor
Changing monitoring state from "Offline" to "Detecting serial connection"
Performing autodetection with 2 port/baudrate candidates: /dev/ttyUSB0@115200, /dev/ttyS0@115200
Trying port /dev/ttyUSB0, baudrate 115200
Connecting to port /dev/ttyUSB0, baudrate 115200
Handshake attempt #1 with timeout 2.0s
Connected to: Serial<id=0xb2ae2270, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=2.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Send: N0 M110 N0*125
Recv: ùNpp4b6\x16\x17JpCF6\x93\x88B\x90´%\x00g~´%\x92Iè¸ává\x12b\x9bpyÐX\x92XáB\x13\x13ðnø5\x08\x00>\x93]\x93'\x97ð-Qþ\x17\x12\x14ùN\x93\x136\x17zS.\x1bðS\x10'\x970^\xffB\x94\x98\x17J\x92%\x18\x10\x18\x17J´c\x12ðeÁAháYp|:M\x1bP\x13:\x97P*l\x8bp|\x10(\x18]öráJ\x94B\x90@á\x12\x93H\x17X&váB¸BJ\x988J\x90(C\x92B\xffZBtp$fP\x1fN\x17üaÉ<p|\x10(\x1aþB\x9eB\xffB\x8eBs\x14¿HBpt8n\x08åMa>`eÉbváB\x9cJü\x98 \x948%xCrñ
WARNThe received line contains at least one null byte character at position 20, this hints at some data corruption going on
Handshake attempt #2 with timeout 2.0s
Send: N0 M110 N0*125
Handshake attempt #3 with timeout 2.0s
Send: N0 M110 N0*125
Trying port /dev/ttyS0, baudrate 115200
Connecting to port /dev/ttyS0, baudrate 115200
Unexpected error while connecting to serial port /dev/ttyS0, baudrate 115200 from hook default: SerialException: '[Errno 13] could not open port /dev/ttyS0: [Errno 13] Permission denied: '/dev/ttyS0'' @ comm.py:_open_serial:3699
Could not open port /dev/ttyS0, baudrate 115200, skipping
Changing monitoring state from "Detecting serial connection" to "Error"
Changing monitoring state from "Error" to "Offline after error"
Connection closed, closing down monitor
Changing monitoring state from "Offline" to "Detecting serial connection"
Performing autodetection with 2 port/baudrate candidates: /dev/ttyUSB0@115200, /dev/ttyS0@115200
Trying port /dev/ttyUSB0, baudrate 115200
Connecting to port /dev/ttyUSB0, baudrate 115200
Handshake attempt #1 with timeout 2.0s
Connected to: Serial<id=0xab24eed0, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=2.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Send: N0 M110 N0*125
Handshake attempt #2 with timeout 2.0s
Send: N0 M110 N0*125
Handshake attempt #3 with timeout 2.0s
Send: N0 M110 N0*125
Trying port /dev/ttyS0, baudrate 115200
Connecting to port /dev/ttyS0, baudrate 115200
Unexpected error while connecting to serial port /dev/ttyS0, baudrate 115200 from hook default: SerialException: '[Errno 13] could not open port /dev/ttyS0: [Errno 13] Permission denied: '/dev/ttyS0'' @ comm.py:_open_serial:3699
Could not open port /dev/ttyS0, baudrate 115200, skipping
Changing monitoring state from "Detecting serial connection" to "Error"
Changing monitoring state from "Error" to "Offline after error"
Connection closed, closing down monitor

Just click on Systeminfo Bundle for further instructions :slight_smile:

/dev/ttyS0 seems to be the wrong port for you - you should try to connect to /dev/ttyUSB0
Just blacklist /dev/ttyS0 so octoprint doesn't try to connect to it anymore.

You're getting garbage when connecting with baudrate 115200. Try 250000 or choose auto.