jessoares
(JoĂŁo Seffrin)
April 14, 2022, 6:44am
1
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
itsjhonny
(JoĂŁo Pedro GuimarĂŁes)
April 14, 2022, 1:02pm
3
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}
ChrisRahme
(Chris Rahmé)
April 14, 2022, 4:47pm
4
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.
itsjhonny
(JoĂŁo Pedro GuimarĂŁes)
April 14, 2022, 5:10pm
5
@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
ChrisRahme
(Chris Rahmé)
April 14, 2022, 5:18pm
6
My bad, you’re right, I got confused with &&
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
itsjhonny
(JoĂŁo Pedro GuimarĂŁes)
April 14, 2022, 5:25pm
7
I didn’t know windows working different for x & y
or x && y
Thank
1 Like
jessoares
(JoĂŁo Seffrin)
April 15, 2022, 5:23am
8
Indeed @ChrisRahme , i was expecting the command to run as it would in Linux, your explanation cleared things up. Thank you guys
1 Like