You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not a programmer, but forcing the max_msg_size value to 16777216 (default max from the const.py file) allows the integration to return to normal operation (as far as I've seen so far). Didn't trace the issue any further (and I just tinker) but best as I can see the value being read at the top of the __init__.py file seems to be coming up empty. Probably a simple actual fix.
Line 455 in __init__.py: self._connection = await session.ws_connect(url, max_msg_size = 16777216)
@lukas-hetzenecker
See log
Denne fejl stammer fra en brugerdefineret integration.
Logger: homeassistant
Kilde: custom_components/remote_homeassistant/init.py:455
integration: Remote Home-Assistant (dokumentation, problemer)
Første forekomst: 13.47.58 (1 forekomster)
Senest logget: 13.47.58
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/config/custom_components/remote_homeassistant/init.py", line 265, in setup_components_and_platforms
await remote.async_connect()
File "/config/custom_components/remote_homeassistant/init.py", line 455, in async_connect
self._connection = await session.ws_connect(url, max_msg_size = self._max_msg_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 1107, in _ws_connect
conn_proto.set_parser(WebSocketReader(reader, max_msg_size), reader)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
TypeError: Argument 'max_msg_size' has incorrect type (expected int, got NoneType)
The text was updated successfully, but these errors were encountered: