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

Hi,

I am running my rasa server on 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

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

but no logs after this on action server

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

PLease help resolve!

Thanks in advance!

@vaidehi16 have used --debug?

yes @nik202

@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?

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

@vaidehi16 Ok, Got it.

This will solve all your queries Deploying Rasa Chatbot on Google Cloud with Docker - DataHive DataHive Labs

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

Good Luck!!

Page not found

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 ?

@vaidehi16 I am sorry, for the link Deploying Rasa Chatbot on Google Cloud with Docker - DataHive DataHive Labs hope this link you able to see.

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