Running Rasa servers on Windows 10?

Where am I supposed to run the Rasa server to execute custom actions while running Windows 10?

I’m able to use the rasa train, rasa interactive, and rasa shell commands for very simple domains on Anaconda Prompt, but if I try to use rasa shell command on any domain that includes any custom actions, even just action_hello_world, then I get an error message saying that no server is running. If I open a new window of Anaconda Prompt and use it to execute the rasa run command to run a Rasa server, then the server appears to initialize correctly, but then the server just sits there and does not accept any inputs. If I try to go back to the first window of Anaconda Prompt and run rasa shell again, I get an error message saying that I can’t have more than one instance of Rasa running at the same time.

So it seems like I’m blocked either way – if I run the server, it stops me from working with the Rasa model, and if I don’t run the server, it stops me from running any actions within my Rasa model.

I assume part of the problem is that I’m not supposed to be using Anaconda Prompt as my command line. What should I be using instead?

hey

using anaconda prompt as command line is not the problem for custom action, you need to run action server separately along with rasa server

To run rasa action server: rasa run actions To run rasa action server in debug mode: rasa run actions -vv To run rasa server in debug mode: rasa run -m models --debug

I hope it helps you

1 Like

Thanks so much for writing back! It was really valuable to see the exact command written out in full; I had been typing just rasa run, but I needed to type rasa run actions. Seeing the way you typed out rasa run actions helped me realize where the mistake was.

Hi, I have initially a similar problem, But i wanted to know how you turn off the server. I am using Git Bash on windows 10 and I am not sure why i can not turn of the run actions server. I tried ctrl + c, ctrl + v, ctrl + x, ctrl + z but the server is still running. Someone suggested using ctrl + break/pause but my keyboard does not have this key so I am not able to make it work. I would appreciate the Help. Thank you