Could not read served logs: Invalid URL 'http://:8793....': Not host supplied #45525
Replies: 3 comments
-
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. |
Beta Was this translation helpful? Give feedback.
-
This is a configuration discussion not airlfow issue - converting it to a discussion. You should likely follow the IP route described in https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#hostname-callable - for some reason the way how DNS works, default hostname callable does not provide name of the worker. |
Beta Was this translation helpful? Give feedback.
-
Firstly, the I have just encountered a similar issue, and the exception I got was “ However, in your situation, it seems the issue might stem from the hostname not being recorded correctly to In your case, I would first verifying whether logs for successfully executed If any part of my reasoning or logic is incorrect, please feel free to point it out. :) |
Beta Was this translation helpful? Give feedback.
-
Official Helm Chart version
1.15.0 (latest released)
Apache Airflow version
2.9.3
Kubernetes Version
Client Version: v1.30.2 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.30.6-eks-7f9249a
Helm Chart configuration
I deployed Airflow using the Helm chart on the AWS Kubernetes cluster, made some changes like using an existing Redis and synchronizing with GitHub. However, my DAG always gives this log error. I saw that it could be the base_url; mine is set to http://airflow-webserver.airflow.svc.cluster.local:8080/. I tried updating my Airflow version to a more recent one in the values.yaml file, but my webserver pod throws an error when I do that.
Docker Image customizations
No response
What happened
No response
What you think should happen instead
No response
How to reproduce
Using the helm chart at the link: https://airflow.apache.org/docs/helm-chart/stable/index.html
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions