Error with latest RASA version

Hi Rasa Community

I have upgraded to 1.2.3 and I am seeing the following exception with both shell and rasa x.

> 2019-08-24 12:19:09 ERROR    asyncio  - Task exception was never retrieved
> future: <Task finished coro=<configure_app.<locals>.run_cmdline_io() done, defined at /usr/local/lib/python3.7/site-packages/rasa/core/> exception=TimeoutError()>
> Traceback (most recent call last):
>   File "/usr/local/lib/python3.7/site-packages/rasa/core/", line 126, in run_cmdline_io
>     server_url=constants.DEFAULT_SERVER_FORMAT.format(port)
>   File "/usr/local/lib/python3.7/site-packages/rasa/core/channels/", line 138, in record_messages
>     async for response in bot_responses:
>   File "/usr/local/lib/python3.7/site-packages/async_generator/", line 366, in step
>     return await ANextIter(self._it, start_fn, *args)
>   File "/usr/local/lib/python3.7/site-packages/async_generator/", line 205, in throw
>     return self._invoke(self._it.throw, type, value, traceback)
>   File "/usr/local/lib/python3.7/site-packages/async_generator/", line 209, in _invoke
>     result = fn(*args)
>   File "/usr/local/lib/python3.7/site-packages/rasa/core/channels/", line 103, in send_message_receive_stream
>     async for line in resp.content:
>   File "/usr/local/lib/python3.7/site-packages/aiohttp/", line 40, in __anext__
>     rv = await self.read_func()
>   File "/usr/local/lib/python3.7/site-packages/aiohttp/", line 329, in readline
>     await self._wait('readline')
>   File "/usr/local/lib/python3.7/site-packages/aiohttp/", line 297, in _wait
>     await waiter
>   File "/usr/local/lib/python3.7/site-packages/aiohttp/", line 585, in __exit__
>     raise asyncio.TimeoutError from None
> concurrent.futures._base.TimeoutError
> Transport closed @ ('', 56629) and exception experienced during error handling

Has anyone seen this? If so, how do I resolve it? I appreciate any help I can get. Thanks in advance

1 Like

Hi @rasaexplorer. Welcome to the forum!

What OS do you run rasa shell or rasa x on? Do you use a virtual environment / Anaconda / Docker? And did you try a clean re-install?

Thanks, @j.mosig. I am using Mac Mojave 10.14.6. I didn’t use a virtual environment / Anaconda or docker. I didn’t find instructions for uninstalling and hence clean re-install. I did try to update Rasa. Interestingly, when I created a new folder, ran ‘rasa init’ and then copied all the old files over, this exception and slowness went away. Not sure what happened.

If you can share instructions for clean re-install of Rasa, that might be handy.

I am glad it works now. I don’t know what the problem was, unfortunately. Personally, I always use the development version of rasa (from the GitHub repo) and then install it in a Conda environment, so the one time where I wanted to re-install, I just deleted the environment. I’ll ask around what the proper procedure would be.

pip uninstall rasa should work :slight_smile:

Thanks much. Will try to see if that works.

Also pip list | grep rasa is good for checking all of your rasa versions (or all of the ones you want to make sure to uninstall)