# Rasa cannot connect to host https://localhost:5055 ssl:default ssl certificate verify failed custom action

**URL:** <https://forum.rasa.com/t/rasa-cannot-connect-to-host-https-localhost-5055-ssl-default-ssl-certificate-verify-failed-custom-action/45484>\
**Category:** Rasa Open Source\
**Created:** [July 7, 2021, 2:42pm UTC](https://forum.rasa.com/t/rasa-cannot-connect-to-host-https-localhost-5055-ssl-default-ssl-certificate-verify-failed-custom-action/45484 "2021-07-07T14:42:26Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaidehi16](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@vaidehi16](https://forum.rasa.com/u/vaidehi16)\
**Post date:** [July 7, 2021, 2:42pm UTC](https://forum.rasa.com/t/rasa-cannot-connect-to-host-https-localhost-5055-ssl-default-ssl-certificate-verify-failed-custom-action/45484/1 "2021-07-07T14:42:26Z")

</div>

Hi,

I am running my rasa server on [https://localhost:5005](https://localhost:5005) with ssl certificate. Its running fine… But, when I am trying to run the custom action server with https version i.e. with ssl certificate, the call from rasa server isn’t made.

**Command on rasa server :**

python -m rasa run --m ./models --endpoints endpoints.yml -vv --enable-api --cors “\*” --ssl-certificate \<.crt file\> --ssl-keyfile

**endpoints.yml file:**

action\_endpoint: url: “[https://localhost:5055/webhook](https://localhost:5055/webhook)”

**Command to start action server:**

python -m rasa run actions cors “\*” --ssl-certificate \<.crt file\> --ssl-keyfile

on action server i also get,

**2021-07-07 10:49:05 INFO rasa\_sdk.endpoint - Action endpoint is up and running on [https://localhost:5055](https://localhost:5055)**

but no logs after this on action server

& error on rasa server is Rasa cannot connect to host [https://localhost:5050](https://localhost:5050) ssl:default ssl certificate verify failed custom action

PLease help resolve!

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 7, 2021, 2:59pm UTC](https://forum.rasa.com/t/rasa-cannot-connect-to-host-https-localhost-5055-ssl-default-ssl-certificate-verify-failed-custom-action/45484/2 "2021-07-07T14:59:36Z")

</div>

@vaidehi16 have used --debug?

---

<div class="post-metadata">

**Author:** ![vaidehi16](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@vaidehi16](https://forum.rasa.com/u/vaidehi16)\
**Post date:** [July 7, 2021, 3:06pm UTC](https://forum.rasa.com/t/rasa-cannot-connect-to-host-https-localhost-5055-ssl-default-ssl-certificate-verify-failed-custom-action/45484/4 "2021-07-07T15:06:43Z")

</div>

yes @nik202

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 7, 2021, 3:10pm UTC](https://forum.rasa.com/t/rasa-cannot-connect-to-host-https-localhost-5055-ssl-default-ssl-certificate-verify-failed-custom-action/45484/5 "2021-07-07T15:10:20Z")

</div>

> [@vaidehi16](#):
>
> 2021-07-07 10:49:05 INFO rasa\_sdk.endpoint - Action endpoint is up and running on [https://localhost:5055](https://localhost:5055)

@vaidehi16 try run without ssl first with the command` rasa run actions -vv` and check are you able to see the logs?@vaidehi16 Are you using Docker?

---

<div class="post-metadata">

**Author:** ![vaidehi16](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@vaidehi16](https://forum.rasa.com/u/vaidehi16)\
**Post date:** [July 7, 2021, 3:15pm UTC](https://forum.rasa.com/t/rasa-cannot-connect-to-host-https-localhost-5055-ssl-default-ssl-certificate-verify-failed-custom-action/45484/6 "2021-07-07T15:15:06Z")

</div>

yes with http, I am getting logs & also responses on bot…No I am not using docker

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 7, 2021, 3:25pm UTC](https://forum.rasa.com/t/rasa-cannot-connect-to-host-https-localhost-5055-ssl-default-ssl-certificate-verify-failed-custom-action/45484/7 "2021-07-07T15:25:06Z")

</div>

@vaidehi16 Ok, Got it.

This will solve all your queries [Deploying Rasa Chatbot on Google Cloud with Docker - DataHive DataHive Labs](https://datahive.ai/deploying-rasa-chatbot-on-google-cloud-with-docker/)

Do informed me if you able to run. Do check the related process only, nginx is preferred solution.

Good Luck!!

---

<div class="post-metadata">

**Author:** ![vaidehi16](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@vaidehi16](https://forum.rasa.com/u/vaidehi16)\
**Post date:** [July 7, 2021, 3:33pm UTC](https://forum.rasa.com/t/rasa-cannot-connect-to-host-https-localhost-5055-ssl-default-ssl-certificate-verify-failed-custom-action/45484/8 "2021-07-07T15:33:47Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/8/8795f9486d84f3e91c13461f2ea391850dd1db1f.png)

Page not found

---

<div class="post-metadata">

**Author:** ![vaidehi16](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@vaidehi16](https://forum.rasa.com/u/vaidehi16)\
**Post date:** [July 7, 2021, 3:38pm UTC](https://forum.rasa.com/t/rasa-cannot-connect-to-host-https-localhost-5055-ssl-default-ssl-certificate-verify-failed-custom-action/45484/9 "2021-07-07T15:38:07Z")

</div>

also @nik202 ,

i am running this rasa server on a server already…(can’t specify the IP due to security reasons)…still i should use nginx ?

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 25, 2021, 9:28pm UTC](https://forum.rasa.com/t/rasa-cannot-connect-to-host-https-localhost-5055-ssl-default-ssl-certificate-verify-failed-custom-action/45484/10 "2021-07-25T21:28:41Z")

</div>

@vaidehi16 I am sorry, for the link [Deploying Rasa Chatbot on Google Cloud with Docker - DataHive DataHive Labs](https://datahive.ai/deploying-rasa-chatbot-on-google-cloud-with-docker/) hope this link you able to see.

---

<div class="post-metadata">

**Author:** ![vaidehi16](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@vaidehi16](https://forum.rasa.com/u/vaidehi16)\
**Post date:** [July 27, 2021, 2:41pm UTC](https://forum.rasa.com/t/rasa-cannot-connect-to-host-https-localhost-5055-ssl-default-ssl-certificate-verify-failed-custom-action/45484/11 "2021-07-27T14:41:56Z")

</div>

hi @nik202 , I am not using docker… I am using REST API & hosting bot on website
