-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple sequential actions cause asyncio TimeoutError #4381
Comments
When I change story to:
and don't use custom actions, it works properly:
|
Original story and using
it also works properly. There is probably problem between rasa sdk and shell. |
It looks like it could be a bug. |
@msamogh Did you manage to reproduce it? Could you please label the issue accordingly? |
@msamogh What's the state on this? Could you reproduce it? |
@wochinge No, I was not able to reproduce this with this example, but I remember experiencing it when using |
well, that also makes sense right? 😄 |
Okay I wasn't sure if that was expected behavior. If it is, then no, I was not able to reproduce this. |
Ah, I think it found the problem. @tocosastalo Could it be that these 5 actions run for longer than 10 seconds? Then there is indeed a timeout which is triggered. We could set that higher, but not sure how relevant that is since a bot should respond in < 10 seconds? That's the part in the code which causes the behavior rasa/rasa/core/channels/console.py Line 20 in 7a2b7c2
|
@wochinge yes you are right. Timeout is triggered after 10 seconds. I am using several actions in a sequence in specific cases (for example, if I need to differentiate whether the user has done this intent before (and ask whether use previous result) or whether slots in action have been set, ...):
But I don't mind, because it looks like it works in another channel (I use console channel only for debugging). |
@tocosastalo But did you check the runtime of your actions? If 5 actions take 10 seconds, then it's also quite bad for the users with the other channels and I'd suggest checking if you can make that somehow more efficient. |
I would say that generally Returning to the beginning of the issue, the action was as simple as it could have been - it utters one text-only template:
Story was also very simple:
And it hit the timeout limit in |
I'm having same issue using shell. So should I ignore shell and just use run for testing? |
@ShaunHolt This is related to #4606 . There will be fix in the next release #5686 |
Thank you. I am enjoying Rasa. A wonderful learning experience.
Get Outlook for Android
On Mon, Apr 27, 2020 at 2:52 AM -0400, "Tobias Wochinger" <[email protected]> wrote:
@ShaunHolt This is related to #4606 . There will be fix in the next release #5686
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Rasa version: 1.2.4
Rasa SDK version: 1.2.0
Python version: Python 3.6.9 (Anaconda 4.5.13)
Operating system : Win10, 64bit
Issue:
Multiple sequential actions (I would say 4 and more) in row in one story lead to
Task exception was never retrieved
error (see traceback).Story:
Action:
Command or request that led to error:
Error (including full traceback):
Rasa SDK output (if needed):
The text was updated successfully, but these errors were encountered: