rasa shell --debug
(venv) C:\Users\fatima\test\rasabot>rasa shell --debug
2021-09-14 11:51:22 DEBUG rasa.model - Extracted model to ‘C:\Users\FATIMA\AppData\Local\Temp\tmp_hocdlp8’.
2021-09-14 11:51:22 DEBUG rasa.cli.utils - Parameter ‘endpoints’ not set. Using default location ‘endpoints.yml’ instead.
2021-09-14 11:51:22 DEBUG rasa.cli.utils - Parameter ‘credentials’ not set. Using default location ‘credentials.yml’ instead.
2021-09-14 11:51:22 DEBUG rasa.model - Extracted model to ‘C:\Users\FATIMA\AppData\Local\Temp\tmphomf2_fo’.
2021-09-14 11:51:31 INFO absl - Entry Point [tensor2tensor.envs.tic_tac_toe_env:TicTacToeEnv] registered with id [T2TEnv-TicTacToeEnv-v0]
2021-09-14 11:51:32 DEBUG sanic.root - CORS: Configuring CORS with resources: {’/’: {‘origins’: [’’], ‘methods’: ‘DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT’, ‘allow_headers’: [’.’], ‘expose_headers’: None, ‘supports_credentials’: False, ‘max_age’: None, ‘send_wildcard’: False, ‘automatic_options’: True, ‘vary_header’: True, ‘resources’: {’/*’: {‘origins’: ‘’}}, ‘intercept_exceptions’: True, ‘always_send’: True}}
2021-09-14 11:51:32 DEBUG rasa.core.utils - Available web server routes:
/webhooks/rest GET custom_webhook_CmdlineInput.health
/webhooks/rest/webhook POST custom_webhook_CmdlineInput.receive
/ GET hello
2021-09-14 11:51:32 INFO root - Starting Rasa server on http://localhost:5005
2021-09-14 11:51:32 INFO root - Enabling coroutine debugging. Loop id 2623413473416.
2021-09-14 11:51:32 DEBUG rasa.model - Extracted model to ‘C:\Users\FATIMA\AppData\Local\Temp\tmp3me2plgm’.
2021-09-14 11:51:39 INFO rasa.nlu.components - Added ‘SpacyNLP’ to component cache. Key ‘SpacyNLP-fr’.
2021-09-14 11:51:40 DEBUG rasa.core.tracker_store - Connected to InMemoryTrackerStore.
2021-09-14 11:51:40 DEBUG rasa.core.lock_store - Connected to lock store ‘InMemoryLockStore’.
2021-09-14 11:51:40 DEBUG rasa.model - Extracted model to ‘C:\Users\FATIMA\AppData\Local\Temp\tmprm7mhkq_’.
2021-09-14 11:51:40 DEBUG pykwalify.compat - Using yaml library: C:\Users\fatima\Anaconda3\envs\venv\lib\site-packages\ruamel\yaml_init_.py
2021-09-14 11:51:42 INFO rasa.core.policies.ensemble - MappingPolicy not included in policy ensemble. Default intents 'restart and back will not trigger actions ‘action_restart’ and ‘action_back’.
Bot loaded. Type a message and press enter (use ‘/stop’ to exit):
Your input → 00
2021-09-14 11:51:48 DEBUG rasa.core.tracker_store - Creating a new tracker for id ‘default’.
2021-09-14 11:51:48 DEBUG rasa.core.processor - Received user message ‘00’ with intent ‘{‘name’: ‘menu’, ‘confidence’: 1.0}’ and entities ‘[]’
2021-09-14 11:51:48 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 2 events
2021-09-14 11:51:49 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, None, {}, {‘intent_menu’: 1.0, ‘prev_action_listen’: 1.0}]
2021-09-14 11:51:49 DEBUG rasa.core.policies.memoization - There is a memorised next action ‘35’
2021-09-14 11:51:49 DEBUG rasa.core.policies.fallback - NLU confidence threshold met, confidence of fallback action set to core threshold (0.3).
2021-09-14 11:51:49 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_1_AugmentedMemoizationPolicy
2021-09-14 11:51:49 DEBUG rasa.core.processor - Predicted next action ‘action_menu’ with confidence 1.00.
2021-09-14 11:51:49 DEBUG rasa.core.actions.action - Calling action endpoint to run action ‘action_menu’.
2021-09-14 11:51:53 ERROR rasa.core.actions.action - Failed to run custom action ‘action_menu’. Couldn’t connect to the server at ‘http://localhost:5055/webhook’. Is the server running? Error: Cannot connect to host localhost:5055 ssl:default [Connect call failed (‘127.0.0.1’, 5055)]
2021-09-14 11:51:53 ERROR rasa.core.processor - Encountered an exception while running action ‘action_menu’. Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.
2021-09-14 11:51:53 DEBUG rasa.core.processor - Failed to execute custom action.
Traceback (most recent call last):
File “C:\Users\fatima\Anaconda3\envs\venv\lib\site-packages\aiohttp\connector.py”, line 969, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa
File “C:\Users\fatima\Anaconda3\envs\venv\lib\asyncio\base_events.py”, line 958, in create_connection
raise exceptions[0]
File “C:\Users\fatima\Anaconda3\envs\venv\lib\asyncio\base_events.py”, line 945, in create_connection
await self.sock_connect(sock, address)
File “C:\Users\fatima\Anaconda3\envs\venv\lib\asyncio\selector_events.py”, line 473, in sock_connect
return await fut
File “C:\Users\fatima\Anaconda3\envs\venv\lib\asyncio\selector_events.py”, line 503, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
ConnectionRefusedError: [Errno 10061] Connect call failed (‘127.0.0.1’, 5055)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “C:\Users\fatima\Anaconda3\envs\venv\lib\site-packages\rasa\core\actions\action.py”, line 457, in run
json=json_body, method=“post”, timeout=DEFAULT_REQUEST_TIMEOUT
File “C:\Users\fatima\Anaconda3\envs\venv\lib\site-packages\rasa\utils\endpoints.py”, line 144, in request
**kwargs
File “C:\Users\fatima\Anaconda3\envs\venv\lib\site-packages\aiohttp\client.py”, line 1117, in aenter
self._resp = await self._coro
File “C:\Users\fatima\Anaconda3\envs\venv\lib\site-packages\aiohttp\client.py”, line 521, in _request
req, traces=traces, timeout=real_timeout
File “C:\Users\fatima\Anaconda3\envs\venv\lib\site-packages\aiohttp\connector.py”, line 535, in connect
proto = await self._create_connection(req, traces, timeout)
File “C:\Users\fatima\Anaconda3\envs\venv\lib\site-packages\aiohttp\connector.py”, line 892, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File “C:\Users\fatima\Anaconda3\envs\venv\lib\site-packages\aiohttp\connector.py”, line 1051, in _create_direct_connection
raise last_exc
File “C:\Users\fatima\Anaconda3\envs\venv\lib\site-packages\aiohttp\connector.py”, line 1032, in _create_direct_connection
client_error=client_error,
File “C:\Users\fatima\Anaconda3\envs\venv\lib\site-packages\aiohttp\connector.py”, line 975, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host localhost:5055 ssl:default [Connect call failed (‘127.0.0.1’, 5055)]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “C:\Users\fatima\Anaconda3\envs\venv\lib\site-packages\rasa\core\processor.py”, line 468, in _run_action
events = await action.run(output_channel, nlg, tracker, self.domain)
File “C:\Users\fatima\Anaconda3\envs\venv\lib\site-packages\rasa\core\actions\action.py”, line 487, in run
raise Exception(“Failed to execute custom action.”)
Exception: Failed to execute custom action.
2021-09-14 11:51:53 DEBUG rasa.core.processor - Action ‘action_menu’ ended with events ‘[]’
2021-09-14 11:51:53 DEBUG rasa.core.processor - Current slot values:
index: None
suggestion_en_1: None
suggestion_en_2: None
suggestion_en_3: None
suggestion_en_4: None
suggestion_fr_1: None
suggestion_fr_2: None
suggestion_fr_3: None
suggestion_fr_4: None
2021-09-14 11:51:53 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, {}, {‘intent_menu’: 1.0, ‘prev_action_listen’: 1.0}, {‘intent_menu’: 1.0, ‘prev_action_menu’: 1.0}]
2021-09-14 11:51:53 DEBUG rasa.core.policies.memoization - There is a memorised next action ‘0’
2021-09-14 11:51:53 DEBUG rasa.core.policies.fallback - NLU confidence threshold met, confidence of fallback action set to core threshold (0.3).
2021-09-14 11:51:53 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_1_AugmentedMemoizationPolicy
2021-09-14 11:51:53 DEBUG rasa.core.processor - Predicted next action ‘action_listen’ with confidence 1.00.
2021-09-14 11:51:53 DEBUG rasa.core.processor - Action ‘action_listen’ ended with events ‘[]’
2021-09-14 11:51:53 DEBUG rasa.core.lock_store - Deleted lock for conversation ‘default’.
Your input →
rasa run actions -p 5055 --debug
(venv) C:\Users\fatima\test\rasabot>rasa run actions -p 5055 --debug
C:\Users\fatima\Anaconda3\envs\venv\lib\importlib_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
return f(*args, **kwds)
C:\Users\fatima\Anaconda3\envs\venv\lib\importlib_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
return f(*args, **kwds)
C:\Users\fatima\Anaconda3\envs\venv\lib\importlib_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
return f(*args, **kwds)
C:\Users\fatima\Anaconda3\envs\venv\lib\importlib_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
return f(*args, **kwds)
C:\Users\fatima\Anaconda3\envs\venv\lib\importlib_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
return f(*args, **kwds)
C:\Users\fatima\Anaconda3\envs\venv\lib\importlib_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
return f(*args, **kwds)
2021-09-14 12:11:26 INFO rasa_sdk.endpoint - Starting action endpoint server…
C:\Users\fatima\Anaconda3\envs\venv\lib\site-packages\fuzzywuzzy\fuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
warnings.warn(‘Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning’)
2021-09-14 12:11:27 INFO rasa_sdk.executor - Registered function for ‘action_menu’.
2021-09-14 12:11:27 INFO rasa_sdk.executor - Registered function for ‘action_account_options’.
2021-09-14 12:11:27 INFO rasa_sdk.executor - Registered function for
‘action_account_balance’.
2021-09-14 12:11:27 INFO rasa_sdk.executor - Registered function for ‘action_account_details’.
(venv) C:\Users\fatima\test\rasabot>
action_menu is mentioned in domain.yml
there is many other actions there, but i only showed few, as exemples