diff --git a/avocado/core/status/server.py b/avocado/core/status/server.py index 046dbd6873..d2ccf9d725 100644 --- a/avocado/core/status/server.py +++ b/avocado/core/status/server.py @@ -50,7 +50,10 @@ def close(self): async def cb(self, reader, _): while True: - raw_message = await reader.readline() + try: + raw_message = await reader.readline() + except ConnectionResetError: + continue if not raw_message: return self._repo.process_raw_message(raw_message)