Hi. I wanted to use the SMB-Backup-Tool and have seen “500 Internal Server Error” in the logs from the Add-On. I checked other Add-Ons - the same.
Also after uninstalling the SMB-Backup-Add-On still “500 Internal Server Error”.
Can someone tell me, how to fix this?
Thanks
I’m having the same issue.
All log types except Home Assistant Core and Supervisor show “500 internal server error”.
Core 2024.11.3
Supervisor 2024.11.4
Operating System 13.2
Frontend 20241106.2
Hardware Raspberry Pi 3 (32-bit)
I do see the following in the Supervisor log each time I try to show it:
2024-12-01 21:41:01.789 ERROR (MainThread) [supervisor.api] Failed to get supervisor logs using advanced_logs API
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 1065, in write
n = self._sock.send(data)
^^^^^^^^^^^^^^^^^^^^^
BrokenPipeError: [Errno 32] Broken pipe
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/api/__init__.py", line 403, in get_supervisor_logs
return await self._api_host.advanced_logs_handler(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/api/host.py", line 250, in advanced_logs_handler
async with self.sys_host.logs.journald_logs(
File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/host/logs.py", line 171, in journald_logs
async with session.get(
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 1360, in __aenter__
self._resp: _RetType = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 690, in _request
await resp.start(conn)
File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1059, in start
message, payload = await protocol.read() # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/streams.py", line 644, in read
await self._waiter
aiohttp.client_exceptions.ClientOSError: [Errno 32] Broken pipe
Same issue here.
All logs show internal server error except supervisor and core.
Core 2024.12.3
Supervisor 2024.11.4
Frontend 20241127.8
Running on Arch.
Other functionality works fine. Just installed addons and updated core today.
Yeah, same issue
I have the same issue with my Add-Ons File Editor, Lets Encrypt, NGINX, Samba share, Terminal & SSH.
Any ideas?
- Core2024.12.5
- Supervisor2024.12.0
- Operating System14.1
- Frontend20241127.8
Same here, how to fix this please
Following, same issue here.
Having this as well from time to time. It fixes automatically after some time. But no idea why and how.
Hello,
I have exactly the same problem.
My HA verison :
- Core 2025.1.0
- Superviso r2024.12.3
- Operating System 14.1
- Interface utilisateur 20250103.0
2025-01-04 16:59:08.823 ERROR (MainThread) [supervisor.api] Failed to get supervisor logs using advanced_logs API
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 1065, in write
n = self._sock.send(data)
^^^^^^^^^^^^^^^^^^^^^
BrokenPipeError: [Errno 32] Broken pipe
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/api/__init__.py", line 403, in get_supervisor_logs
return await self._api_host.advanced_logs_handler(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/api/host.py", line 250, in advanced_logs_handler
async with self.sys_host.logs.journald_logs(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/contextlib.py", line 210, in __aenter__
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/host/logs.py", line 171, in journald_logs
async with session.get(
^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 1425, in __aenter__
self._resp: _RetType = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 730, in _request
await resp.start(conn)
File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1059, in start
message, payload = await protocol.read() # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/streams.py", line 671, in read
await self._waiter
aiohttp.client_exceptions.ClientOSError: [Errno 32] Broken pipe
Following, same issue here. Solves itself on a reboot, but after breaks again after a few minutes.
Following, same issue for me also.
Who can have a solution?
I join, I also have this problem.
- Core 2025.1.1
- Supervisor 2024.12.3
i join also.
- Core2025.1.2
- Supervisor2024.12.3
- Operating System14.1
- Frontend20250106.0