Questions tagged [airflow-webserver]

161 questions
10
votes
5 answers

How to fix "Failed to fetch log file from worker. Unsupported URL protocol" error in Airflow DAG logs?

I am running Airflow via docker through this image apache/airflow:2.1.0 Please refer to this thread for the initial error I faced. Currently I am able to run my previous existing DAGs. However when I add newer DAGS I get the following error in the…
raaj
  • 403
  • 1
  • 5
  • 17
7
votes
0 answers

Airflow webserver No module named 'airflow.www.fab_security'

I am running Airflow 1.10.12 on Ubuntu. Airflow was running fine using local executor and MySql. In order to conduct some tests, I have moved to Celery executer with RabbitMQ. Based on a tutorial, here is my config file: [core] executor =…
Paniz Asghari
  • 145
  • 1
  • 10
5
votes
0 answers

No response from gunicorn master within 120 seconds after pointing to external postgres

I am deploying airflow latest release using Docker, everything works fine until I point the database to an external Postgres Database. As soon as the database is pointed to an external database the webserver container doesn't get up. The release is…
3
votes
4 answers

How to reset a local airflow webserver user's password

I forgot my local airflow webserver password, it is possible to reset it? I tried to create a new user, but it say that my account already exists, so I would like to reset the password.
devinho
  • 404
  • 4
  • 18
3
votes
1 answer

Airflow is used by many users, and it is very likely that others had similar problems and you can easily find a solution to your problem

Recently I have upgraded airflow to the newer available version 2.2.1 and getting weird error of using airflow by many users. After refreshing 2-3 times, I can see webserver UI page but it is breaking in every first action. I have used LocalExecutor…
RohitPorwal
  • 1,045
  • 15
  • 23
2
votes
1 answer

Airflow UI failing to fetch same-task different-retry logs from different nodes in cluster

I kind-of "inherited" a project that uses Airflow 2.2.4 installed on a cluster of several nodes (meaning that I wasn't part of the deployment decisions and configurations and I might not be aware of some under-the-hood processes). Each node runs a…
2
votes
1 answer

Airflow tasks ending up in Retry state without logs

Hi I'm currently running airflow on a Dataproc cluster. My DAGs used to run fine but facing this issue where tasks are ending up in 'retry' state without any logs when I click on task instance -> logs on airflow UI I see the following error in…
Fremzy
  • 290
  • 2
  • 12
2
votes
1 answer

RuntimeError: Missing "jwks_uri" in metadata for flask and Azure AD authlib

I tried login in via Azure AD in airflow container. I setting de webserver_config.py OAUTH_PROVIDERS = [ { 'name':'azure', 'token_key':'access_token', 'icon':'fa-windows', 'remote_app': { "api_base_url":…
alexis.araya
  • 95
  • 1
  • 10
2
votes
0 answers

KubernetesPodOperator failing with Forbidden

I am running a KubernetesPodOperator as below: with DAG(DAG_NAME, default_args=default_args, schedule_interval=None) as dag: start_task = DummyOperator(task_id='start_task') k8s_task = KubernetesPodOperator(namespace=namespace, …
2
votes
0 answers

How can I disable internal Airflow errors to be logged via sentry but still se DAG execution errors?

I have enabled sentry [1.5.0] with apache airflow [Version 2.2.2] using following configuration in config file. [sentry] sentry_on: True sentry_dsn: [DSN] sentry_environment: dev It seems to work just fine for all sort of errors. However Airflow…
JD-V
  • 3,336
  • 1
  • 17
  • 20
2
votes
0 answers

Airflow Webserver worker not launching

I am new to Airflow so please pardon me if it is a stupid doubt. My workspace in a server which was hosting Airflow had crashed and I was trying to restart it , but all my attempts have been in vain so far, I am stuck with below message in airflow…
av abhishiek
  • 647
  • 2
  • 11
  • 26
2
votes
0 answers

Can't access to XCOM view in Airflow 2.1.2

When I go to Admin --> Xcom section in Airflow 2.1.2 Webserver UI I get this error: Traceback (most recent call last): File "/home/airflow/.local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app response =…
mrc
  • 2,845
  • 8
  • 39
  • 73
2
votes
0 answers

How to pass a conf to a scheduled DAG

When the DAG is triggered manually there are multiple ways to pass the config. It could be done from the UI, via the airflow CLI using --conf argument & using the REST API. But when a DAG is scheduled using a cron expression, the DAG always fails…
user3583252
  • 493
  • 1
  • 5
  • 15
2
votes
1 answer

Unable to start Apache Airflow webserver due to dagbag /dev/null error

I have installed apache airflow V 2.1.0 on Ubuntu running on Windows Linux subsystem(WSL). After installation, I have created an admin user and also set the AIRFLOW_HOME variable in the ~/.bashrc file as below export AIRFLOW_HOME=~/airflow However,…
Ashis Sahoo
  • 104
  • 2
  • 8
1
vote
1 answer

Apache airflow issue while running airflow helm chart 8.7.0 and web server in not running it is stuck on worker exit and restarting

`I am using airflow 8.7.0 helm chart and up airflow pods but the web server pod is restarting after giving worker exit error and Received signal: 15. Closing gunicorn. Error Logs [2023-07-10 05:42:16,665] {providers_manager.py:235} INFO - Optional…
1
2 3
10 11