Jakin-Liu opened a new issue #20577:
URL: https://github.com/apache/airflow/issues/20577


   ### Apache Airflow version
   
   2.0.1
   
   ### What happened
   
   I have many DAGs executed in the same time period. Every day, several DAGs 
fail to execute. There are many tasks in this DAG, but one task fails to 
execute, and no relevant log information will be generated after the task 
fails. What should I do.
   
   
   error info is:
   
   *** Unable to read remote log from 
gs://xxxxxxxxxxxx/logs/abcd_dag/xxxxx/2021-12-28T17:00:00+00:00/5.log
   *** 404 GET 
https://storage.googleapis.com/download/storage/v1/b/xxxxxxxx/o/logs%2Fxxxxxxx_dag%2Fxxxxx%2F2021-12-28T17%3A00%3A00%2B00%3A00%2F5.log?alt=media:
 No such object: 
xxxxxx/logs/xxxxxx_dag/xxxxxx_Redeem/2021-12-28T17:00:00+00:00/5.log: ('Request 
failed with status code', 404, 'Expected one of', <HTTPStatus.OK: 200>, 
<HTTPStatus.PARTIAL_CONTENT: 206>)
   
   *** Log file does not exist: 
/home/airflow/gcs/logs/xxxxxx_dag/xxxxx/2021-12-28T17:00:00+00:00/5.log
   *** Fetching from: 
http://:8793/log/xxxxx_dag/xxxxxxx_Redeem/2021-12-28T17:00:00+00:00/5.log
   *** Failed to fetch log file from worker. Invalid URL 
'http://:8793/log/xxxxxxxx/xxxx/2021-12-28T17:00:00+00:00/5.log': No host 
supplied
   
   ### What you expected to happen
   
   _No response_
   
   ### How to reproduce
   
   _No response_
   
   ### Operating System
   
   os
   
   ### 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?
   
   - [X] 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