-
Notifications
You must be signed in to change notification settings - Fork 78
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
Error when starting Home Assistant #793
Comments
For me the problem was in the constant file of the pyaarlo package. It would appear that the MQTT_HOST name (on line 5) has changed from "mqtt-cluster.arloxcld.com" to "mqtt-cluster-z1.arloxcld.com". This new name matches the SSL certificate too. Don't forget to recompile constant.py afterwards using 'python -m compileall .' (without the quotes). |
It's exactly what the previous posts said. Sometime recently Arlo renamed their mqtt cluster. I don't have any devices using mqtt so it gets hard for me to track these changes. Another thing to try might be aarlo:
..your current config
backend: sse |
When you upgraded the code would have created a file called version: 1
aarlo:
backend: sse |
I get the TFA request on my device and approve it, but I still end up with this result. Any ideas what the issue could be on my end or is this a bug?
My config.yaml is the following:
aarlo:
username: email@email.com
password: password
tfa_source: push
tfa_type: PUSH
camera:
ffmpeg_arguments: "-pred 1 -q:v 2"
HA ERROR:
Error: general-error=gaierror
Traceback (most recent call last):
File "/config/custom_components/aarlo/pyaarlo/backend.py", line 497, in _mqtt_main
self._event_client.connect(self._arlo.cfg.mqtt_host, port=443, keepalive=60)
File "/usr/local/lib/python3.11/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/paho/mqtt/client.py", line 1044, in reconnect
sock = self._create_socket_connection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/socket.py", line 827, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/socket.py", line 962, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name does not resolve
If error persists you might need to change config and restart
The text was updated successfully, but these errors were encountered: