1
resposta

Airflow webserver sem acesso ao log

Olá pessoal,

Fiz a instalação do airflow pelo docker. Estava tudo funcionando uma maravilha mas ao tentar fazer o exercício 1 tentei acessar os logs pela interface web e ele exibe a mensagem abaixo:

* Log file does not exist: /opt/airflow/logs/dag_id=atividade_aula_4/run_id=manual__2022-11-23T14:09:46.074308+00:00/task_id=cumprimentos/attempt=1.log * Fetching from: http://468161e879ac:8793/log/dag_id=atividade_aula_4/run_id=manual__2022-11-23T14:09:46.074308+00:00/task_id=cumprimentos/attempt=1.log * !!!! Please make sure that all your Airflow components (e.g. schedulers, webservers and workers) have the same 'secret_key' configured in 'webserver' section and time is synchronized on all your machines (for example with ntpd) !!!!! **** See more at https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#secret-key ** Failed to fetch log file from worker. Client error '403 FORBIDDEN' for url 'http://468161e879ac:8793/log/dag_id=atividade_aula_4/run_id=manual__2022-11-23T14:09:46.074308+00:00/task_id=cumprimentos/attempt=1.log' For more information check: https://httpstatuses.com/403

Resolvido, reinstalei tudo e remapeei os volumes.

1 resposta

Oii Bruno, tudo bem contigo?

Fico muito feliz que tenha conseguido resolver :)

Obrigada por compartilhar aqui no fórum também a forma que conseguiu resolver esse erro.

Qualquer dúvida estou à disposição. Bons estudos!