Rasa X runs on browser but with errors on terminal

(rasa-test-env) D:\rasa-test>rasa x
Starting Rasa X in local mode... πŸš€
2021-07-21 12:04:58 WARNING  rasax.community.services.insights.insight_service  - No local evaluation result files found.
2021-07-21 12:05:00 ERROR    concurrent.futures  - exception calling callback for <Future at 0x1c737d903a0 state=finished raised gaierror>
Traceback (most recent call last):
  File "c:\users\vishruth\.conda\envs\rasa-test-env\lib\concurrent\futures\thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "c:\users\vishruth\.conda\envs\rasa-test-env\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:\users\vishruth\.conda\envs\rasa-test-env\lib\concurrent\futures\_base.py", line 328, in _invoke_callbacks
    callback(self)
  File "c:\users\vishruth\.conda\envs\rasa-test-env\lib\asyncio\futures.py", line 374, in _call_set_state
    dest_loop.call_soon_threadsafe(_set_state, destination, source)
  File "c:\users\vishruth\.conda\envs\rasa-test-env\lib\asyncio\base_events.py", line 764, in call_soon_threadsafe
    self._check_closed()
  File "c:\users\vishruth\.conda\envs\rasa-test-env\lib\asyncio\base_events.py", line 508, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
2021-07-21 12:05:00 ERROR    concurrent.futures  - exception calling callback for <Future at 0x1c737d908e0 state=finished returned list>
Traceback (most recent call last):
  File "c:\users\vishruth\.conda\envs\rasa-test-env\lib\concurrent\futures\_base.py", line 328, in _invoke_callbacks
    callback(self)
  File "c:\users\vishruth\.conda\envs\rasa-test-env\lib\asyncio\futures.py", line 374, in _call_set_state
    dest_loop.call_soon_threadsafe(_set_state, destination, source)
  File "c:\users\vishruth\.conda\envs\rasa-test-env\lib\asyncio\base_events.py", line 764, in call_soon_threadsafe
    self._check_closed()
  File "c:\users\vishruth\.conda\envs\rasa-test-env\lib\asyncio\base_events.py", line 508, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
[2021-07-21 12:05:02 +0530] [21984] [INFO] Goin' Fast @ http://0.0.0.0:5002
2021-07-21 12:05:02 INFO     sanic.root  - Goin' Fast @ http://0.0.0.0:5002

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

[2021-07-21 12:05:03 +0530] [21984] [WARNING] Sanic tried to use loop.add_signal_handler but it is not implemented on this platform.
2021-07-21 12:05:03 WARNING  sanic.root  - Sanic tried to use loop.add_signal_handler but it is not implemented on this platform.
[2021-07-21 12:05:03 +0530] [21984] [WARNING] Sanic tried to use loop.add_signal_handler but it is not implemented on this platform.
[2021-07-21 12:05:03 +0530] [21984] [INFO] Starting worker [21984]
2021-07-21 12:05:03 INFO     sanic.root  - Starting worker [21984]
2021-07-21 12:05:07 ERROR    asyncio  - Task was destroyed but it is pending!
task: <Task pending name='Task-9' coro=<TCPConnector._resolve_host() running at c:\users\vishruth\.conda\envs\rasa-test-env\lib\site-packages\aiohttp\connector.py:865> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at c:\users\vishruth\.conda\envs\rasa-test-env\lib\asyncio\futures.py:360, <TaskWakeupMethWrapper object at 0x000001C737D90CD0>()]> cb=[TCPConnector._create_direct_connection.<locals>.drop_exception() at c:\users\vishruth\.conda\envs\rasa-test-env\lib\site-packages\aiohttp\connector.py:1002]>
2021-07-21 12:05:07 ERROR    asyncio  - Task was destroyed but it is pending!
task: <Task pending name='Task-8' coro=<TCPConnector._resolve_host() running at c:\users\vishruth\.conda\envs\rasa-test-env\lib\site-packages\aiohttp\connector.py:865> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at c:\users\vishruth\.conda\envs\rasa-test-env\lib\asyncio\futures.py:360, <TaskWakeupMethWrapper object at 0x000001C737D90820>()]> cb=[TCPConnector._create_direct_connection.<locals>.drop_exception() at c:\users\vishruth\.conda\envs\rasa-test-env\lib\site-packages\aiohttp\connector.py:1002]>

Rasa X gives these errors on terminal, but it opens on my browser. How do I fix these errors? I’m running the below versions of rasa.

Rasa Version      :         2.6.2
Minimum Compatible Version: 2.6.0 
Rasa SDK Version  :         2.6.0 
Rasa X Version    :         0.40.0
Python Version    :         3.8.10
Operating System  :         Windows-10-10.0.19041-SP0
Python Path       :         c:\users\vishruth\.conda\envs\rasa-test-env\python.exe

I tried using the latest version of rasa and rasa-x, but it gave me errors. Downgrading it to the above version helped run rasa-x on browser but with the above errors on terminal.

Hello, what is your DNS? The error message says TCPConnector cannot find the server. Try to add other nameservers, like Google’s public DNS server

echo "nameserver 8.8.8.8" > /etc/resolv.conf