blakeblackshear / frigate-hass-integration

Frigate integration for Home Assistant
MIT License
741 stars 117 forks source link

Error doing job: Task exception was never retrieved (None) #704

Closed aredon closed 1 month ago

aredon commented 2 months ago

Version of the custom_component

5.3.0

Describe the bug

Great question. I truly have no idea.

Debug log


This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/frigate/views.py:417
integration: Frigate (documentation, issues)
First occurred: 5:17:47 PM (4 occurrences)
Last logged: 8:38:12 PM

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 978, in _read_ready__get_buffer
    nbytes = self._sock.recv_into(buf)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/config/custom_components/frigate/views.py", line 417, in _proxy_msgs
    await ws_out.send_bytes(msg.data)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_ws.py", line 382, in send_bytes
    await self._writer.send(data, binary=True, compress=compress)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 728, in send
    await self._send_frame(message, WSMsgType.BINARY, compress)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 692, in _send_frame
    await self.protocol._drain_helper()
  File "/usr/local/lib/python3.12/site-packages/aiohttp/base_protocol.py", line 95, in _drain_helper
    await asyncio.shield(waiter)
ConnectionError: Connection lost
clowncracker commented 2 months ago

I'm having the same issue.

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

aletzi1 commented 3 weeks ago

I got the same issue. Frigate log is empty.

Lokikirjaaja: homeassistant Lähde: custom_components/frigate/views.py:417 integraatio: Frigate (dokumentaatio, ongelmat) Ensimmäistä kertaa ilmennyt: 13. lokakuuta 2024 klo 03.19.44 (10 tapahtumat) Viimeksi kirjattu: 13. lokakuuta 2024 klo 17.45.10

Error doing job: Task exception was never retrieved (None) Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 978, in _read_ready__get_buffer nbytes = self._sock.recv_into(buf) ^^^^^^^^^^^^^^^^^^^^^^^^^ ConnectionResetError: [Errno 104] Connection reset by peer

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/config/custom_components/frigate/views.py", line 417, in _proxy_msgs await ws_out.send_bytes(msg.data) File "/usr/local/lib/python3.12/site-packages/aiohttp/web_ws.py", line 394, in send_bytes await self._writer.send(data, binary=True, compress=compress) File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 748, in send await self._send_frame(message, WSMsgType.BINARY, compress) File "/usr/local/lib/python3.12/site-packages/aiohttp/http_websocket.py", line 712, in _send_frame await self.protocol._drain_helper() File "/usr/local/lib/python3.12/site-packages/aiohttp/base_protocol.py", line 96, in _drain_helper await asyncio.shield(waiter) ConnectionError: Connection lost

clowncracker commented 2 weeks ago

I'm having this issue as well.