Error running rasa x - <Future at 0x2b5686c4400 state=finished raised gaierror> on Windows

@anshal any issue with bot use conversation? please read the above solution again.

@nik202 how can i delete all previous trained model i tried re train but it is still showing the error

@anshal check the project folder and in that model or in rasa x GUI you will find training.

If you don’t mind when did you start working on rasa or rasa x?

@nik202 i am working from two weeks

@anshal ok.

@nik202 it is still not working

@nik202 i need help just setting up my rasa x

I got only the issues seen in the following figure

you not answered my question? its just an warning.

@anshal share me the error screenshot on your main thread.

@nik202 Hi, i sent the screenshot yesterday. However it is placed on the wrong place :slightly_smiling_face: here the screenshot again. Thank you for your fantastic help.

As I wrote you before. After executing Rasa X I got the errors which can be seen in first figure.

And during chatting I got only the issues which can be seen in the second figure.

the overall output after execution of Rasa x can be seen in the following figures. Is that a big problem or these errors in first figure can be ignored. ? here also a copy of traceback

(Inv5) C:\Users\louis\Work\TH_Koeln\MDZ\04_AO\05_Projekte\01_Chatbot\Rasa_Projects\Beispiele\Example3>rasa x Starting Rasa X in local mode… :rocket: C:\ProgramData\Anaconda3\envs\Inv5\lib\site-packages\rasa\shared\utils\io.py:97: UserWarning: Issue found in ‘C:\Users\User\AppData\Local\Temp\tmpwjiczy9x’: Found intent ‘greet’ in stories which is not part of the domain. More info at Stories C:\ProgramData\Anaconda3\envs\Inv5\lib\site-packages\rasa\shared\utils\io.py:97: UserWarning: Issue found in ‘C:\Users\User\AppData\Local\Temp\tmpwjiczy9x’: Found intent ‘mood_great’ in stories which is not part of the domain. More info at Stories C:\ProgramData\Anaconda3\envs\Inv5\lib\site-packages\rasa\shared\utils\io.py:97: UserWarning: Issue found in ‘C:\Users\User\AppData\Local\Temp\tmpwjiczy9x’: Found intent ‘goodbye’ in stories which is not part of the domain. More info at Stories C:\ProgramData\Anaconda3\envs\Inv5\lib\site-packages\rasa\shared\utils\io.py:97: UserWarning: Issue found in ‘C:\Users\User\AppData\Local\Temp\tmpwjiczy9x’: Found intent ‘mood_unhappy’ in stories which is not part of the domain. More info at Stories C:\ProgramData\Anaconda3\envs\Inv5\lib\site-packages\rasa\shared\utils\io.py:97: UserWarning: Issue found in ‘C:\Users\User\AppData\Local\Temp\tmpwjiczy9x’: Found intent ‘affirm’ in stories which is not part of the domain. More info at Stories C:\ProgramData\Anaconda3\envs\Inv5\lib\site-packages\rasa\shared\utils\io.py:97: UserWarning: Issue found in ‘C:\Users\User\AppData\Local\Temp\tmpwjiczy9x’: Found intent ‘deny’ in stories which is not part of the domain. More info at Stories C:\ProgramData\Anaconda3\envs\Inv5\lib\site-packages\rasa\shared\utils\io.py:97: UserWarning: Issue found in ‘C:\Users\User\AppData\Local\Temp\tmpwjiczy9x’: Found intent ‘bot_challenge’ in stories which is not part of the domain. More info at Stories C:\ProgramData\Anaconda3\envs\Inv5\lib\site-packages\rasa\shared\utils\io.py:97: UserWarning: Issue found while processing ‘’: The item ‘Service’ contains an example that doesn’t start with a ‘-’ symbol: This training example will be skipped. More info at Training Data Format C:\ProgramData\Anaconda3\envs\Inv5\lib\site-packages\rasa\shared\utils\io.py:97: UserWarning: Issue found while processing ‘’: The item ‘Realisierung’ contains an example that doesn’t start with a ‘-’ symbol: This training example will be skipped. More info at Training Data Format 2022-04-28 11:35:58 WARNING rasax.community.services.insights.insight_service - No local evaluation result files found. 2022-04-28 11:36:00 ERROR concurrent.futures - exception calling callback for <Future at 0x22d78cfd820 state=finished raised gaierror> Traceback (most recent call last): File “C:\ProgramData\Anaconda3\envs\Inv5\lib\concurrent\futures\thread.py”, line 57, in run result = self.fn(*self.args, **self.kwargs) File “C:\ProgramData\Anaconda3\envs\Inv5\lib\socket.py”, line 918, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “C:\ProgramData\Anaconda3\envs\Inv5\lib\concurrent\futures_base.py”, line 328, in _invoke_callbacks callback(self) File “C:\ProgramData\Anaconda3\envs\Inv5\lib\asyncio\futures.py”, line 374, in _call_set_state dest_loop.call_soon_threadsafe(_set_state, destination, source) File “C:\ProgramData\Anaconda3\envs\Inv5\lib\asyncio\base_events.py”, line 764, in call_soon_threadsafe self._check_closed() File “C:\ProgramData\Anaconda3\envs\Inv5\lib\asyncio\base_events.py”, line 508, in _check_closed raise RuntimeError(‘Event loop is closed’) RuntimeError: Event loop is closed 2022-04-28 11:36:00 ERROR concurrent.futures - exception calling callback for <Future at 0x22d78cfdd60 state=finished returned list> Traceback (most recent call last): File “C:\ProgramData\Anaconda3\envs\Inv5\lib\concurrent\futures_base.py”, line 328, in _invoke_callbacks callback(self) File “C:\ProgramData\Anaconda3\envs\Inv5\lib\asyncio\futures.py”, line 374, in _call_set_state dest_loop.call_soon_threadsafe(_set_state, destination, source) File “C:\ProgramData\Anaconda3\envs\Inv5\lib\asyncio\base_events.py”, line 764, in call_soon_threadsafe self._check_closed() File “C:\ProgramData\Anaconda3\envs\Inv5\lib\asyncio\base_events.py”, line 508, in _check_closed raise RuntimeError(‘Event loop is closed’) RuntimeError: Event loop is closed [2022-04-28 11:36:08 +0200] [7092] [INFO] Goin’ Fast @ http://0.0.0.0:5002 2022-04-28 11:36:08 INFO sanic.root - Goin’ Fast @ http://0.0.0.0:5002

