Rara Run Actions stuck on "Action endpoint is up and running on http://0.0.0.0:5055"

Hello. I am trying to load my assistant and test it using " rasa run actions & rasa shell nlu" but it seems stuck on " Action endpoint is up and running on http://0.0.0.0:5055"

I am using Rasa version 3.0 and my OS is Windows 10. Any help would be greatly appreciated.

@jessoares You have to run both commands in separate terminals

one with rasa run actions and other one with rasa shell nlu

Yeahh, but you can run together too using & or create an shell script

@jessoares Everything working here. Tested in rasa 2.8 and rasa 3.1

this is my command (Linux/Mac) i think windows dont have “kill”, just remove it

kill -9 $(lsof -t -i:5055) & kill -9 $(lsof -t -i:5005) & rasa run actions & rasa shell nlu
rasa run actions -p 5014 & rasa x --rasa-x-port 5015 --no-prompt --enable-api -p 5013 --log-file rasa.log  --cors "*" -t ${RASA_TOKEN}

The command x & y means "run x and then if it succeeds run y.

Of course, if x is rasa run actions, it will never end (because it needs to stay up), so y which is rasa shell nlu will never happen.

@ChrisRahme i think & running independent has any success

  • &&: command after && is executed if, and only if, command before && returns an exit status of zero. You can think of it as AND operator.

  • &: the shell executes the command terminated by & in the background, does not wait for the command to finish and immediately returns exit code 0

1 Like

My bad, you’re right, I got confused with && :slight_smile:

But in any case, on Windows, whether it’s x & y or x && y, y will only execute after x finishes. What you were describing is their behavior on Linux, but OP is using Windows.

2 Likes

I didn’t know windows working different for x & y or x && y

Thank :blush:

1 Like

Indeed @ChrisRahme, i was expecting the command to run as it would in Linux, your explanation cleared things up. Thank you guys :slightly_smiling_face:

1 Like