GitHub user manojnkhunte added a comment to the discussion: FORBIDDEN access to 
worker's logs

firstly login to all airflow containers like scheduler,webserver,worker and see 
if you see same time . if yes it means time is already synchronised. 
then place below variable like below .... 
x-airflow-common:
  &airflow-common
  # In order to add custom dependencies or upgrade provider packages you can 
use your extended image.
  # Comment the image line, place your Dockerfile in the directory where you 
placed the docker-compose.yaml
  # and uncomment the "build" line below, Then run `docker-compose build` to 
build the images.
  image: ${AIRFLOW_IMAGE_NAME:-apache/airflow:2.10.0}
  # build: .
  environment:
    &airflow-common-env
    AIRFLOW__CORE__EXECUTOR: CeleryExecutor
    AIRFLOW__DATABASE__SQL_ALCHEMY_CONN: 
postgresql+psycopg2://airflow:airflow@postgres/airflow
    AIRFLOW__CELERY__RESULT_BACKEND: 
db+postgresql://airflow:airflow@postgres/airflow
    AIRFLOW__CELERY__BROKER_URL: redis://:@redis:6379/0
    AIRFLOW__CORE__FERNET_KEY: ''
    **AIRFLOW__WEBSERVER__SECRET_KEY: 'your_airflow_webserver_sec_key'**
you can copy paste AIRFLOW__WEBSERVER__SECRET_KEY as it is .
.... it works with this , hope it helps 

GitHub link: 
https://github.com/apache/airflow/discussions/17251#discussioncomment-11255291

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to