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
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: