Seems the last update changed some things. After the update I started to get errors and aarlo would not load. Here is my log, and thank you for all your hard work.
Error during setup of component aarlo
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/urllib3/connection.py”, line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File “/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py”, line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File “/usr/local/lib/python3.7/socket.py”, line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 600, in urlopen
chunked=chunked)
File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 343, in _make_request
self._validate_conn(conn)
File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 839, in _validate_conn
conn.connect()
File “/usr/local/lib/python3.7/site-packages/urllib3/connection.py”, line 301, in connect
conn = self._new_conn()
File “/usr/local/lib/python3.7/site-packages/urllib3/connection.py”, line 168, in _new_conn
self, “Failed to establish a new connection: %s” % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f3e92aa81d0>: Failed to establish a new connection: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/requests/adapters.py”, line 449, in send
timeout=timeout
File “/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py”, line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File “/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py”, line 399, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘arlo.netgear.com’, port=443): Max retries exceeded with url: /hmsweb/login/v2 (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x7f3e92aa81d0>: Failed to establish a new connection: [Errno -3] Try again’))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/config/custom_components/aarlo/pyaarlo/backend.py”, line 61, in _request
r = self._session.post( url,json=params,headers=headers,timeout=timeout )
File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 581, in post
return self.request(‘POST’, url, data=data, json=json, **kwargs)
File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 533, in request
resp = self.send(prep, **send_kwargs)
File “/usr/local/lib/python3.7/site-packages/requests/sessions.py”, line 646, in send
r = adapter.send(request, **kwargs)
File “/usr/local/lib/python3.7/site-packages/requests/adapters.py”, line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘arlo.netgear.com’, port=443): Max retries exceeded with url: /hmsweb/login/v2 (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x7f3e92aa81d0>: Failed to establish a new connection: [Errno -3] Try again’))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/setup.py”, line 156, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/aarlo/init.py”, line 104, in setup
user_agent=user_agent )
File “/config/custom_components/aarlo/pyaarlo/init.py”, line 50, in init
request_timeout=request_timeout,stream_timeout=stream_timeout )
File “/config/custom_components/aarlo/pyaarlo/backend.py”, line 40, in init
self._connected = self.login( username,password )
File “/config/custom_components/aarlo/pyaarlo/backend.py”, line 280, in login
body = self.post( LOGIN_URL, { ‘email’:self.username,‘password’:self.password } )
File “/config/custom_components/aarlo/pyaarlo/backend.py”, line 325, in post
return self._request( url,‘POST’,params,headers,False,raw,timeout )
File “/config/custom_components/aarlo/pyaarlo/backend.py”, line 65, in _request
self._ev_stream.resp.close()
AttributeError: ‘ArloBackEnd’ object has no attribute ‘_ev_stream’