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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to