ERROR asyncio - Task was destroyed but it is pending!

Version: Rasa X 0.38.0

Error when i use Rasa x .38.X along with rasa 2.4.X

you have an error in endpoints.yml file. possibly something to do with a remote connection object(tracker store, event store etc…)

I’m new to rasa so what should i do to resolve this error ? It’s already WSL (ubuntu 20.4)

could you share your endpoints.yml, or how exactly did you install rasa X?

Yeah sure, pip3 install rasa, pip3 install rasa-x --extra-index-url then i used rasa x

could you share your endpoints.yml file? it might be possible that something is not resovled in the endpoints.yml file. Have you changed it before starting rasa x

Yo ! @souvikg10 , can you help me please I have a same when launch rasa x command. This is my endpoint.yml containt:

# Server where the models are pulled from.

#  url:[email protected]
#  wait_time_between_pulls:  10   # [optional](default: 100)

# Server which runs your custom actions.

 url: "http://localhost:5055/webhook"

  url: "http://localhost:5056/nlg"
  use_ssl: false

# core:
  # url: "http://localhost:5005"

# Tracker store which is used to store the conversations.
# By default the conversations are stored in memory.
# tracker_store:
    # type: SQL
    # dialect: "postgresql"  # the dialect used to interact with the db
    # url: "localhost"  # (optional) host of the sql db, e.g. "localhost"
    # db: "jady_db"  # path to your db
    # username: "xxxxxx"  # username used for authentication
    # password: "xxxxxx" # password used for authentication
    # query: # optional dictionary to be added as a query string to the connection URL
      # driver: my-driver

#    type: redis
#    url: <host of the redis instance, e.g. localhost>
#    port: <port of your redis instance, usually 6379>
#    db: <number of your database within redis, e.g. 0>
#    password: <password used for authentication>
#    use_ssl: <whether or not the communication is encrypted, default false>

#    type: mongod
#    url: <url to your mongo instance, e.g. mongodb://localhost:27017>
#    db: <name of the db within your mongo instance, e.g. rasa>
#    username: <username used for authentication>
#    password: <password used for authentication>

# Event broker which all conversation events should be streamed to.

#  url: localhost
#  username: username
#  password: password
#  queue: queue

I am also seeing this, using WSL/Ubuntu. I’m using the default rasa init project, so nothing in my endpoints file.

[email protected]:~/rasax/p1$ rasa x
Starting Rasa X in local mode... 🚀
2021-10-25 16:46:29 WARNING  - No local evaluation result files found.
2021-10-25 16:46:31 ERROR    asyncio  - Task was destroyed but it is pending!
task: <Task pending coro=<TCPConnector._resolve_host() running at /home/marc/.pyenv/versions/3.7.9/envs/rasax/lib/python3.7/site-packages/aiohttp/> wait_for=<Future finished exception=gaierror(-2, 'Name or service not known')> cb=[TCPConnector._create_direct_connection.<locals>.drop_exception() at /home/marc/.pyenv/versions/3.7.9/envs/rasax/lib/python3.7/site-packages/aiohttp/]>
2021-10-25 16:46:31 ERROR    asyncio  - Unhandled exception in event loop
Traceback (most recent call last):
  File "uvloop/dns.pyx", line 389, in uvloop.loop.__on_addrinfo_resolved
  File "uvloop/loop.pyx", line 894, in uvloop.loop.Loop._getaddrinfo.callback
  File "uvloop/loop.pyx", line 1257, in uvloop.loop.Loop.call_soon
  File "uvloop/loop.pyx", line 635, in uvloop.loop.Loop._call_soon
  File "uvloop/loop.pyx", line 639, in uvloop.loop.Loop._call_soon_handle
  File "uvloop/loop.pyx", line 668, in uvloop.loop.Loop._check_closed
RuntimeError: Event loop is closed

Using the latest version (as of today) of Rasa and Rasa X. Fresh install.

Hi All @Bala-Yarabikki Did any of you find a solution for that I am facing the same issue

@yattdev Did any of you find a solution for that I am facing the same issue