question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest version freezes when trying to run actions server

See original GitHub issue

Rasa version: 1.5.3

Rasa SDK version (if used & relevant): 1.5.2

Python version: 3.6.9 (Anaconda)

Operating system (windows, osx, …): RHEL 7 (CentOs) - Running on a Dell XPS i7 with 16Gb RAM

Issue: When I issue “rasa run actions”, I get a list of functions, but no line stating that the action server is runner on port 5055. If I try and access the action endpoint, it timeouts. The last version I tested where it ran correctly was 1.4.6 (Python 3.6.9)

Error (including full traceback): No error message… The computer just freezes. Ctrl-C interrupts the script.

$ rasa run actions --debug
2019-12-13 09:22:37 INFO     rasa_sdk.endpoint  - Starting action endpoint server...
2019-12-13 09:22:37 INFO     rasa_sdk.executor  - Registered function for 'action_get_valor_registro'.
2019-12-13 09:22:37 INFO     rasa_sdk.executor  - Registered function for 'action_get_valor_averbacao'.
2019-12-13 09:22:37 INFO     rasa_sdk.executor  - Registered function for 'action_get_cartorio_registral'.
2019-12-13 09:22:37 INFO     rasa_sdk.executor  - Registered function for 'action_saudacao'.
2019-12-13 09:22:37 INFO     rasa_sdk.executor  - Registered function for 'registro_form'.
2019-12-13 09:22:37 INFO     rasa_sdk.executor  - Registered function for 'averbacao_form'.
2019-12-13 09:22:37 INFO     rasa_sdk.executor  - Registered function for 'cartorio_form'.
2019-12-13 09:22:37 DEBUG    rasa_sdk.utils  - Using the default number of Sanic workers (1).

This is the last message that appears until Ctrl-C is entered. When I press Ctrl-C, I just get a ^C and prompt. No traceback.

Here’s the output from top, ordered by PID descending:

top - 09:37:11 up 2 days, 31 min,  3 users,  load average: 0,00, 0,01, 0,12
Tasks: 286 total,   1 running, 285 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0,0 us,  0,1 sy,  0,0 ni, 99,8 id,  0,1 wa,  0,0 hi,  0,0 si,  0,0 st
KiB Mem : 16214800 total,  4038896 free,  1476516 used, 10699388 buff/cache
KiB Swap:  8191996 total,  8191996 free,        0 used. 13883652 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
32004 root      20   0       0      0      0 S   0,0  0,0   0:00.17 kworker/u16:1
30612 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kworker/7:2
30490 root      20   0       0      0      0 S   0,0  0,0   0:01.60 kworker/3:2
25633 root      20   0       0      0      0 S   0,0  0,0   0:00.71 kworker/5:0
25622 root      20   0       0      0      0 S   0,0  0,0   0:00.65 kworker/1:1
23666 root      20   0       0      0      0 S   0,0  0,0   0:02.81 kworker/7:0
23648 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kworker/2:2
21771 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kworker/2:0
21770 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kworker/4:0
21769 root      20   0  107956    348    280 S   0,0  0,0   0:00.00 sleep
21752 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kworker/7:1
21735 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kworker/3:3
21718 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kworker/0:1
21717 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kworker/2:1
21711 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kworker/4:2
21698 xxxxxx    20   0 1992720 257996  79124 S   0,0  1,6   0:02.07 rasa
21406 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kworker/5:1
20325 xxxxxx    20   0  162316   2568   1612 R   0,7  0,0   0:01.86 top

Command or request that led to error:

rasa run actions --debug

Content of configuration file (config.yml) (if relevant):


Content of domain file (domain.yml) (if relevant):


Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
YunLovesCodecommented, Jun 1, 2020

It was just a log message that was removed in Rasa 1.5. The action server was runnning and responding correctly. Okay, thanks!

1reaction
erohmensingcommented, Dec 16, 2019

It seems like that log was removed: https://github.com/RasaHQ/rasa-sdk/commit/755ef54bf60b74061f5ae7d7e36a76cbf3de219d

which is why you’re not seeing it. If you like, you can create a PR to bring it back. Have you tried to check whether the action server is actually running? if you run it on debug mode do you see it receiving calls to the actions?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows-based computer freeze troubleshooting
Press Ctrl+Alt+Delete and check the response. Try to use Windows remote administration tools. For example, Computer Management, Server Manager, ...
Read more >
visual studio 2022 hangs randomly - Visual Studio Feedback
Visual Studio 2022 version 17.10 hangs very often for no reason, ... Reopened the same project in a new VS instance, performed the...
Read more >
Resolve Acrobat intermittent crashes on Windows
How to fix intermittent Adobe Acrobat crashes on Windows. ... Solution 1: Update Acrobat to the latest version. Launch Acrobat.
Read more >
How to fix Fortnite crash and technical issues - Epic Games
Check for game updates​​ Be sure to update your game or apps to the latest versions. Game updates can be either automatically or...
Read more >
Firefox hangs or is not responding - How to fix
For example, Firefox may hang at startup or fail to load any content when Webroot SecureAnywhere is installed and enabled (this was fixed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found