Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught thread exception #8

Open
HektorB opened this issue Dec 1, 2020 · 1 comment
Open

Uncaught thread exception #8

HektorB opened this issue Dec 1, 2020 · 1 comment

Comments

@HektorB
Copy link

HektorB commented Dec 1, 2020

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.

@zzarne
Copy link
Collaborator

zzarne commented Feb 7, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants