ahipp13 commented on issue #54192:
URL: https://github.com/apache/airflow/issues/54192#issuecomment-3161111945
I am also getting this error too when I am trying to look at logs in the UI,
and I have no clue why
```
api-server [2025-08-06T18:11:23.134+0000] {file_task_handler.py:603} ERROR -
Could not read served logs
││ api-server Traceback (most recent call last):
││ api-server File
"/opt/airflow/lib/python3.12/site-packages/urllib3/connection.py", line 198, in
_new_conn ││
api-server sock = connection.create_connection(
││ api-server ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
││ api-server File
"/opt/airflow/lib/python3.12/site-packages/urllib3/util/connection.py", line
60, in create_connec
tion ││ api-server for
res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
││
api-server
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
││ api-server
File "/usr/lib/python3.12/socket.py", line 978, in getaddrinfo
││
api-server for res in _socket.getaddrinfo(host, port, family, type, proto,
flags):
││ api-server
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
││ api-server
socket.gaierror: [Errno -2] Name or service n
ot known
```
--
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]