I installed the smartthings integration for my samsung airco (windfree model).
Works as far as I can see good, but in the log there is every now and then (sometimes once/twice a day, sometimes once/twice a week) the following error in the log. Does anyone know if this can be ignored? Or else what I can do about it?
Eerst voorgekomen: 19 juni 2025 om 00:22:33 (2 gebeurtenissen)
Laatst gelogd: 19 juni 2025 om 03:42:00
Connection error occurred while subscribing to events
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/aiohttp/client_proto.py", line 144, in connection_lost
uncompleted = self._parser.feed_eof()
File "aiohttp/_http_parser.pyx", line 508, in aiohttp._http_parser.HttpParser.feed_eof
aiohttp.http_exceptions.TransferEncodingError: 400, message:
Not enough data to satisfy transfer length header.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/pysmartthings/smartthings.py", line 527, in subscribe
await self._internal_subscribe(session, subscription_url)
File "/usr/local/lib/python3.13/site-packages/pysmartthings/smartthings.py", line 439, in _internal_subscribe
async for event in event_source:
...<49 lines>...
break
File "/usr/local/lib/python3.13/site-packages/aiohttp_sse_client2/client.py", line 157, in __anext__
async for line_in_bytes in self._response.content:
...<21 lines>...
self._process_field(line, '')
File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 52, in __anext__
rv = await self.read_func()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 352, in readline
return await self.readuntil()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 386, in readuntil
await self._wait("readuntil")
File "/usr/local/lib/python3.13/site-packages/aiohttp/streams.py", line 347, in _wait
await waiter
aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed: <TransferEncodingError: 400, message='Not enough data to satisfy transfer length header.'>