cossacklabs / acra-engineering-demo

Acra-based example projects: check how easy it is to deploy data security in typical web infrastructures.
https://www.cossacklabs.com/acra/
Apache License 2.0
28 stars 16 forks source link

Got an error reading communication packets #56

Open raosatyam opened 1 year ago

raosatyam commented 1 year ago

In "Example 4. Transparent encryption, Zones, Python app, MySQL" , I am having error "_mysql1 | 2023-06-20 20:30:30 178 [Warning] Aborted connection 178 to db: 'test' user: 'test' host: '172.20.0.5' (Got an error reading communication packets)" in following commands

_docker exec -it python-mysql_python_1 \ python3 extended_example_with_zone.py --host=acra-server --port=9393 --generatezone

_docker exec -it python-mysql_python_1 \ python3 extended_example_withoutzone.py --host=acra-server --port=9393 --data=data.json

How to resolve this?

Lagovas commented 1 year ago

We are sorry, but examples with zones are deprecated and scheduled for removal soon. We don't plan to support and maintain these examples. Please, try other examples with transparent encryption (with numbers 1, 3).