Rasa action server not starting with rasa shell command

Upgraded the project to 1.0 now and as per the documentation rasa actions server should supposed to start on running “rasa shell” command but its not

Also, checked the http://localhost:5055/health no response

im getting error,

2019-05-28 16:04:17 ERROR    rasa.core.actions.action  - Failed to run custom action 'action_joke'. Couldn't connect to the server at 'http://localhost:5055/webhook'. Is the server running? Error: Cannot connect to host localhost:5055 ssl:None [Connection refused]

I also moved the actions.py to [projectfolder]/actions/actions.py but no luck

Please help

Thanks

Hi @karthikbalu! If you can point me to where in the docs you saw that rasa shell allows you to run the action server, I would love to fix that.

If your actions are defined in a file called actions.py, you actually need to run this command:

rasa run actions

You can find it in the docs here.

I also think you will want to leave actions.py in your project folder.

This is the link

rasa shell

The command above will start the action server and load your assistant for you to test

Also the directory structure image is not very accurate

1 Like

@karthikbalu Thank you for noticing that and letting us know. It has been fixed! The directory structure should be correct after running rasa init --no-prompt, which matches the directory structure in the image