sstamatiadis-dlt commented on issue #42136: URL: https://github.com/apache/airflow/issues/42136#issuecomment-3836015321
Hi @DipBaldha, could you elaborate a bit further? I cannot find the `airflow.cfg` file because it is being generated as I understand. There is only a airflow-default.cfg if I am not mistaken. Thank you for spending the time to comment. I quickly deployed latest airflow 3.1.6 version using the same Helm chart and I still get this error: `Log message source details sources=["Could not read served logs: Invalid URL 'http://:8793/log/dag_id=demo_DAG/run_id=manual__2026-02-02T15:38:52+00:00/task_id=meteo-data_fetching_in_airflow/attempt=1.log': No host supplied"]` <img width="1097" height="263" alt="Image" src="https://github.com/user-attachments/assets/8e00a112-8748-4c21-86cb-3963aacf6550" /> My DAG code part that fails is something like the following: ``` from airflow import DAG from airflow.operators.python import PythonOperator from airflow.operators.bash import BashOperator from airflow.providers.ssh.operators.ssh import SSHOperator from airflow.providers.ssh.hooks.ssh import SSHHook from datetime import datetime,timedelta sshHook_py = SSHHook(ssh_conn_id="jupyterlab", cmd_timeout=3600) sshHook_r = SSHHook(ssh_conn_id="rstudio", cmd_timeout=3600) default_args = { 'owner': 'airflow', 'depends_on_past': False, 'email_on_failure': False, 'email_on_retry': False, 'retries': 0, 'retry_delay': timedelta(minutes=1) } dag = DAG( dag_id='demo_DAG', default_args=default_args, # schedule_interval="@daily", # DEPRECATED in airflow 3.0.2 schedule="@daily", start_date=datetime(2022, 1, 1), catchup=False ) t6 = BashOperator( task_id='meteo-data_fetching_in_airflow', bash_command='python /opt/airflow/dags/demo/code/meteo_data_fetching.py', dag=dag ) t6 >> [t1, t3] ... ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
