RASA X not working Locally

@AkashPandey Great! Please close this thread as a solution for future references and for others. Thanks.

Didnt work for me , I get this error when trying to downgrade rasa :

Could not find a version that satisfies the requirement tensorflow-addons<=0.12,>=0.10 (from rasa==2.6.2) (from versions: ) No matching distribution found for tensorflow-addons<=0.12,>=0.10 (from rasa==2.6.2)

hey,try to change your python version to 3.8.10.that’s work for me

Hi @changleilei , thanks but that did not work for me. The error I’m getting is: (rasaenv) C:\KenDevelopment\KenRasaTutsProjects\KenFormValidation>rasa x c:\users\kjhchang\anaconda3\envs\rasaenv\lib\site-packages\rasa\shared\core\slots.py:311: FutureWarning: UnfeaturizedSlot is deprecated and will be removed in Rasa Open Source 3.0. Please change the type and configure the ‘influence_conversation’ flag for slot ‘requested_slot’ instead. rasa.shared.utils.io.raise_warning( Starting Rasa X in local mode… :rocket: c:\users\kjhchang\anaconda3\envs\rasaenv\lib\site-packages\rasa\shared\core\slots.py:311: FutureWarning: UnfeaturizedSlot is deprecated and will be removed in Rasa Open Source 3.0. Please change the type and configure the ‘influence_conversation’ flag for slot ‘requested_slot’ instead. rasa.shared.utils.io.raise_warning( 2021-07-21 21:00:20 WARNING rasax.community.services.insights.insight_service - No local evaluation result files found. Traceback (most recent call last): File “c:\users\kjhchang\anaconda3\envs\rasaenv\lib\site-packages\rasa\cli\x.py”, line 496, in run_locally local.main( File “c:\users\kjhchang\anaconda3\envs\rasaenv\lib\site-packages\rasax\community\local.py”, line 257, in main common_utils.run_in_loop(model_service.discover_models()) File “c:\users\kjhchang\anaconda3\envs\rasaenv\lib\site-packages\rasax\community\utils\common.py”, line 900, in run_in_loop return loop.run_until_complete(coro) File “c:\users\kjhchang\anaconda3\envs\rasaenv\lib\asyncio\base_events.py”, line 616, in run_until_complete return future.result() File “c:\users\kjhchang\anaconda3\envs\rasaenv\lib\site-packages\rasax\community\services\model_service.py”, line 821, in discover_models await model_service.discover_models() File “c:\users\kjhchang\anaconda3\envs\rasaenv\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\kjhchang\anaconda3\envs\rasaenv\lib\site-packages\rasax\community\services\model_service.py”, line 133, in _run_loop await self._discover_models() File “c:\users\kjhchang\anaconda3\envs\rasaenv\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\kjhchang\anaconda3\envs\rasaenv\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\kjhchang\anaconda3\envs\rasaenv\lib\site-packages\rasax\community\services\model_service.py”, line 160, in minimum_compatible_version info = await stack_service.version() File “c:\users\kjhchang\anaconda3\envs\rasaenv\lib\site-packages\rasax\community\services\stack_service.py”, line 92, in version response = await session.get( File “c:\users\kjhchang\anaconda3\envs\rasaenv\lib\site-packages\aiohttp\client.py”, line 619, in _request break File “c:\users\kjhchang\anaconda3\envs\rasaenv\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/.

my setup is: (rasaenv) C:\KenDevelopment\KenRasaTutsProjects\KenFormValidation>rasa --version Rasa Version : 2.8.0 Minimum Compatible Version: 2.8.0 Rasa SDK Version : 2.8.1 Rasa X Version : 0.41.2 Python Version : 3.8.8 Operating System : Windows-10-10.0.19041-SP0 Python Path : c:\users\kjhchang\anaconda3\envs\rasaenv\python.exe

This works for shell and interactive, just not rasa-x.

Am also having this error. This is my rasa directory (Rasa_Project).

 (venv) azureuser@rasachatbot:~/loge/Rasa_Project$ ls
actions  config.yml  credentials.yml  data  domain.yml  endpoints.yml  events.db  forms.yml  models  rasa.db  responses.yml  venv

These are the versions.

Rasa Version      :         2.8.2
Minimum Compatible Version: 2.8.0
Rasa SDK Version  :         2.8.1
Rasa X Version    :         0.42.0
Python Version    :         3.6.9
Operating System  :         Linux-5.4.0-1055-azure-x86_64-with-Ubuntu-18.04-bion                                                                                        ic
Python Path       :         /home/azureuser/loge/Rasa_Project/venv/bin/python3

When I run (rasa x), it shows this.

   Starting Rasa X in local mode... 🚀
    Traceback (most recent call last):
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1772, in _execute_context
        cursor, statement, parameters, context
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 717, in do_execute
        cursor.execute(statement, parameters)
    sqlite3.OperationalError: no such column: True

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/rasa/cli/x.py", line 502, in run_locally
        domain_path=domain_path,
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/rasax/community/local.py", line 234, in main
        sql_migrations.run_migrations(session)
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/rasax/community/sql_migrations.py", line 25, in run_migrations
        _run_schema_migrations(session)
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/rasax/community/sql_migrations.py", line 41, in _run_schema_migrations
        _run_alembic_migration(alembic_config)
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/rasax/community/sql_migrations.py", line 65, in _run_alembic_migration
        command.upgrade(alembic_config, target_revision)
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/alembic/command.py", line 298, in upgrade
        script.run_env()
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/alembic/script/base.py", line 489, in run_env
        util.load_python_file(self.dir, "env.py")
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/alembic/util/pyfiles.py", line 98, in load_python_file
        module = load_module_py(module_id, path)
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/alembic/util/compat.py", line 184, in load_module_py
        spec.loader.exec_module(module)
      File "<frozen importlib._bootstrap_external>", line 678, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/rasax/community/database/schema_migrations/alembic/env.py", line 96, in <module>
        run_migrations_online()
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/rasax/community/database/schema_migrations/alembic/env.py", line 86, in run_migrations_online
        context.run_migrations()
      File "<string>", line 8, in run_migrations
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/alembic/runtime/environment.py", line 846, in run_migrations
        self.get_context().run_migrations(**kw)
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/alembic/runtime/migration.py", line 522, in run_migrations
        step.migration_fn(**kw)
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/rasax/community/database/schema_migrations/alembic/versions/migration_2021_06_16_speedup_in_training_data_update_652500998f3e.py", line 42, in upgrade
        sqlite_where=sa.text(index_text),
      File "/usr/lib/python3.6/contextlib.py", line 88, in __exit__
        next(self.gen)
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/alembic/operations/base.py", line 353, in batch_alter_table
        impl.flush()
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/alembic/operations/batch.py", line 82, in flush
        fn(*arg, **kw)
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/alembic/ddl/impl.py", line 283, in create_index
        self._exec(schema.CreateIndex(index))
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/alembic/ddl/impl.py", line 141, in _exec
        return conn.execute(construct, *multiparams, **params)
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1263, in execute
        return meth(self, multiparams, params, _EMPTY_EXECUTION_OPTS)
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 78, in _execute_on_connection
        self, multiparams, params, execution_options
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1359, in _execute_ddl
        compiled,
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1815, in _execute_context
        e, statement, parameters, cursor, context
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1996, in _handle_dbapi_exception
        sqlalchemy_exception, with_traceback=exc_info[2], from_=e
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
        raise exception
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1772, in _execute_context
        cursor, statement, parameters, context
      File "/home/azureuser/loge/Rasa_Project/venv/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 717, in do_execute
        cursor.execute(statement, parameters)
    sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such column: True
    [SQL: CREATE INDEX message_log_in_training_data_idx ON message_log (in_training_data) WHERE in_training_data is True]
    (Background on this error at: https://sqlalche.me/e/14/e3q8)

    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/.

@Rishabhh17 downgrade rasa-x to 0.39.3

pip install rasa-x==0.39.3 --extra-index-url https://pypi.rasa.com/simple

Now this error.

Starting Rasa X in local mode... 🚀
Traceback (most recent call last):
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasa/cli/x.py", line 502, in run_locally
    domain_path=domain_path,
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/local.py", line 234, in main
    sql_migrations.run_migrations(session)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/sql_migrations.py", line 25, in run_migrations
    _run_schema_migrations(session)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/sql_migrations.py", line 41, in _run_schema_migrations
    _run_alembic_migration(alembic_config)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/sql_migrations.py", line 65, in _run_alembic_migration
    command.upgrade(alembic_config, target_revision)
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/command.py", line 298, in upgrade
    script.run_env()
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/script/base.py", line 489, in run_env
    util.load_python_file(self.dir, "env.py")
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/util/pyfiles.py", line 98, in load_python_file
    module = load_module_py(module_id, path)
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/util/compat.py", line 184, in load_module_py
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/database/schema_migrations/alembic/env.py", line 96, in <module>
    run_migrations_online()
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/database/schema_migrations/alembic/env.py", line 86, in run_migrations_online
    context.run_migrations()
  File "<string>", line 8, in run_migrations
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/runtime/environment.py", line 846, in run_migrations
    self.get_context().run_migrations(**kw)
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/runtime/migration.py", line 511, in run_migrations
    for step in self._migrations_fn(heads, self):
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/command.py", line 287, in upgrade
    return script._upgrade_revs(revision, rev)
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/script/base.py", line 364, in _upgrade_revs
    revs = list(revs)
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/script/revision.py", line 777, in _iterate_revisions
    uppers = util.dedupe_tuple(self.get_revisions(upper))
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/script/revision.py", line 321, in get_revisions
    resolved_id, branch_label = self._resolve_revision_number(id_)
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/script/revision.py", line 501, in _resolve_revision_number
    self._revision_map
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/util/langhelpers.py", line 230, in __get__
    obj.__dict__[self.__name__] = result = self.fget(obj)
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/script/revision.py", line 123, in _revision_map
    for revision in self._generator():
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/script/base.py", line 112, in _load_revisions
    script = Script._from_filename(self, vers, file_)
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/script/base.py", line 906, in _from_filename
    module = util.load_python_file(dir_, filename)
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/util/pyfiles.py", line 98, in load_python_file
    module = load_module_py(module_id, path)
  File "/home/azureuser/.local/lib/python3.6/site-packages/alembic/util/compat.py", line 184, in load_module_py
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/database/schema_migrations/alembic/versions/migration_2020_01_27_remove_duplicate_templates_d5160f2d00b8.py", line 11, in <module>
    import rasax.community.database.schema_migrations.alembic.utils as migration_utils
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/database/schema_migrations/alembic/utils.py", line 12, in <module>
    from sqlalchemy.engine import reflection, RowProxy, Connection
ImportError: cannot import name 'RowProxy'

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/.

@Rishabhh17 pip install SQLAlchemy==1.3.22

 azureuser@rasachatbot:~/loge/Rasa_Project/Rasa_Project$ pip install SQLAlchemy==                                                                                        1.3.22
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDepreca                                                                                        tionWarning: int_from_bytes is deprecated, use int.from_bytes instead
 from cryptography.utils import int_from_bytes
   /usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecation                                                                                        Warning: int_from_bytes is deprecated, use int.from_bytes instead
          from cryptography.utils import int_from_bytes
        Defaulting to user installation because normal site-packages is not writeable
        Collecting SQLAlchemy==1.3.22
          Downloading SQLAlchemy-1.3.22-cp36-cp36m-manylinux2010_x86_64.whl (1.3 MB)
             |████████████████████████████████| 1.3 MB 25.4 MB/s
        Installing collected packages: SQLAlchemy
          Attempting uninstall: SQLAlchemy
            Found existing installation: SQLAlchemy 1.4.22
            Uninstalling SQLAlchemy-1.4.22:
              Successfully uninstalled SQLAlchemy-1.4.22
        Successfully installed SQLAlchemy-1.3.22

When I run (rasa x).

azureuser@rasachatbot:~/loge/Rasa_Project/Rasa_Project$ rasa x
/home/azureuser/.local/lib/python3.6/site-packages/rasa/shared/core/slots.py:317                                                                                        : FutureWarning: UnfeaturizedSlot is deprecated and will be removed in Rasa Open                                                                                         Source 3.0. Please change the type and configure the 'influence_conversation' f                                                                                        lag for slot 'email' instead.
  category=FutureWarning,
Starting Rasa X in local mode... 🚀
/home/azureuser/.local/lib/python3.6/site-packages/rasa/shared/core/slots.py:317                                                                                        : FutureWarning: UnfeaturizedSlot is deprecated and will be removed in Rasa Open                                                                                         Source 3.0. Please change the type and configure the 'influence_conversation' f                                                                                        lag for slot 'email' instead.
  category=FutureWarning,
2021-08-14 11:43:23 WARNING  rasax.community.services.insights.insight_service                                                                                          - No local evaluation result files found.
[2021-08-14 11:43:24 +0000] [7007] [INFO] Goin' Fast @ http://0.0.0.0:5002
2021-08-14 11:43:24 INFO     sanic.root  - Goin' Fast @ http://0.0.0.0:5002

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

[2021-08-14 11:43:24 +0000] [7007] [INFO] Starting worker [7007]
2021-08-14 11:43:24 INFO     sanic.root  - Starting worker [7007]
[2021-08-14 11:43:25 +0000] [7007] [ERROR] Exception occurred while handling uri                                                                                        : 'http://localhost:5002/api/projects/default/models/tags/production?token=d396c                                                                                        92a362eb86ebfb714c1ad2029b6'
Traceback (most recent call last):
  File "/home/azureuser/.local/lib/python3.6/site-packages/sanic/app.py", line 9                                                                                        09, in handle_request
    request, request_name=name
  File "/home/azureuser/.local/lib/python3.6/site-packages/spf/framework.py", li                                                                                        ne 646, in _run_request_middleware_19_12
    response = await response
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/datab                                                                                        ase/utils.py", line 368, in set_session
    user = await decorators.user_from_request(request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/d                                                                                        ecorators.py", line 90, in user_from_request
    return await _get_user_from_request(request.app, request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/d                                                                                        ecorators.py", line 73, in _get_user_from_request
    payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
2021-08-14 11:43:25 ERROR    sanic.root  - Exception occurred while handling uri                                                                                        : 'http://localhost:5002/api/projects/default/models/tags/production?token=d396c                                                                                        92a362eb86ebfb714c1ad2029b6'
Traceback (most recent call last):
  File "/home/azureuser/.local/lib/python3.6/site-packages/sanic/app.py", line 9                                                                                        09, in handle_request
    request, request_name=name
  File "/home/azureuser/.local/lib/python3.6/site-packages/spf/framework.py", li                                                                                        ne 646, in _run_request_middleware_19_12
    response = await response
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/datab                                                                                        ase/utils.py", line 368, in set_session
    user = await decorators.user_from_request(request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/d                                                                                        ecorators.py", line 90, in user_from_request
    return await _get_user_from_request(request.app, request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/d                                                                                        ecorators.py", line 73, in _get_user_from_request
    payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
[2021-08-14 11:43:27 +0000] [7007] [ERROR] Exception occurred while handling uri                                                                                        : 'http://localhost:5002/api/projects/default/models/tags/production?token=d396c                                                                                        92a362eb86ebfb714c1ad2029b6'
Traceback (most recent call last):
  File "/home/azureuser/.local/lib/python3.6/site-packages/sanic/app.py", line 9                                                                                        09, in handle_request
    request, request_name=name
  File "/home/azureuser/.local/lib/python3.6/site-packages/spf/framework.py", li                                                                                        ne 646, in _run_request_middleware_19_12
    response = await response
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/datab                                                                                        ase/utils.py", line 368, in set_session
    user = await decorators.user_from_request(request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/d                                                                                        ecorators.py", line 90, in user_from_request
    return await _get_user_from_request(request.app, request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/d                                                                                        ecorators.py", line 73, in _get_user_from_request
    payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
[2021-08-14 11:43:29 +0000] [7007] [ERROR] Exception occurred while handling uri                                                                                        : 'http://localhost:5002/api/projects/default/models/tags/production?token=d396c                                                                                        92a362eb86ebfb714c1ad2029b6'
Traceback (most recent call last):
  File "/home/azureuser/.local/lib/python3.6/site-packages/sanic/app.py", line 9                                                                                        09, in handle_request
    request, request_name=name
  File "/home/azureuser/.local/lib/python3.6/site-packages/spf/framework.py", li                                                                                        ne 646, in _run_request_middleware_19_12
    response = await response
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/datab                                                                                        ase/utils.py", line 368, in set_session
    user = await decorators.user_from_request(request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/d                                                                                        ecorators.py", line 90, in user_from_request
    return await _get_user_from_request(request.app, request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/d                                                                                        ecorators.py", line 73, in _get_user_from_request
    payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
[2021-08-14 11:43:31 +0000] [7007] [ERROR] Exception occurred while handling uri: 'http://localhost:5002/api/projects/default/models/tags/production?token=d396c92a362eb86ebfb714c1ad2029b6'
Traceback (most recent call last):
  File "/home/azureuser/.local/lib/python3.6/site-packages/sanic/app.py", line 909, in handle_request
    request, request_name=name
  File "/home/azureuser/.local/lib/python3.6/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
    response = await response
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/database/utils.py", line 368, in set_session
    user = await decorators.user_from_request(request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
    return await _get_user_from_request(request.app, request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
    payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
[2021-08-14 11:43:33 +0000] [7007] [ERROR] Exception occurred while handling uri: 'http://localhost:5002/api/projects/default/models/tags/production?token=d396c92a362eb86ebfb714c1ad2029b6'
Traceback (most recent call last):
  File "/home/azureuser/.local/lib/python3.6/site-packages/sanic/app.py", line 909, in handle_request
    request, request_name=name
  File "/home/azureuser/.local/lib/python3.6/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
    response = await response
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/database/utils.py", line 368, in set_session
    user = await decorators.user_from_request(request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
    return await _get_user_from_request(request.app, request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
    payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
[2021-08-14 11:43:35 +0000] [7007] [ERROR] Exception occurred while handling uri: 'http://localhost:5002/api/projects/default/models/tags/production?token=d396c92a362eb86ebfb714c1ad2029b6'
Traceback (most recent call last):
  File "/home/azureuser/.local/lib/python3.6/site-packages/sanic/app.py", line 909, in handle_request
    request, request_name=name
  File "/home/azureuser/.local/lib/python3.6/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
    response = await response
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/database/utils.py", line 368, in set_session
    user = await decorators.user_from_request(request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
    return await _get_user_from_request(request.app, request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
    payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
[2021-08-14 11:43:37 +0000] [7007] [ERROR] Exception occurred while handling uri: 'http://localhost:5002/api/projects/default/models/tags/production?token=d396c92a362eb86ebfb714c1ad2029b6'
Traceback (most recent call last):
  File "/home/azureuser/.local/lib/python3.6/site-packages/sanic/app.py", line 909, in handle_request
    request, request_name=name
  File "/home/azureuser/.local/lib/python3.6/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
    response = await response
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/database/utils.py", line 368, in set_session
    user = await decorators.user_from_request(request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
    return await _get_user_from_request(request.app, request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
    payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
[2021-08-14 11:43:39 +0000] [7007] [ERROR] Exception occurred while handling uri: 'http://localhost:5002/api/projects/default/models/tags/production?token=d396c92a362eb86ebfb714c1ad2029b6'
Traceback (most recent call last):
  File "/home/azureuser/.local/lib/python3.6/site-packages/sanic/app.py", line 909, in handle_request
    request, request_name=name
  File "/home/azureuser/.local/lib/python3.6/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
    response = await response
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/database/utils.py", line 368, in set_session
    user = await decorators.user_from_request(request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
    return await _get_user_from_request(request.app, request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
    payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'
[2021-08-14 11:43:41 +0000] [7007] [ERROR] Exception occurred while handling uri: 'http://localhost:5002/api/projects/default/models/tags/production?token=d396c92a362eb86ebfb714c1ad2029b6'
Traceback (most recent call last):
  File "/home/azureuser/.local/lib/python3.6/site-packages/sanic/app.py", line 909, in handle_request
    request, request_name=name
  File "/home/azureuser/.local/lib/python3.6/site-packages/spf/framework.py", line 646, in _run_request_middleware_19_12
    response = await response
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/database/utils.py", line 368, in set_session
    user = await decorators.user_from_request(request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/decorators.py", line 90, in user_from_request
    return await _get_user_from_request(request.app, request)
  File "/home/azureuser/.local/lib/python3.6/site-packages/rasax/community/api/decorators.py", line 73, in _get_user_from_request
    payload = await instance.auth.extract_payload(request, verify=False)
AttributeError: 'Sanic' object has no attribute 'auth'

@Rishabhh17 pip install sanic-jwt==1.6.0

I am using (linux VM), It is showing below that server is up and running but when I went to that url it shows (

This site can’t be reached

localhost refused to connect.

Try:

ERR_CONNECTION_REFUSED )

Starting Rasa X in local mode... 🚀
2021-08-14 11:48:09 WARNING  rasax.community.services.insights.insight_service  - No local evaluation result files found.
[2021-08-14 11:48:13 +0000] [9380] [INFO] Goin' Fast @ http://0.0.0.0:5002
2021-08-14 11:48:13 INFO     sanic.root  - Goin' Fast @ http://0.0.0.0:5002

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

[2021-08-14 11:48:13 +0000] [9380] [INFO] Starting worker [9380]
2021-08-14 11:48:13 INFO     sanic.root  - Starting worker [9380]
2021-08-14 11:48:34 WARNING  rasa.shared.utils.common  - The UnexpecTED Intent Policy is currently experimental and might change or be removed in the future 🔬 Please share your feedback on it in the forum (http://forum.rasa.com) to help us make this feature ready for production.

@Rishabhh17 it should open automatically in web browser.

@Rishabhh17 rasa version?

I dont know nothing is happening just stuck there.

Rasa Version      :         2.8.2
Minimum Compatible Version: 2.8.0
Rasa SDK Version  :         2.8.1
Rasa X Version    :         0.39.3
Python Version    :         3.6.9
Operating System  :         Linux-5.4.0-1055-azure-x86_64-with-Ubuntu-18.04-bion                                                                                        ic
Python Path       :         /usr/bin/python3
    `indent preformatted text by 4 spaces`

@Rishabhh17 you need to close or kill terminal

@Rishabhh17 change rasa version to 2.8.1 or if you experimented a lot, then you need to create new condo environment for the same and follow the process again.

No as you were saying that it will open automatically so I am asking how because nothing is happening .

I am using linux terminal on windows. How to create conda on that?

@Rishabhh17 That you need to figure out, as I am working on window, Mac and Ubuntu not the method you using, may be you need to install anaconda on VM and then create the virtual env, google is your best friend check there please. How to create the virtual environment.