# Health check for rasa action server

**URL:** https://forum.rasa.com/t/health-check-for-rasa-action-server/44574
**Category:** Rasa Open Source
**Created:** [June 14, 2021, 5:57am UTC](https://forum.rasa.com/t/health-check-for-rasa-action-server/44574 "2021-06-14T05:57:28Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![ojas](https://avatars.discourse-cdn.com/v4/letter/o/c5a1d2/32.png) [@ojas](https://forum.rasa.com/u/ojas)
#### Post date: [June 14, 2021, 5:57am UTC](https://forum.rasa.com/t/health-check-for-rasa-action-server/44574/1 "2021-06-14T05:57:28Z")

</div>

Hi,

Is there any endpoint(GET method) to check whether rasa action server is running or not?

My rasa action server stops running in the middle and i start getting following error: aiohttp.client\_exceptions.ClientConnectorError: Cannot connect to host localhost:5055 ssl:default [Connection refused]

Thanks!

---

<div class="post-metadata">

### Author: ![anca](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/anca/32/14540_2.png) [@anca](https://forum.rasa.com/u/anca)
#### Post date: [June 14, 2021, 7:58am UTC](https://forum.rasa.com/t/health-check-for-rasa-action-server/44574/2 "2021-06-14T07:58:07Z")

</div>

Hi @ojas Yes, you can find the endpoints you need [here](https://rasa.com/docs/rasa/pages/http-api#tag/Server-Information). Please let us know how you get on.

---

<div class="post-metadata">

### Author: ![ojas](https://avatars.discourse-cdn.com/v4/letter/o/c5a1d2/32.png) [@ojas](https://forum.rasa.com/u/ojas)
#### Post date: [June 14, 2021, 9:00am UTC](https://forum.rasa.com/t/health-check-for-rasa-action-server/44574/3 "2021-06-14T09:00:57Z")

</div>

Thanks @anca for reply!

I needed endpoint for **rasa action server** (localhost:5055). Sometimes it happens is that my action server freezes while my **rasa server** (localhost:5005) still works fine.

I need to keep a check on action server and restart it if it freezes at any point.

No GET endpoint in action server [Rasa Action Server Documentation](https://rasa.com/docs/action-server/pages/action-server-api)

---

<div class="post-metadata">

### Author: ![anca](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/anca/32/14540_2.png) [@anca](https://forum.rasa.com/u/anca)
#### Post date: [June 14, 2021, 3:58pm UTC](https://forum.rasa.com/t/health-check-for-rasa-action-server/44574/4 "2021-06-14T15:58:21Z")

</div>

Hi @ojas Apologies for not reading attentively your initial post. You can use the [`/health`](https://github.com/RasaHQ/rasa-sdk/blob/9c2691ed17d7eff7c89cceb0d6299594820ed633/rasa_sdk/endpoint.py#L85) endpoint to check the status of the action server. Hope this helps!

---

<div class="post-metadata">

### Author: ![ojas](https://avatars.discourse-cdn.com/v4/letter/o/c5a1d2/32.png) [@ojas](https://forum.rasa.com/u/ojas)
#### Post date: [June 14, 2021, 4:22pm UTC](https://forum.rasa.com/t/health-check-for-rasa-action-server/44574/6 "2021-06-14T16:22:28Z")

</div>

No issues @anca… I have tried using the same endpoint for my action server and what I get is:

# ⚠ 404 — Not Found

Requested URL /health not found

My action server is running on localhost:5055 and I am trying **localhost:5055/health**..correct me if I am wrong.

---

<div class="post-metadata">

### Author: ![anca](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/anca/32/14540_2.png) [@anca](https://forum.rasa.com/u/anca)
#### Post date: [June 14, 2021, 5:21pm UTC](https://forum.rasa.com/t/health-check-for-rasa-action-server/44574/7 "2021-06-14T17:21:12Z")

</div>

Hi @ojas That’s quite strange - I just tested the endpoint on an example bot (`formbot`) and it worked fine.

 ![Screenshot 2021-06-14 at 18.16.07](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/5/5a75e349d14c88cd2e8f4fa4b34ae9aa183a1a7d.png)

Could you please try running `rasa run actions --debug` and post the full debug log? Also, to double-check you’ve uncommented these lines in `endpoints.yml`?

```auto
action_endpoint:
    url: http://localhost:5055/webhook

```

---

<div class="post-metadata">

### Author: ![ojas](https://avatars.discourse-cdn.com/v4/letter/o/c5a1d2/32.png) [@ojas](https://forum.rasa.com/u/ojas)
#### Post date: [June 14, 2021, 5:45pm UTC](https://forum.rasa.com/t/health-check-for-rasa-action-server/44574/8 "2021-06-14T17:45:48Z")

</div>

Hey @anca… sorry I just messed up the url!

I have checked now…it’s working fine…

**Thank you so much!!** @anca

---

<div class="post-metadata">

### Author: ![BernaRampl](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@BernaRampl](https://forum.rasa.com/u/BernaRampl)
#### Post date: [February 13, 2022, 7:56pm UTC](https://forum.rasa.com/t/health-check-for-rasa-action-server/44574/9 "2022-02-13T19:56:26Z")

</div>

From version 1.0.0, Rasa NLU and Rasa Core have been combined into a single environment. As a result, there have been some minor changes to the learning process and available features. First of all, Rasa is an open-source machine learning framework for automating text and voice communication. Sometimes technical parameters are applied to check the connection to the server when you use the machines. But you need to protect your eyes for this as there are flashes (especially in substations). You [need to protect your eyesight](https://www.mcdaidpharmacy.ie/collections/eye-care) when using out to check the operation of rasa servers over long distances. I would recommend drops and protective tools. This only applies to practice in a technical environment.