The server is running at http://localhost:5002/login?username=me&password=1RiILFjvFPo4

[2022-04-28 11:36:09 +0200] [7092] [INFO] Starting worker [7092] 2022-04-28 11:36:09 INFO sanic.root - Starting worker [7092] 2022-04-28 11:36:10 ERROR asyncio - Task was destroyed but it is pending! task: <Task pending name=‘Task-8’ coro=<TCPConnector._resolve_host() running at C:\ProgramData\Anaconda3\envs\Inv5\lib\site-packages\aiohttp\connector.py:865> wait_for=<Future pending cb=[_chain_future.._call_check_cancel() at C:\ProgramData\Anaconda3\envs\Inv5\lib\asyncio\futures.py:360, <TaskWakeupMethWrapper object at 0x0000022D78CFDCA0>()]> cb=[TCPConnector._create_direct_connection..drop_exception() at C:\ProgramData\Anaconda3\envs\Inv5\lib\site-packages\aiohttp\connector.py:1002]> 2022-04-28 11:36:10 ERROR asyncio - Task was destroyed but it is pending! task: <Task pending name=‘Task-9’ coro=<TCPConnector._resolve_host() running at C:\ProgramData\Anaconda3\envs\Inv5\lib\site-packages\aiohttp\connector.py:865> wait_for=<Future pending cb=[_chain_future.._call_check_cancel() at C:\ProgramData\Anaconda3\envs\Inv5\lib\asyncio\futures.py:360, <TaskWakeupMethWrapper object at 0x0000022D78D02250>()]> cb=[TCPConnector._create_direct_connection..drop_exception() at C:\ProgramData\Anaconda3\envs\Inv5\lib\site-packages\aiohttp\connector.py:1002]> 2022-04-28 11:36:28 WARNING rasa.shared.utils.common - The UnexpecTED Intent Policy is currently experimental and might change or be removed in the future :microscope: Please share your feedback on it in the forum (http://forum.rasa.com) to help us make this feature ready for production. WARNING:rasax.community.services.event_consumers.event_consumer:Saving event failed due to an ‘IntegrityError’. This means that the event is already stored in the database. The event data was ‘{“sender_id”: “5a152f91ac28482c8f949d69c5733cd6”, “event”: “action”, “timestamp”: 1651138593.5450048, “name”: “action_listen”, “policy”: null, “confidence”: null, “action_text”: null, “hide_rule_turn”: false}’. (sqlite3.IntegrityError) UNIQUE constraint failed: conversation_event.conversation_id, conversation_event.timestamp, conversation_event.type_name [SQL: INSERT INTO conversation_event (conversation_id, type_name, timestamp, intent_name, action_name, slot_name, slot_value, policy, is_flagged, data, evaluation, rasa_environment) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)] [parameters: (‘5a152f91ac28482c8f949d69c5733cd6’, ‘action’, 1651138593.5450048, None, ‘action_listen’, None, None, None, 0, ‘{“sender_id”: “5a152f91ac28482c8f949d69c5733cd6”, “event”: “action”, “timestamp”: 1651138593.5450048, “name”: “action_listen”, “policy”: null, “confidence”: null, “action_text”: null, “hide_rule_turn”: false}’, None, ‘production’)] (Background on this error at: Error Messages — SQLAlchemy 1.3 Documentation)