Failed to get a proper response from remote server

I seemed to have fixed the problem but I’ve no idea how! Rather than following the docs:

To configure the credentials, copy the section below into the values.yml

I started with values.yaml from the helm chart.

The only thing I changed was the app: section so that my action server is pulled from docker hub.

Then I logged into the rasa-x pod and updated the admin user.

I linked my GitHub repo but by then Rasa X had crashed?

ERROR:rasax.community.services.test_service:Unable to get tests from tests/conversation_tests.md:
File 'tests/conversation_tests.md' does not exist.
ERROR:asyncio:Task exception was never retrieved
future: <Task finished coro=<run_operation_in_single_sanic_worker.<locals>.execute() done, defined at /usr/local/lib/python3.6/site-packages/rasax/community/utils.py:760> exception=SystemExit(1,)>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/rasa/utils/io.py", line 137, in read_file
    with open(filename, encoding=encoding) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmptnsqms0v/core/domain.yml'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/rasax/community/database/utils.py", line 148, in session_scope
    yield session
  File "/usr/local/lib/python3.6/site-packages/rasax/community/services/model_service.py", line 753, in discover_models
    await model_service.discover_models()
  File "/usr/local/lib/python3.6/site-packages/rasax/community/services/model_service.py", line 110, in discover_models
    await _run_loop(max_retries, sleep_in_seconds)
  File "/usr/local/lib/python3.6/site-packages/rasax/community/services/model_service.py", line 96, in _run_loop
    await self._discover_models()
  File "/usr/local/lib/python3.6/site-packages/rasax/community/services/model_service.py", line 176, in _discover_models
    _ = await self.add_model(project_id, model_name, path)
  File "/usr/local/lib/python3.6/site-packages/rasax/community/services/model_service.py", line 282, in add_model
    await self.inject_data_from_first_model(project, path)
  File "/usr/local/lib/python3.6/site-packages/rasax/community/services/model_service.py", line 338, in inject_data_from_first_model
    await self._inject_domain_from_model(project, domain_path)
  File "/usr/local/lib/python3.6/site-packages/rasax/community/services/model_service.py", line 311, in _inject_domain_from_model
    data = read_yaml_file(domain_path)
  File "/usr/local/lib/python3.6/site-packages/rasa/utils/io.py", line 210, in read_yaml_file
    return read_yaml(read_file(filename, DEFAULT_ENCODING))
  File "/usr/local/lib/python3.6/site-packages/rasa/utils/io.py", line 140, in read_file
    raise ValueError(f"File '{filename}' does not exist.")
ValueError: File '/tmp/tmptnsqms0v/core/domain.yml' does not exist.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "uvloop/loop.pyx", line 436, in uvloop.loop.Loop._on_idle
  File "uvloop/cbhandles.pyx", line 90, in uvloop.loop.Handle._run
  File "uvloop/cbhandles.pyx", line 70, in uvloop.loop.Handle._run
  File "/usr/local/lib/python3.6/site-packages/rasax/community/utils.py", line 768, in execute
    await f()
  File "/usr/local/lib/python3.6/site-packages/rasax/community/services/model_service.py", line 756, in discover_models
    await model_service.mark_latest_as_production()
  File "/usr/local/lib/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.6/site-packages/rasax/community/database/utils.py", line 152, in session_scope
    f"Requested PostgreSQL schema '{e}' was not found in the database. To "
  File "/usr/local/lib/python3.6/site-packages/rasa/cli/utils.py", line 241, in print_error_and_exit
    sys.exit(exit_code)
SystemExit: 1
Requested PostgreSQL schema 'File '/tmp/tmptnsqms0v/core/domain.yml' does not exist.' was not found in the database. To continue, please create the schema by running 'CREATE DATABASE File '/tmp/tmptnsqms0v/core/domain.yml' does not exist.;' or unset the
'POSTGRESQL_SCHEMA' environment variable in order to use the default schema. Exiting application.

How do you restart the service? You delete the pod of course!

kubectl delete pod <pod name> -n <namespace>

Now everything seems to be working.

Apparently system admin is 10X harder than data science and coding these days :grimacing: