# Klipper is shutting down at random times

**URL:** https://klipper.discourse.group/t/klipper-is-shutting-down-at-random-times/16693
**Category:** General Discussion
**Created:** [May 27, 2024, 11:24am UTC](https://klipper.discourse.group/t/klipper-is-shutting-down-at-random-times/16693 "2024-05-27T11:24:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![popo](https://avatars.discourse-cdn.com/v4/letter/p/5f9b8f/32.png) [@popo](https://klipper.discourse.group/u/popo)
#### Post date: [May 27, 2024, 11:24am UTC](https://klipper.discourse.group/t/klipper-is-shutting-down-at-random-times/16693/1 "2024-05-27T11:24:19Z")

</div>

### Basic Information:

Printer Model: Ender S1 Pro  
 MCU / Printerboard:  
 Host / SBC  
 klippy.log

[moonraker(4).log](https://klipper.discourse.group/uploads/short-url/pL6X1kZZZL58ydEHcsXm6SIva1Z.log) (9.3 KB)

[klippy(16).zip](https://klipper.discourse.group/uploads/short-url/bxGubPtddfHEN8FXktZkIhwa9ve.zip) (1.1 MB)

### Describe your issue:

Printer keeps shutting down at random times. I thought I fixed the problem by reinstalling everything, but after 12 hours the print just stopped.

…

---

<div class="post-metadata">

### Author: ![ianf](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/ianf/32/13900_2.png) [@ianf](https://klipper.discourse.group/u/ianf)
#### Post date: [May 27, 2024, 12:30pm UTC](https://klipper.discourse.group/t/klipper-is-shutting-down-at-random-times/16693/2 "2024-05-27T12:30:14Z")

</div>

Relevant pieces from klippy.log:

‘Got EOF when reading from device’  
Timeout with MCU ‘mcu’ (eventtime=55001.733976)  
Transition to shutdown state: Lost communication with MCU ‘mcu’

It looks like the connection between the host and mcu failed due to the serial port disappearing.

How is your host connected to the printer and what control board is in the printer?

---

<div class="post-metadata">

### Author: ![TheFuzzyGiggler](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/thefuzzygiggler/32/12313_2.png) [@TheFuzzyGiggler](https://klipper.discourse.group/u/TheFuzzyGiggler)
#### Post date: [May 27, 2024, 1:35pm UTC](https://klipper.discourse.group/t/klipper-is-shutting-down-at-random-times/16693/3 "2024-05-27T13:35:58Z")

</div>

As ianf said, EOF when reading from device is a Linux based issue due to communication with your board.

See the KB article below:

> [@Got EOF when reading from device](https://klipper.discourse.group/t/got-eof-when-reading-from-device/6638):
>
> Got EOF when reading from device Background This is actually an error raised by Linux operating system (OS) of the host and only reported by Klipper. It indicated that the contact to an attached hardware (mostly the MCU in this case) is lost. This can happen when the USB port is reset or the OS thinks the hardware has been disconnected. This error often appears in conjunction with the [Timeout with MCU / Lost communication with MCU](https://klipper.discourse.group/t/timeout-with-mcu-lost-communication-with-mcu/6639/1) errors Reasons Unreliable connection between the printer-bo…

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)
#### Post date: [July 26, 2024, 1:36pm UTC](https://klipper.discourse.group/t/klipper-is-shutting-down-at-random-times/16693/4 "2024-07-26T13:36:38Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
