diff --git a/aioshelly/rpc_device/wsrpc.py b/aioshelly/rpc_device/wsrpc.py index 2fa02409..4113d5c4 100644 --- a/aioshelly/rpc_device/wsrpc.py +++ b/aioshelly/rpc_device/wsrpc.py @@ -354,7 +354,12 @@ async def _rx_msgs(self) -> None: self._port, err, ) - except ConnectionClosed: + except (ConnectionClosed, client_exceptions.ClientConnectionResetError): + _LOGGER.debug( + "Connection issue with device %s:%s", + self._ip_address, + self._port, + ) break except Exception: _LOGGER.exception("Unexpected error while receiving message")