Just another "Got EOF when reading from device" issue

Basic Information:

Printer Model: Ender 6
MCU / Printerboard: SKR 3
Klippy.log (627.4 KB)
moonraker.log (482.2 KB)
printer.cfg (6.2 KB)

klippy.log

### Describe your issue:
I’ve been experiencing random lost connections for a week or so. At the beginning of a print, the hot end and bed get up to temp and the klipper stops and errors out "Lost MCU connection ‘mcu’ ". I think it has something to do with the connection between klipper and moonraker, but I cant figure out what

I had been running fine on a RPi3, but wanted a hardware upgrade for klipper so I set up a Dell Wyse 5060 as a mini PC/server. Has quad core and 8gb ram. I copied my working config from the rpi to the Wyse running Lubuntu. Had to fix some path issue and still trying to get past these disconnects. Switched out to a second Wyse and usb cables.

What I’ve done to diagnose it:

Changed the thin client to a different one
Changed USB cable
Reinstalled/reflashed everything
Lowered Baud to 115200

The klippy.log is quite unhelpful. It shows a `Got EOF when reading from device. While this does usually indicate a poor USB cable, I don’t think it’s the true cause here. I’ve changed the usb cable, with no observable differences.

#### From Moonraker.log ####
2023-02-12 15:15:37,043 [klippy_connection.py:_process_command()] - Unknown method received: notify_proc_stat_update
2023-02-12 15:15:37,278 [websockets.py:build_error()] - JSON-RPC Request Error: -32600
Invalid Request
2023-02-12 15:15:37,531 [websockets.py:build_error()] - JSON-RPC Request Error: -32600
Invalid Request
2023-02-12 15:15:37,784 [websockets.py:build_error()] - JSON-RPC Request Error: -32600
Invalid Request
2023-02-12 15:15:37,785 [klippy_connection.py:_check_ready()] - {‘code’: -32600, ‘message’: ‘Invalid Request’}
Klippy info request error. This indicates that
Klippy may have experienced an error during startup.
Please check klippy.log for more information

#### From klippy.log ####
Stats 3760.3: gcodein=0 mcu: mcu_awake=0.001 mcu_task_avg=0.000004 mcu_task_stddev=0.000004 bytes_write=32056 bytes_read=624627 bytes_retransmit=9 bytes_invalid=0 send_seq=4416 receive_seq=4416 retransmit_seq=2 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=11 stalled_bytes=0 freq=400017392 sd_pos=224 heater_bed: target=60 temp=61.1 pwm=0.249 raspberry_pi: temp=33.0 sysload=0.09 cputime=47.330 memavail=6115516 print_time=19674.842 buffer_time=0.000 print_stall=0 extruder: target=200 temp=201.3 pwm=0.200

Stats 3761.3: gcodein=0 mcu: mcu_awake=0.001 mcu_task_avg=0.000004 mcu_task_stddev=0.000004 bytes_write=32121 bytes_read=624787 bytes_retransmit=9 bytes_invalid=0 send_seq=4420 receive_seq=4420 retransmit_seq=2 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=400017394 sd_pos=224 heater_bed: target=60 temp=61.1 pwm=0.170 raspberry_pi: temp=33.0 sysload=0.09 cputime=47.346 memavail=6115292 print_time=19675.842 buffer_time=0.000 print_stall=0 extruder: target=200 temp=201.2 pwm=0.211

Stats 3762.3: gcodein=0 mcu: mcu_awake=0.001 mcu_task_avg=0.000004 mcu_task_stddev=0.000004 bytes_write=32127 bytes_read=624947 bytes_retransmit=9 bytes_invalid=0 send_seq=4421 receive_seq=4421 retransmit_seq=2 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=400017392 sd_pos=224 heater_bed: target=60 temp=61.1 pwm=0.170 raspberry_pi: temp=34.0 sysload=0.09 cputime=47.362 memavail=6115488 print_time=19676.843 buffer_time=0.000 print_stall=0 extruder: target=200 temp=201.1 pwm=0.211

Stats 3763.3: gcodein=0 mcu: mcu_awake=0.001 mcu_task_avg=0.000004 mcu_task_stddev=0.000004 bytes_write=32165 bytes_read=625130 bytes_retransmit=9 bytes_invalid=0 send_seq=4424 receive_seq=4424 retransmit_seq=2 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=400017389 sd_pos=224 heater_bed: target=60 temp=61.1 pwm=0.135 raspberry_pi: temp=33.0 sysload=0.08 cputime=47.378 memavail=6115544 print_time=19677.844 buffer_time=0.000 print_stall=0 extruder: target=200 temp=201.0 pwm=0.211

Stats 3764.3: gcodein=0 mcu: mcu_awake=0.001 mcu_task_avg=0.000004 mcu_task_stddev=0.000004 bytes_write=32187 bytes_read=625295 bytes_retransmit=9 bytes_invalid=0 send_seq=4426 receive_seq=4426 retransmit_seq=2 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=0 stalled_bytes=0 freq=400017386 sd_pos=224 heater_bed: target=60 temp=61.0 pwm=0.241 raspberry_pi: temp=33.0 sysload=0.08 cputime=47.394 memavail=6115320 print_time=19678.845 buffer_time=0.000 print_stall=0 extruder: target=200 temp=200.9 pwm=0.211

b’Got EOF when reading from device’

Stats 3765.3: gcodein=0 mcu: mcu_awake=0.001 mcu_task_avg=0.000004 mcu_task_stddev=0.000004 bytes_write=32459 bytes_read=625383 bytes_retransmit=9 bytes_invalid=0 send_seq=4432 receive_seq=4432 retransmit_seq=2 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=23 stalled_bytes=1 freq=400017386 sd_pos=264 heater_bed: target=60 temp=61.0 pwm=0.317 raspberry_pi: temp=32.0 sysload=0.08 cputime=47.415 memavail=6115516 print_time=19681.959 buffer_time=0.000 print_stall=0 extruder: target=200 temp=200.9 pwm=0.211

Stats 3766.3: gcodein=0 mcu: mcu_awake=0.001 mcu_task_avg=0.000004 mcu_task_stddev=0.000004 bytes_write=32459 bytes_read=625383 bytes_retransmit=9 bytes_invalid=0 send_seq=4432 receive_seq=4432 retransmit_seq=2 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=23 stalled_bytes=2 freq=400017386 sd_pos=264 heater_bed: target=60 temp=61.0 pwm=0.317 raspberry_pi: temp=33.0 sysload=0.08 cputime=47.423 memavail=6115592 print_time=19681.959 buffer_time=0.000 print_stall=0 extruder: target=200 temp=200.9 pwm=0.211

Stats 3767.3: gcodein=0 mcu: mcu_awake=0.001 mcu_task_avg=0.000004 mcu_task_stddev=0.000004 bytes_write=32459 bytes_read=625383 bytes_retransmit=9 bytes_invalid=0 send_seq=4432 receive_seq=4432 retransmit_seq=2 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=23 stalled_bytes=359 freq=400017386 sd_pos=264 heater_bed: target=60 temp=61.0 pwm=0.317 raspberry_pi: temp=32.0 sysload=0.08 cputime=47.440 memavail=6115340 print_time=19682.659 buffer_time=0.000 print_stall=0 extruder: target=200 temp=200.9 pwm=0.211

Stats 3768.3: gcodein=0 mcu: mcu_awake=0.001 mcu_task_avg=0.000004 mcu_task_stddev=0.000004 bytes_write=32459 bytes_read=625383 bytes_retransmit=9 bytes_invalid=0 send_seq=4432 receive_seq=4432 retransmit_seq=2 srtt=0.000 rttvar=0.000 rto=0.025 ready_bytes=23 stalled_bytes=680 freq=400017386 sd_pos=264 heater_bed: target=60 temp=61.0 pwm=0.317 raspberry_pi: temp=32.0 sysload=0.08 cputime=47.460 memavail=6115496 print_time=19683.659 buffer_time=0.000 print_stall=0 extruder: target=200 temp=200.9 pwm=0.211
Timeout with MCU ‘mcu’ (eventtime=3769.340862)
Transition to shutdown state: Lost communication with MCU ‘mcu’
Dumping gcode input 0 blocks
Dumping 20 requests for client 139705723727408

See Got EOF when reading from device and How-To Trouble-Shoot

Im having a similar issue. Klipper runs great with any frontend on the RPi 4 but when I try to run it from my Dell mini running Ubuntu server I cannot connect. I think the mini computers need some other settings for the USBs to function like the do on the Pi.

Please start a new thread and post the required information. Especially also post a sudo dmesg directly after connecting the board to the Dell