You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "nazarii-koblai (via GitHub)" <gi...@apache.org> on 2025/03/11 10:14:52 UTC

[I] Scheduler is unable to read logs [airflow]

nazarii-koblai opened a new issue, #47606:
URL: https://github.com/apache/airflow/issues/47606

   ### Apache Airflow version
   
   2.10.5
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Do consistently observer such error in scheduler logs. Were assuming someone closes the DB session explicitly within one of the DAGs, but I didn't found such place.
   
   `[2025-03-11T10:06:48.720+0000] {file_task_handler.py:623} ERROR - Could not read served logs
   Traceback (most recent call last):
     File "/home/airflow/.local/lib/python3.12/site-packages/airflow/utils/log/file_task_handler.py", line 599, in _read_from_logs_server
       log_type = LogType.TRIGGER if ti.triggerer_job else LogType.WORKER
                                     ^^^^^^^^^^^^^^^^
     File "/home/airflow/.local/lib/python3.12/site-packages/sqlalchemy/ext/associationproxy.py", line 193, in __get__
       return inst.get(obj)
   `
   
   ### What you think should happen instead?
   
   Errors should no appear
   
   ### How to reproduce
   
   Hard to say. Maybe its only related to my particular setup. But there are no something special.
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### 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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Scheduler is unable to read logs [airflow]

Posted by "karenbraganz (via GitHub)" <gi...@apache.org>.
karenbraganz closed issue #47606: Scheduler is unable to read logs
URL: https://github.com/apache/airflow/issues/47606


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org