ibotheperfect edited a comment on issue #9813:
URL: https://github.com/apache/airflow/issues/9813#issuecomment-694239759


   > Yeah. I'd also love some reproducibility path here. Maybe you can try to 
help us and narrow it down @thesuperzapper @waltermaldonado @hossein-jazayeri 
@ibotheperfect by trying different combinations of browsers, using different 
browser profiles, clearing the cache, etc.
   > 
   > I saw similar things happening when - during development - you use the 
same URL to test 1.10* and 2.* version of Airflow for example, or simply 
different versions of Airflow 1.10. In such cases the scripts and cookies get 
cached from different versions of Airflow and you need to clear cache to fix it 
- so if you could try it out on your systems that would help us to narrow down 
the issue.
   
   I deployed airflow via docker by using bitnami's image. This is happening 
both 1.10.11 and 1.10.12 versions. I also tried both chrome and firefox. Here 
is my docker-compose
   
   ```
   version: '3'
   services:
     postgresql:
       image: postgres:9.6
       environment:
         - POSTGRES_USER=airflow
         - POSTGRES_PASSWORD=airflow
         - POSTGRES_DB=airflow
         - PGDATA=/var/lib/postgresql/data/pgdata
       volumes:
         - ./pgdata:/var/lib/postgresql/data/pgdata
   
     redis:
       image: 'redis:5.0.5'
    
     airflow:
       image: bitnami/airflow:1.10.12
       environment:
         - AIRFLOW_DATABASE_NAME=airflow
         - AIRFLOW_DATABASE_USERNAME=airflow
         - AIRFLOW_DATABASE_PASSWORD=airflow
         - AIRFLOW_FERNET_KEY=****
         - AIRFLOW_EXECUTOR=CeleryExecutor
         - AIRFLOW_PASSWORD=airflow
         - AIRFLOW_USERNAME=admin
         - AIRFLOW_LOAD_EXAMPLES=no
       ports:
         - '8080:8080'
       volumes:
         - ./logs:/opt/bitnami/airflow/logs
         - ./dags:/opt/bitnami/airflow/dags
   
     scheduler:
       image: bitnami/airflow-scheduler:1.10.12
       environment:
         - AIRFLOW_DATABASE_NAME=airflow
         - AIRFLOW_DATABASE_USERNAME=airflow
         - AIRFLOW_DATABASE_PASSWORD=airflow
         - AIRFLOW_EXECUTOR=CeleryExecutor
         - AIRFLOW_FERNET_KEY=****
         - AIRFLOW_LOAD_EXAMPLES=no
       volumes:
         - ./logs:/opt/bitnami/airflow/logs
         - ./dags:/opt/bitnami/airflow/dags
   
     worker:
       image: bitnami/airflow-worker:1.10.12
       environment:
         - AIRFLOW_DATABASE_NAME=airflow
         - AIRFLOW_DATABASE_USERNAME=airflow
         - AIRFLOW_DATABASE_PASSWORD=airflow
         - AIRFLOW_EXECUTOR=CeleryExecutor
         - AIRFLOW_FERNET_KEY=****
         - AIRFLOW_LOAD_EXAMPLES=no
       volumes:
         - ./logs:/opt/bitnami/airflow/logs
         - ./dags:/opt/bitnami/airflow/dags
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to