-
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
Timeout error on rasa shell #4606
Comments
same problem on |
This is due to rasa/rasa/core/channels/console.py Line 101 in f950f7c
For me the question is, why is the action running so long? |
Please check this thread, in which i am calling an action for http connection. |
It' because default time out (10 seconds) is not enough for your action to be executed. Increasing the default timeout in "/rasa/core/channels/console.py" file, line 22 might help solving problem. Or you can check which makes the action taking time as @wochinge comment and optimize the executing time. |
@ravikrcs Can you mock the human handoff server for the |
I meant if you can replace the handoff interaction for testing the bot with something which returns an answer immediately? As a workaround you could also use the |
Yes @wochinge , |
mhm, ok, then let's
|
Is there any update or workaround for this issue? |
A workaround for now would be to not use |
I'm having the same issue. We use |
I get the same issue here! Any update? |
@jutinguely This is still on our todo list. If you want, you can also pick it up? I'd be happy to give you feedback / support you on the way. |
Did you already do that? Because I could adjust the default stream time to 25 seconds in console.py file:
But my big question is can I adjust this default stream error time on RASA-X as well? @wochinge Because I really need to share my bot for my Masterthesis asap and I think it's the last step, from preventing me to do so! |
Rasa X communicates with Rasa Open Source in a different way, so you should be good
No, we haven't done it yet. |
Just bumped into the same issue with I had to override It would be fantastic to be able to set
|
Got a similar problem when I start a bot in rest-mode with rasa==1.9.5
My action calls another REST-service and does several retries when it fails. This may take some. I could of course change this, but it would be way more convenient to have a configurable timeout. And also a possibility to inform the user somehow, see #5588 |
I made a PR to fix this: #5686 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. Please create a new issue if you need more help. |
pip install google-auth==1.10.1 pip install prompt-toolkit==2.0.10 pip install questionary==1.4.0 pip install SQLAlchemy==1.3.12 pip install urllib3==1.25.7 this worked for me. Thanks to Nik. |
Rasa version: 1.3.9
Python version: 3.6
Issue:
https://forum.rasa.com/t/timeout-error-on-rasa-shell/19638
Error can be reproduced on
examples/restaurantbot
. Add atime.sleep(15)
to any action and run the bot.Error (including full traceback):
Command or request that led to error:
The text was updated successfully, but these errors were encountered: