potiuk commented on issue #26492: URL: https://github.com/apache/airflow/issues/26492#issuecomment-1251078527
From the discussion: Sorry if not clear, but this already happened in 2.4.0, which I installed today (It was fine on 2.3.3 and before). Running on Python 3.10.5. This is the message from the web UI:  This is the relevant log from the remote celery worker when the web UI requests the task log: ``` Sep 19 15:55:05 airflow[3734318]: [2022-09-19 15:55:05,027: INFO/ForkPoolWorker-15] Task airflow.executors.celery_executor.execute_command[af1dec61-b437-4605-980c-de2d65f60bd7] succeeded in 0.9207695280201733s: None Sep 19 15:55:11 airflow[3734281]: [2022-09-19 15:55:11,177] {serve_logs.py:104} WARNING - Unknown error Sep 19 15:55:11 airflow[3734281]: Traceback (most recent call last): Sep 19 15:55:11 airflow[3734281]: File "/data/apps/.pyenv/versions/3.10.5/envs/airflow-py310/lib/python3.10/site-packages/airflow/utils/serve_logs.py", line 64, in validate_pre_signed_url Sep 19 15:55:11 airflow[3734281]: request_filename = request.view_args['filename'] Sep 19 15:55:11 airflow[3734281]: TypeError: 'NoneType' object is not subscriptable ``` Looks like the `request.view_args` is `None` in the validation function. Don't know whether it's the root cause though. Do you need any additional logs? -- 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]
