SonoffLAN icon indicating copy to clipboard operation
SonoffLAN copied to clipboard

Cloud WS exception

Open MikeBP13 opened this issue 8 months ago • 0 comments

I've got the following error in the HA log:

This error originated from a custom integration.

Logger: custom_components.sonoff.core.ewelink.cloud
Source: custom_components/sonoff/core/ewelink/cloud.py:562
integration: Sonoff (documentation, issues)
First occurred: 21:00:38 (1 occurrences)
Last logged: 21:00:38

Cloud WS exception
Traceback (most recent call last):
  File "/config/custom_components/sonoff/core/ewelink/cloud.py", line 562, in connect
    resp = await self.ws.receive_json()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client_ws.py", line 407, in receive_json
    data = await self.receive_str(timeout=timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client_ws.py", line 388, in receive_str
    raise WSMessageTypeError(
        f"Received message {msg.type}:{msg.data!r} is not WSMsgType.TEXT"
    )
aiohttp.client_exceptions.WSMessageTypeError: Received message 8:1000 is not WSMsgType.TEXT

First appearance was after I've updated the HA OS to v15.1.

MikeBP13 avatar Mar 31 '25 18:03 MikeBP13