I’ve updated my HA install on RPi back in early January up to version 0.84.6
I’ve now noticed I have a couple of small problems. The most important of which is that Pushbullet fails to start, and I have not been able to work out why after searching for similar recent cases.
This is the detailed error note in HA. Does this mean anything useful to somebody ?
Mon Jan 21 2019 23:29:51 GMT+1030 (Australian Central Daylight Time)
Error setting up platform pushbullet
Traceback (most recent call last): File “/usr/local/lib/python3.6/site-packages/urllib3/connection.py”, line 159, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw) File “/usr/local/lib/python3.6/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.6/socket.py”, line 745, 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.6/site-packages/urllib3/connectionpool.py”, line 600, in urlopen chunked=chunked) File “/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 343, in _make_request self._validate_conn(conn) File “/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 839, in _validate_conn conn.connect() File “/usr/local/lib/python3.6/site-packages/urllib3/connection.py”, line 301, in connect conn = self._new_conn() File “/usr/local/lib/python3.6/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 0x727e7550>: 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.6/site-packages/requests/adapters.py”, line 449, in send timeout=timeout File “/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 638, in urlopen _stacktrace=sys.exc_info()[2]) File “/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py”, line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘api.pushbullet.com’, port=443): Max retries exceeded with url: /v2/devices (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x727e7550>: 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.6/site-packages/homeassistant/components/notify/init.py”, line 76, in async_setup_platform platform.get_service, hass, p_config, discovery_info) File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run result = self.fn(*self.args, **self.kwargs) File “/usr/local/lib/python3.6/site-packages/homeassistant/components/notify/pushbullet.py”, line 38, in get_service pushbullet = PushBullet(config[CONF_API_KEY]) File “/usr/local/lib/python3.6/site-packages/pushbullet/pushbullet.py”, line 43, in init self.refresh() File “/usr/local/lib/python3.6/site-packages/pushbullet/pushbullet.py”, line 381, in refresh self._load_devices() File “/usr/local/lib/python3.6/site-packages/pushbullet/pushbullet.py”, line 78, in _load_devices resp_dict = self._get_data(self.DEVICES_URL) File “/usr/local/lib/python3.6/site-packages/pushbullet/pushbullet.py”, line 64, in _get_data resp = self._session.get(url) File “/usr/local/lib/python3.6/site-packages/requests/sessions.py”, line 546, in get return self.request(‘GET’, url, **kwargs) File “/usr/local/lib/python3.6/site-packages/requests/sessions.py”, line 533, in request resp = self.send(prep, **send_kwargs) File “/usr/local/lib/python3.6/site-packages/requests/sessions.py”, line 646, in send r = adapter.send(request, **kwargs) File “/usr/local/lib/python3.6/site-packages/requests/adapters.py”, line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘api.pushbullet.com’, port=443): Max retries exceeded with url: /v2/devices (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x727e7550>: Failed to establish a new connection: [Errno -3] Try again’,
I’m wondering if I’ve missed a breaking change as I have skipped a couple of updates ?
I’ve tried getting a new API key, but that didn’t help.
EDIT: Resolved after finding other people with similar recent issues that were fixed by doing a full RPi reboot (rather than a HA restart) and that also worked for me. Also fixed my BOM weather sensor issue.