Skip to content

Issues when trying python-searchable example #71

@germanschnyder

Description

@germanschnyder

After running the suggested command line $ curl https://raw.githubusercontent.com/cossacklabs/acra-engineering-demo/master/run.sh | \ bash -s -- python-searchable

i get tons of errors such as these

python-searchable-acra-server-1           | time="2023-10-25T13:23:30Z" level=info msg="Starting service acra-server [pid=1]" version=0.93.0
python-searchable-acra-server-1           | time="2023-10-25T13:23:30Z" level=info msg="Validating service configuration..."
python-searchable-acra-server-1           | time="2023-10-25T13:23:30Z" level=info msg="Load encryptor configuration from /config/searchable.yaml ..."
python-searchable-acra-server-1           | time="2023-10-25T13:23:30Z" level=error msg="Can't read config for encryptor" code=507 error="read /config/searchable.yaml: is a directory"
python-searchable-acra-server-1           | time="2023-10-25T13:23:30Z" level=error msg="Can't load encryptor config" error="read /config/searchable.yaml: is a directory"
python-searchable-acra-server-1 exited with code 1

and this

python-searchable-postgresqlweb-1         | 2023-10-25 13:25:19,888: ERROR	pgadmin:	400 Bad Request: The CSRF session token is missing.
python-searchable-postgresqlweb-1         | Traceback (most recent call last):
python-searchable-postgresqlweb-1         |   File "/venv/lib/python3.9/site-packages/flask_wtf/csrf.py", line 257, in protect
python-searchable-postgresqlweb-1         |     validate_csrf(self._get_csrf_token())
python-searchable-postgresqlweb-1         |   File "/venv/lib/python3.9/site-packages/flask_wtf/csrf.py", line 95, in validate_csrf
python-searchable-postgresqlweb-1         |     raise ValidationError('The CSRF session token is missing.')
python-searchable-postgresqlweb-1         | wtforms.validators.ValidationError: The CSRF session token is missing.
python-searchable-postgresqlweb-1         |
python-searchable-postgresqlweb-1         | During handling of the above exception, another exception occurred:
python-searchable-postgresqlweb-1         |
python-searchable-postgresqlweb-1         | Traceback (most recent call last):
python-searchable-postgresqlweb-1         |   File "/venv/lib/python3.9/site-packages/flask/app.py", line 1948, in full_dispatch_request
python-searchable-postgresqlweb-1         |     rv = self.preprocess_request()
python-searchable-postgresqlweb-1         |   File "/venv/lib/python3.9/site-packages/flask/app.py", line 2242, in preprocess_request
python-searchable-postgresqlweb-1         |     rv = func()
python-searchable-postgresqlweb-1         |   File "/venv/lib/python3.9/site-packages/flask_wtf/csrf.py", line 225, in csrf_protect
python-searchable-postgresqlweb-1         |     self.protect()
python-searchable-postgresqlweb-1         |   File "/venv/lib/python3.9/site-packages/flask_wtf/csrf.py", line 260, in protect
python-searchable-postgresqlweb-1         |     self._error_response(e.args[0])
python-searchable-postgresqlweb-1         |   File "/venv/lib/python3.9/site-packages/flask_wtf/csrf.py", line 303, in _error_response
python-searchable-postgresqlweb-1         |     raise CSRFError(reason)
python-searchable-postgresqlweb-1         | flask_wtf.csrf.CSRFError: 400 Bad Request: The CSRF session token is missing.

The db is up (and i can access it) but no tables were created.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions