xnuinside / airflow_in_docker_compose

Apache Airflow in Docker Compose (for both versions 1.10.* and 2.*)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad FERNET key

igormusinov opened this issue · comments

commented

I faced the problem with FERNET key from https://github.com/xnuinside/airflow_in_docker_compose/blob/master/.env

airflow.exceptions.AirflowException: Could not create Fernet object: Invalid base64-encoded string: number of data characters (53) cannot be 1 more than a multiple of 4

Generating by this instruction helped
https://airflow.apache.org/docs/apache-airflow/stable/security/secrets/fernet.html

I'm not sure why I cannot get this error log, but anyway - I changed the fernet key - #14. Thank you for reporting the issue! I merged the fix, so I will close an issue. Thanks one more time!