Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues when trying python-searchable example #71

Open
germanschnyder opened this issue Oct 25, 2023 · 1 comment
Open

Issues when trying python-searchable example #71

germanschnyder opened this issue Oct 25, 2023 · 1 comment
Assignees

Comments

@germanschnyder
Copy link

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.

@Zhaars
Copy link
Contributor

Zhaars commented Oct 25, 2023

Hello, @germanschnyder.
Thanks for pointing this out, we will take a look at that issue and return to you asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants