Skip to content

api-server silent crash - when trying to see task (DTM ) no more present on the latest dag code #64877

Closed

Description

@raphaelauv

Under which category would you file this issue?

Airflow Core

Apache Airflow version

3.2.0

What happened and how to reproduce it?

I can't see anymore the UI but the api-server is still running


open a dag with tasks no more present on the code dag

click on the existing tasks of the dag

then click on the name of a task no more present ( not on the grid box of a previous execution ) then the UI fail and api-server will never answer back and after around 3/4 minutes the api-server logs will show errors but still not answering

Screencast.from.2026-04-08.05-03-05.webm

api_serser.log

Only restarting manually the api-server correct the situation

Versions of Apache Airflow Providers

apache-airflow-providers-postgres==6.6.2
apache-airflow-providers-celery==3.17.2
apache-airflow-providers-redis==4.4.3
apache-airflow-providers-docker==4.5.4
apache-airflow-providers-cncf-kubernetes==10.15.0
apache-airflow-providers-http==6.0.1
apache-airflow-providers-common-sql==1.34.0
apache-airflow-providers-standard==1.12.2
apache-airflow-providers-fab==3.6.0
apache-airflow-providers-apache-spark==6.0.0
apache-airflow-providers-common-compat==1.14.2

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:bug
    needs-triage
    on Apr 8, 2026
  2. added
    area:API
    priority:critical
    on Apr 8, 2026
  3. changed the title [-]api-server silent crash[/-] [+]api-server silent crash when trying to see logs of task no more present on the latest dag code[/+] on Apr 8, 2026
  4. changed the title [-]api-server silent crash when trying to see logs of task no more present on the latest dag code[/-] [+]api-server DTM - silent crash when trying to see task no more present on the latest dag code[/+] on Apr 8, 2026
  5. changed the title [-]api-server DTM - silent crash when trying to see task no more present on the latest dag code[/-] [+]api-server silent crash - when trying to see task (DTM ) no more present on the latest dag code[/+] on Apr 8, 2026
  6. removed
    priority:critical
    needs-triage
    on Apr 8, 2026
  7. vatsrahul1001 commented on Apr 8, 2026

    @vatsrahul1001
    Contributor

    Not able to replicate this

  8. raphaelauv commented on Apr 8, 2026

    @raphaelauv
    ContributorAuthor

    Hello, thanks for trying. What have you exactly tried? Did you check my screenrecording video ? Thanks

  9. added
    affected_version:3.2
    on Apr 8, 2026
  10. codecae commented on Apr 29, 2026

    @codecae
    Contributor

    I'm experiencing something similar.. have multiple api server pods running and they seem to be doing fine and then at some point they all just stop responding entirely and hang indefinitely until restarted. Surrounding services fail to run heartbeats and eventually have issues as well.

  11. codecae commented on Apr 29, 2026

    @codecae
    Contributor

    attempted to switch to gunicorn for more resiliency and get the following in the logs when things fall apart:

    2026-04-29T14:47:47.020086Z [info [] request finished [http.access] client_addr=10.195.69.34:29323 duration_us=2132954 loc=http_access_log.py:98 method=PUT path=/execution/task-instances/019dd8a6-963c-7740-bf17-d76befb1369c/heartbeat query= status_code=204
    2026-04-29T14:49:02.747620Z [critical [] WORKER TIMEOUT (pid:211) [gunicorn.error] loc=glogging.py:268
    2026-04-29T14:49:03.841194Z [error [] Worker (pid:211) was sent SIGKILL! Perhaps out of memory? [gunicorn.error] loc=glogging.py:271
    2026-04-29T14:49:03.849707Z [info [] Control socket listening at /home/airflow/.gunicorn/gunicorn.ctl [gunicorn.error] loc=glogging.py:277

    The pods are not out of memory. they have plenty of available compute.

    When this occurs, a domino effect begins. the workers can't communicate so they eventually die off as well killing all active tasks that may have been running at the time.

  12. codecae commented on Apr 29, 2026

    @codecae
    Contributor

    The API server is the beating heart of this stack. if it's not stable, the entire stack loses viability.

  13. pierrejeambrun commented on Aug 13, 2026

    @pierrejeambrun
    Member

    Closing, that was most probably caused by grid ti summaries streaming response leaking db connections, fixed by #65162 and #65179.

    I can't reproduce on main. Feel free to re-open if you still experience this.

  14. raphaelauv commented on Aug 13, 2026

    @raphaelauv
    ContributorAuthor

    yes the bug is no more present on 3.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected_version:3.2area:APIarea:corekind:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions