# Shutdown due to webhooks request

**URL:** <https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011>\
**Category:** General Discussion\
**Created:** [May 29, 2022, 6:57am UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011 "2022-05-29T06:57:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![roxy](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/roxy/32/1495_2.png) [@roxy](https://klipper.discourse.group/u/roxy)\
**Post date:** [May 29, 2022, 6:57am UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/1 "2022-05-29T06:57:21Z")

</div>

Greetings!

I am new to 3d printing, and just finishing up my first Voron 2.4 build. I just couldn’t get pass this error here. it is killing me.

Shutdown due to webhooks request  
Once the underlying issue is corrected, use the  
“FIRMWARE\_RESTART” command to reset the firmware, reload the  
config, and restart the host software.  
Printer is shutdown

I tried going through the log and correlating any possible problems, but no luck.  
Can someone please point me to the right direction? Much appreciated!  
[klippy.log](https://klipper.discourse.group/uploads/short-url/4Tcxqfnm4UkKmaBkjTAL5t5f8lJ.log) (373.8 KB)

Thanks,  
Roy

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [May 29, 2022, 9:15am UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/2 "2022-05-29T09:15:19Z")

</div>

Kind of strange. You are actually requesting Klipper to shut down. From the logs it looks like it is receiving an emergency shutdown via Moonraker / Mainsail (or Fluidd):

Here are the relevant lines:

```auto
Transition to shutdown state: Shutdown due to webhooks request
...
Dumping 20 requests for client 1967894656
...
Received 2748.802927: {"id": 1751183424, "method": "emergency_stop", "params": {}}
...
MCU 'mcu' shutdown: Command request

```

---

<div class="post-metadata">

**Author:** ![roxy](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/roxy/32/1495_2.png) [@roxy](https://klipper.discourse.group/u/roxy)\
**Post date:** [May 29, 2022, 8:47pm UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/3 "2022-05-29T20:47:14Z")

</div>

Tell me about it, could it be other settings I am missing for this to happen?

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [May 31, 2022, 7:54am UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/4 "2022-05-31T07:54:33Z")

</div>

Post your moonraker.log  
This looks like your are intentionally shutting down Klipper. It is not Klipper’s fault. Klipper receives a shutdown command from your control interface (mainsail / fluidd)

---

<div class="post-metadata">

**Author:** ![roxy](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/roxy/32/1495_2.png) [@roxy](https://klipper.discourse.group/u/roxy)\
**Post date:** [June 1, 2022, 12:07am UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/5 "2022-06-01T00:07:54Z")

</div>

Here is the moonraker log.

[moonraker.log](https://klipper.discourse.group/uploads/short-url/qz6oCxrc7nq6e7XOxveTaeFDBE0.log) (4.5 KB)

seems like there are a few shutdowns happening.

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [June 1, 2022, 6:17am UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/6 "2022-06-01T06:17:53Z")

</div>

Strange indeed. Please do:

1. `sudo service klipper stop`

2. `sudo service moonraker stop`

3. Delete `klippy.log` file

4. Delete `moonraker.log` file

5. Enable debug logging in moonraker

6. `sudo service moonraker start`

7. `sudo service klipper start`

8. Wait for the error to happen

Then post both logs here.

---

<div class="post-metadata">

**Author:** ![roxy](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/roxy/32/1495_2.png) [@roxy](https://klipper.discourse.group/u/roxy)\
**Post date:** [June 2, 2022, 4:56am UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/7 "2022-06-02T04:56:29Z")

</div>

Thanks for the reply, I really appreciate your help Sineos!

here are the logs with debugging enabled.

[moonraker debug on.log](https://klipper.discourse.group/uploads/short-url/3YuiduKFwYZY9EwFZgUEb9tfQSt.log) (562.6 KB)  
[klippy debug on.log](https://klipper.discourse.group/uploads/short-url/6Po1xX55QoaMNz57ciQrMANvp0U.log) (70.5 KB)

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [June 2, 2022, 11:12am UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/8 "2022-06-02T11:12:20Z")

</div>

I honestly have no idea. Maybe @Arksine could jump in.

For me it looks like Klipper is receiving an emergency shutdown request from Moonraker but I do not see any reason for it.

---

<div class="post-metadata">

**Author:** ![Arksine](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@Arksine](https://klipper.discourse.group/u/Arksine)\
**Post date:** [June 2, 2022, 12:02pm UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/9 "2022-06-02T12:02:32Z")

</div>

Moonraker received an emergency stop request from the front end (Fluidd) and forwarded it to Klipper:

```auto
2022-06-02 05:53:09,686 [websockets.py:dispatch()] - Websocket Received::{"id":48205,"method":"printer.emergency_stop","jsonrpc":"2.0"}
2022-06-02 05:53:09,710 [websockets.py:dispatch()] - Websocket Response::{"jsonrpc": "2.0", "result": "ok", "id": 48205}

```

Is it possible that you are unintentionally hitting an emergency stop control?

---

<div class="post-metadata">

**Author:** ![roxy](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/roxy/32/1495_2.png) [@roxy](https://klipper.discourse.group/u/roxy)\
**Post date:** [June 2, 2022, 3:54pm UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/10 "2022-06-02T15:54:09Z")

</div>

Thanks for the replies!

Not that I am aware of to my knowledge. This is literately a fresh build from the start. Everything is stock. I’ve also tried re-imaging FluiddPi a few time already with no luck. Where could I start checking for the emergency stop control? Maybe I should try OctoPi instead?

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [June 2, 2022, 6:12pm UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/11 "2022-06-02T18:12:04Z")

</div>

You could try Mainsail or a bare-bone Raspian and either install Moonraker and Fluidd manually or with [GitHub - th33xitus/kiauh: Klipper Installation And Update Helper](https://github.com/th33xitus/kiauh)

This is really weird.

---

<div class="post-metadata">

**Author:** ![Arksine](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@Arksine](https://klipper.discourse.group/u/Arksine)\
**Post date:** [June 2, 2022, 6:33pm UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/12 "2022-06-02T18:33:01Z")

</div>

This could be browser related. Are you using a desktop browser or mobile, and which browser are you using? It would definitely be possible for a mobile browser to mess up the layout of the estop.

Below is a screenshot of Fluidd on iOS Brave (basically safari). The estop floating in the bottom left corner:

 ![File_000](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/1/18cfae7df1f871dbbcff0737f546e23002c4598a.png)

On a desktop (this is Linux Brave, which is a Chromium based browser) the estop button is on the upper next to the notification icon.

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/2/25f05a73bb15b602d85af43f7bfe5fcd306d82ea.png)

---

<div class="post-metadata">

**Author:** ![roxy](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/roxy/32/1495_2.png) [@roxy](https://klipper.discourse.group/u/roxy)\
**Post date:** [June 2, 2022, 7:26pm UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/13 "2022-06-02T19:26:30Z")

</div>

I am using desktop browser.

I just realized something, and it might sound stupid. Is that red icon next to notification icon a estop button??? For some reason I thought it is a some sort of error report tap the whole time, so I just kept clicking on it to see what is going on. LOL. OMG, I feel so stupid.

It all make sense now.

I think I am good now. Thank you both so much @Arksine @Sineos for the help and guidance!

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [June 2, 2022, 7:55pm UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/14 "2022-06-02T19:55:30Z")

</div>

_sigh_ 😉

and another happy customer

---

<div class="post-metadata">

**Author:** ![xyse](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/xyse/32/3023_2.png) [@xyse](https://klipper.discourse.group/u/xyse)\
**Post date:** [December 12, 2022, 3:04pm UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/15 "2022-12-12T15:04:26Z")

</div>

I had the same issue and mistakenly assumed it’s some kind of notification thingy. Fluidd UI/UX team should do some work here I think.

---

<div class="post-metadata">

**Author:** ![VerySadPanda](https://avatars.discourse-cdn.com/v4/letter/v/ccd318/32.png) [@VerySadPanda](https://klipper.discourse.group/u/VerySadPanda)\
**Post date:** [January 6, 2023, 7:11am UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/16 "2023-01-06T07:11:06Z")

</div>

So I just ran into the same problem with my printer shutting down. I am SUPER new to printing and half of the reply’s in this thread made no sense to me at all. I don’t even know half the programs mentioned (sigh).  
My error occurred while I was at work and I have no access to any programs/ apps that even control this sonic pad outside/off the home network I’m fairly sure I did not hit any estop buttons or the like. (Is there an app to control this from my phone while I’m at work?)  
Anyway,  
I did have my Laptop open to the IP address when I left for work… Maybe the laptop? sleep mode? random disconnection with the printer?  
If you respond to this please understand I know VERY little tech talk. I’ve only had the sonic pad for 6 days now… Nothing but headache’s… My Beagle Camera did all of this and more, and had night vision and apps on my phone… I’m regretting this sonic pad more and more  
[moonraker.log](https://klipper.discourse.group/uploads/short-url/8nPK0A7STzOOcj3cVJocmNt4cFR.log) (42.7 KB)  
[klippy.log](https://klipper.discourse.group/uploads/short-url/jU7bgEj9cOYkHuAfsqXCzrr4geX.log) (194.2 KB)

 ![IMG20230105233309](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/9/9a43fa28bea05cde66123912321ab9f7f754a950.jpeg)

---

<div class="post-metadata">

**Author:** ![dcxh](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dcxh](https://klipper.discourse.group/u/dcxh)\
**Post date:** [March 17, 2023, 7:11am UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/17 "2023-03-17T07:11:48Z")

</div>

I just made an account to say I just had the exact same experience. The emergency stop button has an exclamation mark in it which in my culture means it wants my attention… So I click it and am taken to a different page showing me an error which only served to reinforce that the icon meant it needed my attention.

Looking at other posts this seems pretty common hahaha

---

<div class="post-metadata">

**Author:** ![Johnson6048](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@Johnson6048](https://klipper.discourse.group/u/Johnson6048)\
**Post date:** [September 3, 2023, 8:24am UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/18 "2023-09-03T08:24:45Z")

</div>

It’s back!!! Just got this error in conjunction with a “out of range” error. Less than 6 month old Ender 5 S1 using Sonic Pad with klipper and was printing just fine until two nights ago. Printed fine one night, then the next night just started throwing these errors. Searched all over the interwebs and can’t find a solution yet. No update was done in between the successful print and the next days attempt to print. Tried printing files that I know work fine and have been on the USB Device for months with no issues. Still get these errors.

I do not connect to the web interface as it appears most others are doing, therefore I am not pressing any red buttons to cause this. I simply use the Sonic Pad to go to my USB files and hit “Print”. The printer initiates just fine and begins putting down a first layer but then after about 15 seconds, just stops moving, throws the error messages on the Sonic Pad screen but doesn’t shut off the nozzle heat or bed heat. Somebody please, please help!! I’ve really enjoyed this hobby and was very happy with my equipment until this happened.

\*only one error photo posted since I’m a new user and cannot post more than one image.

 ![20230831_220226](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/9/9684589e5c11fad4c72d3dc8fa9d6eaf0f6e5612.jpeg)

---

<div class="post-metadata">

**Author:** ![Johnson6048](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@Johnson6048](https://klipper.discourse.group/u/Johnson6048)\
**Post date:** [September 3, 2023, 8:38am UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/19 "2023-09-03T08:38:29Z")

</div>

Further, the Move Out of Range error displays as follows:

Error Details:  
Move out of range: 13236.555 114.959 0.192 [39.622]

and suggests that the slicing software is the problem, however I get this error with files that worked just fine prior to this mysterious fail. I could understand if it was just a new file I sliced and had never successfully printed on this machine. Also, the nozzle doesn’t appear to physically go out of range limits even remotely close, so this is very strange to me.

---

<div class="post-metadata">

**Author:** ![piotrkmiotczyk](https://avatars.discourse-cdn.com/v4/letter/p/5fc32e/32.png) [@piotrkmiotczyk](https://klipper.discourse.group/u/piotrkmiotczyk)\
**Post date:** [December 11, 2023, 9:13am UTC](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011/20 "2023-12-11T09:13:29Z")

</div>

I hate to practice necromancy on this topic, but unexpected ‘shutdown due to webhook request’ happened to me today and the scenario was such that I logged in to mainsailos.local from my mobile (which I rarely do), misclicked the ‘emergency shutdown’ then NAVIGATED AWAY WHEN ASKED ‘ARE YOU SURE: YES | NO?’ but system had already been stopped.

Later I confirmed that responding NO to that prompt does not work either.

I’m not sure what’s the expected behaviour, I know big red stop buttons on CNC machines do not have confirmation, but this is likely a bug because in this case it should not even display the question.

[Next page](https://klipper.discourse.group/t/shutdown-due-to-webhooks-request/3011.md?page=2)
