badconga icon indicating copy to clipboard operation
badconga copied to clipboard

Uncaught thread exception

Open HektorB opened this issue 4 years ago • 1 comments

Logger: root Source: custom_components/badconga/app/socket.py:28 First occurred: 12:13:54 (1 occurrences) Last logged: 12:13:54 Uncaught thread exception

Traceback (most recent call last): File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/local/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/config/custom_components/badconga/app/conga.py", line 51, in on_logout self.loop() File "/config/custom_components/badconga/app/conga.py", line 30, in loop return self.client.login(self.email, self.password) File "/config/custom_components/badconga/app/client.py", line 194, in login self.socket.connect() File "/config/custom_components/badconga/app/socket.py", line 28, in connect self.sock.connect((self.host, self.port)) TimeoutError: [Errno 110] Operation timed out

I get that error from the Home Assistant log. My solution proposal is to catch that error and retry the connect call until the connection is successfully established.

HektorB avatar Dec 01 '20 11:12 HektorB

Should be fixed now with #18. It would be nice if you could report your model code (from the vacuum.conga entity) and model name after updating.

zzarne avatar Feb 07 '21 18:02 zzarne