# Rasa X starting issues

**URL:** <https://forum.rasa.com/t/rasa-x-starting-issues/45743>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [July 14, 2021, 2:20pm UTC](https://forum.rasa.com/t/rasa-x-starting-issues/45743 "2021-07-14T14:20:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![BotEnthusiast](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@BotEnthusiast](https://forum.rasa.com/u/BotEnthusiast)\
**Post date:** [July 14, 2021, 2:20pm UTC](https://forum.rasa.com/t/rasa-x-starting-issues/45743/1 "2021-07-14T14:20:57Z")

</div>

Hey there

I have had some issues running rasa X. Even if I try to start a completely new “rasa init” project into rasa X, I get a Timeout issue. After typing “rasa x”, I get this exact error:

Starting Rasa X in local mode… 🚀2021-07-14 16:19:47 WARNING rasax.community.services.insights.insight\_service - No local evaluation result files found. 2021-07-14 16:19:49 ERROR concurrent.futures - exception calling callback for \<Future at 0x2023bded970 state=finished raised gaierror\> Traceback (most recent call last): File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\concurrent\futures\thread.py”, line 57, in run result = self.fn(\*self.args, \*\*self.kwargs) File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\socket.py”, line 914, 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:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\concurrent\futures\_base.py”, line 328, in \_invoke\_callbacks callback(self) File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\asyncio\futures.py”, line 371, in \_call\_set\_state dest\_loop.call\_soon\_threadsafe(\_set\_state, destination, source) File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\asyncio\base\_events.py”, line 756, in call\_soon\_threadsafe self.\_check\_closed() File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\asyncio\base\_events.py”, line 504, in \_check\_closed raise RuntimeError(‘Event loop is closed’) RuntimeError: Event loop is closed 2021-07-14 16:19:49 ERROR concurrent.futures - exception calling callback for \<Future at 0x2023bdedeb0 state=finished returned list\> Traceback (most recent call last): File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\concurrent\futures\_base.py”, line 328, in \_invoke\_callbacks callback(self) File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\asyncio\futures.py”, line 371, in \_call\_set\_state dest\_loop.call\_soon\_threadsafe(\_set\_state, destination, source) File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\asyncio\base\_events.py”, line 756, in call\_soon\_threadsafe self.\_check\_closed() File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\asyncio\base\_events.py”, line 504, in \_check\_closed raise RuntimeError(‘Event loop is closed’) RuntimeError: Event loop is closed Traceback (most recent call last): File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\site-packages\rasa\cli\x.py”, line 496, in run\_locally local.main( File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\site-packages\rasax\community\local.py”, line 257, in main common\_utils.run\_in\_loop(model\_service.discover\_models()) File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\site-packages\rasax\community\utils\common.py”, line 900, in run\_in\_loop return loop.run\_until\_complete(coro) File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\asyncio\base\_events.py”, line 608, in run\_until\_complete return future.result() File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\site-packages\rasax\community\services\model\_service.py”, line 821, in discover\_models await model\_service.discover\_models() File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\site-packages\rasax\community\services\model\_service.py”, line 147, in discover\_models await \_run\_loop(max\_retries, sleep\_in\_seconds) File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\site-packages\rasax\community\services\model\_service.py”, line 133, in \_run\_loop await self.\_discover\_models() File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\site-packages\rasax\community\services\model\_service.py”, line 185, in \_discover\_models minimum\_version = await self.\_retry\_fetching\_minimum\_compatible\_version() File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\site-packages\rasax\community\services\model\_service.py”, line 174, in \_retry\_fetching\_minimum\_compatible\_version minimum\_version = await self.minimum\_compatible\_version() File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\site-packages\rasax\community\services\model\_service.py”, line 160, in minimum\_compatible\_version  
info = await stack\_service.version() File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\site-packages\rasax\community\services\stack\_service.py”, line 92, in version response = await session.get( File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\site-packages\aiohttp\client.py”, line 619, in \_request break File “c:\users\digib\anaconda3\envs\rasa\_environment\_bt\lib\site-packages\aiohttp\helpers.py”, line 656, in **exit** raise asyncio.TimeoutError from None asyncio.exceptions.TimeoutError

Sorry, something went wrong (see error above). Make sure to start Rasa X with valid data and valid domain and config files. Please, also check any warnings that popped up. If you need help fixing the issue visit our forum: [http://forum.rasa.com/](http://forum.rasa.com/).

I don’t know what it is, neither what to do. Can someone help me?

Kind regards

---

<div class="post-metadata">

**Author:** ![BotEnthusiast](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@BotEnthusiast](https://forum.rasa.com/u/BotEnthusiast)\
**Post date:** [July 14, 2021, 2:22pm UTC](https://forum.rasa.com/t/rasa-x-starting-issues/45743/2 "2021-07-14T14:22:20Z")

</div>

My rasa version is 2.8.0 and rasa-x is 0.41.2, python 3.8.0

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 14, 2021, 3:32pm UTC](https://forum.rasa.com/t/rasa-x-starting-issues/45743/3 "2021-07-14T15:32:21Z")

</div>

@BotEnthusiastTry this if it’s work.

1. Go to the directory: venv/Lib/site-packages/rasa/core/channels/console.py
2. Change the default value of **DEFAULT\_STREAM\_READING\_TIMEOUT\_IN\_SECONDS** to more than 10, whatever time you required.

---

<div class="post-metadata">

**Author:** ![BotEnthusiast](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@BotEnthusiast](https://forum.rasa.com/u/BotEnthusiast)\
**Post date:** [July 14, 2021, 4:25pm UTC](https://forum.rasa.com/t/rasa-x-starting-issues/45743/4 "2021-07-14T16:25:11Z")

</div>

@nik202 Thank you for the fast reply 🙂

Unfortunately, it does not change anything. The weird thing is that I get the error after around 4 seconds… I can run rasa normal in shell / interactive and also the action server is up and running, everything working fine… It’s just some issue with Rasa X and I can not figure out what it is…

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 14, 2021, 4:53pm UTC](https://forum.rasa.com/t/rasa-x-starting-issues/45743/5 "2021-07-14T16:53:15Z")

</div>

@BotEnthusiast

To install Rasa X locally on Windows 10 resolving the multidict and asyncio error messages is achieved through the following steps in a powershell or conda console:

1. conda create -n “Your\_Environment\_Name” python=3.8
2. conda activate Your\_Environment\_Name
3. pip install pip==20.2 --user
4. pip install multidict==4.7.6 --use-feature=2020-resolver
5. pip install pyjwt==2.0.0 --use-feature=2020-resolver
6. pip install sanic==20.9.0 --use-feature=2020-resolver
7. pip3 install rasa==2.6.2
8. pip3 install rasa-sdk==2.6.0
9. pip install rasa-x==0.40.0 --extra-index-url [https://pypi.rasa.com/simple](https://pypi.rasa.com/simple)
10. SET http\_proxy=http://localhost:5002
11. SET https\_proxy=http://localhost:5002
12. rasa x

Reference thread a solution I provided: [Problem with mulidict version when installing Rasa X in windows 10 local environment - #9 by alINGeNT](http://forum.rasa.com/t/problem-with-mulidict-version-when-installing-rasa-x-in-windows-10-local-environment/45532/9)

---

<div class="post-metadata">

**Author:** ![BotEnthusiast](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@BotEnthusiast](https://forum.rasa.com/u/BotEnthusiast)\
**Post date:** [July 14, 2021, 10:33pm UTC](https://forum.rasa.com/t/rasa-x-starting-issues/45743/6 "2021-07-14T22:33:37Z")

</div>

@nik202Thank you so much for your reply!

Unfortunately, it still does not work… even if I set up a completely new virtual environment with conda, downloading all the required dependencies and all and setting up a new folder where I run rasa init, I sill can not run the rasa x command. After running “rasa x” command in said venv, this is the exact output I get:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/f/3/f39ce0be78d61f31c84141f848fae8c7694207ac.png)

Tried your step-by-step guideline, still the exact same… I feel so dumb since rasa x seems soooo easy to setup but somehow it is not that easy for me…

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 14, 2021, 11:29pm UTC](https://forum.rasa.com/t/rasa-x-starting-issues/45743/10 "2021-07-14T23:29:46Z")

</div>

@BotEnthusiast Please see this: [Rasa and Rasa X are working fine, but it shows some error in the terminal](http://forum.rasa.com/t/rasa-and-rasa-x-are-working-fine-but-it-shows-some-error-in-the-terminal/45174)

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [February 10, 2022, 1:34pm UTC](https://forum.rasa.com/t/rasa-x-starting-issues/45743/11 "2022-02-10T13:34:44Z")

</div>

@BotEnthusiast is this issue solved? I guess this is a persistent issue and it has not caused you in bot user conversation?
