Apache Airflow version
3.1.8
If "Other Airflow 3 version" selected, which one?
No response
What happened?
Hello dear friends!
Today I updated Airflow from 3.1.5 to 3.1.8. The "airflow db migrate" were also performed in our k8s. After that, launching DAG's and reading logs was no longer possible.
The container logs contain errors like:
"httpcore.ConnectError: [Errno -2] Name or service not known"
In the UI, I see this:
Log message source details sources=["Could not read served logs: Invalid URL 'http://:8793/log/dag_id=test_dag_check/run_id=scheduled__2026-03-19T07:35:00+00:00/task_id=send_command/attempt=1.log' : No host supplied"]
It seems that he stopped receiving "hostname" after this update.
I also tried to specify it in airflow.cfg:
[core]
hostname_callable = airflow.utils.net.get_host_ip_address
But the problem repeats.
I'm sorry, that's all I can point out at the moment.
Maybe someone has encountered the same thing?
And an additional question, can I do:
airflow db downgrade --to-version 3.1.5 so that I can return to the working version 3.1.5?
Thank you for helping!
What you think should happen instead?
DAG's must be executed, logs must be visible
How to reproduce
- Update the airflow package from 3.1.5 to 3.1.8 in the Dockerfile
- Launch the init container with "airflow db migrate"
- Try to run the DAG
Operating System
ubuntu:22.04
Versions of Apache Airflow Providers
I use several packages from https://raw.githubusercontent.com/apache/airflow/constraints-3.1.8/constraints-3.10.txt
Deployment
Other Docker-based deployment
Deployment details
helm,k8s
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
Apache Airflow version
3.1.8
If "Other Airflow 3 version" selected, which one?
No response
What happened?
Hello dear friends!
Today I updated Airflow from 3.1.5 to 3.1.8. The "airflow db migrate" were also performed in our k8s. After that, launching DAG's and reading logs was no longer possible.
The container logs contain errors like:
"httpcore.ConnectError: [Errno -2] Name or service not known"
In the UI, I see this:
Log message source details sources=["Could not read served logs: Invalid URL 'http://:8793/log/dag_id=test_dag_check/run_id=scheduled__2026-03-19T07:35:00+00:00/task_id=send_command/attempt=1.log' : No host supplied"]
It seems that he stopped receiving "hostname" after this update.
I also tried to specify it in airflow.cfg:
[core]
hostname_callable = airflow.utils.net.get_host_ip_address
But the problem repeats.
I'm sorry, that's all I can point out at the moment.
Maybe someone has encountered the same thing?
And an additional question, can I do:
airflow db downgrade --to-version 3.1.5 so that I can return to the working version 3.1.5?
Thank you for helping!
What you think should happen instead?
DAG's must be executed, logs must be visible
How to reproduce
Operating System
ubuntu:22.04
Versions of Apache Airflow Providers
I use several packages from https://raw.githubusercontent.com/apache/airflow/constraints-3.1.8/constraints-3.10.txt
Deployment
Other Docker-based deployment
Deployment details
helm,k8s
Anything else?
No response
Are you willing to submit PR?
Code of Conduct