santurini opened a new issue, #59243: URL: https://github.com/apache/airflow/issues/59243
### Apache Airflow version Other Airflow 2/3 version (please specify below) ### If "Other Airflow 2/3 version" selected, which one? 3.0.2 ### What happened? All my dags are failing out of nowhere with this log: Log message source details: sources=["Could not read served logs: Invalid URL 'http://:8793/log/dag_id=debug_variable_access/run_id=manual__2025-12-09T16:09:40.619210+00:00/task_id=read_and_log_variables/attempt=1.log': No host supplied"] ### What you think should happen instead? The dag should run succesfully ### How to reproduce Example DAG: ``` from __future__ import annotations from datetime import datetime from airflow.decorators import dag, task from airflow.models import Variable @dag( dag_id="debug_variable_access", start_date=datetime(2024, 1, 1), schedule=None, catchup=False, tags=["debug"], ) def debug_variable_dag(): @task def read_and_log_variables(): """Reads the specific variables and logs them.""" import logging try: # Using the default_var parameter will prevent the task from failing # and will help us debug the value. token = Variable.get("GIT_TOKEN", default_var="[GIT_TOKEN NOT FOUND]") version = Variable.get("COMPANY_DATA_MODEL_PKG_VERSION", default_var="[VERSION NOT FOUND]") logging.info(f"GIT_TOKEN found: '{token}'") logging.info(f"COMPANY_DATA_MODEL_PKG_VERSION found: '{version}'") except Exception as e: logging.error(f"An unexpected error occurred: {e}") read_and_log_variables() debug_variable_dag() ``` ### Operating System PRETTY_NAME="Ubuntu 24.04.2 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.2 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=noble LOGO=ubuntu-logo ### Versions of Apache Airflow Providers _No response_ ### Deployment Official Apache Airflow Helm Chart ### Deployment details Kubernetes deployment values: ``` images: airflow: repository: ${IMAGE_NAME} tag: ${VERSION} pullPolicy: Always ingress: apiServer: enabled: true annotations: projectcontour.io/response-timeout: "120s" hosts: - name: "airflow.staging.translated.cloud" ingressClassName: "contour" env: - name: "AIRFLOW__API__AUTH_BACKEND" value: "airflow.api.auth.backend.basic_auth" - name: "AIRFLOW__CORE__DAGS_ARE_PAUSED_AT_CREATION" value: "True" - name: "AIRFLOW__CORE__LOAD_EXAMPLES" value: "False" - name: AIRFLOW__CORE__EXECUTE_TASKS_NEW_PYTHON_INTERPRETER value: "True" - name: AIRFLOW__LOGGING__REMOTE_LOGGING value: "True" - name: AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID value: "LoggingS3Connection" - name: AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER value: "s3://logs-archive-product-team/Airflow" - name: AIRFLOW__LOGGING__ENCRYPT_S3_LOGS value: "False" - name: AIRFLOW__CORE__ENABLE_XCOM_PICKLING value: "True" - name: AIRFLOW__SMTP__SMTP_HOST value: "smtp.gmail.com" - name: AIRFLOW__SMTP__SMTP_PORT value: "587" - name: AIRFLOW__SMTP__SMTP_SSL value: "False" - name: AIRFLOW__SMTP__SMTP_STARTTLS value: "True" - name: AIRFLOW__SMTP__SMTP_USER value: "[email protected]" - name: "CM_API_URL" value: "https://cm-api.translated.cloud/api" secret: - envName: "GIT_TOKEN" secretName: "airflow-git-token" secretKey: "GIT_TOKEN" data: metadataSecretName: "airflow-pgbouncer-connection" fernetKey: ${FERNET_KEY} webserverSecretKey: ${WEBSERVER_SECRET_KEY} workers: replicas: 1 registry: secretName: regcred postgresql: enabled: false pgbouncer: enabled: true configSecretName: airflow-pgbouncer-config metricsExporterSidecar: statsSecretName: airflow-pgbouncer-stats dags: gitSync: enabled: true repo: [email protected]:translated/airflow-dags.git branch: develop ref: develop depth: 1 subPath: "dags" sshKeySecret: airflow-ssh-secret ``` ### Anything else? For every dag that previously was working now I have this error ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
