Failed to run custom action 'lead_form_p1'. Couldn't connect to the server at 'http://localhost:5055/webhook'. Is the server running? Error: Cannot connect to host localhost:5055 ssl:default [Connect call failed ('127.0.0.1', 5055)]

rasa.core.actions.action - Failed to run custom action ‘lead_form_p1’. Couldn’t connect to the server at ‘http://localhost:5055/webhook’. Is the server running? Error: Cannot connect to host localhost:5055 ssl:default [Connect call failed (‘127.0.0.1’, 5055)] 2020-07-31 18:39:55 ERROR rasa.core.processor - Encountered an exception while running action ‘lead_form_p1’. Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.

Sounds like your action server is not running. Did you do the rasa run actions command.

If you think it’s running, it should respond to a curl request:

curl --location --request POST 'http://localhost:5055/webhook'

thanks @stephens