Core: Bloomsky stopped working

Created on 11 Apr 2018  路  4Comments  路  Source: home-assistant/core

Home Assistant release with the issue: 0.67b0

Last working Home Assistant release (if known): NA

Operating environment (Hass.io/Docker/Windows/etc.):

Component/platform: Bloomsky

Description of problem: Starting this morning, Bloomsky has not been working for me. Here's the error log:

Press the button to load the full Home Assistant log.

2018-04-11 08:51:55 ERROR (MainThread) [homeassistant.setup] Error during setup of component bloomsky
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/srv/homeassistant/lib/python3.6/site-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/srv/homeassistant/lib/python3.6/site-packages/urllib3/connectionpool.py", line 850, in _validate_conn
    conn.connect()
  File "/srv/homeassistant/lib/python3.6/site-packages/urllib3/connection.py", line 326, in connect
    ssl_context=context)
  File "/srv/homeassistant/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 329, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 814, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1068, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/requests/adapters.py", line 440, in send
    timeout=timeout
  File "/srv/homeassistant/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/srv/homeassistant/lib/python3.6/site-packages/urllib3/util/retry.py", line 388, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.bloomsky.com', port=443): Max retries exceeded with url: /api/skydata (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)'),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
    component.setup, hass, processed_config)
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/bloomsky.py", line 44, in setup
    BLOOMSKY = BloomSky(api_key)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/bloomsky.py", line 65, in __init__
    self.refresh_devices()
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 319, in wrapper
    result = method(*args, **kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/bloomsky.py", line 72, in refresh_devices
    self.API_URL, headers={AUTHORIZATION: self._api_key}, timeout=10)
  File "/srv/homeassistant/lib/python3.6/site-packages/requests/api.py", line 72, in get
    return request('get', url, params=params, **kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/requests/api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/requests/sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/requests/sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/requests/adapters.py", line 506, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.bloomsky.com', port=443): Max retries exceeded with url: /api/skydata (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)'),))
2018-04-11 08:51:55 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of camera.bloomsky. Setup failed for dependencies: bloomsky
2018-04-11 08:51:55 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform camera.bloomsky: Could not setup all dependencies.

Most helpful comment

The SSL certificate at https://api.bloomsky.com expired earlier today - I've raise it elsewhere with them.

All 4 comments

Same issue here, ended up disabling it looks like something changed on their end. Started at 5pm PST for me. I am on 0.66.1

The SSL certificate at https://api.bloomsky.com expired earlier today - I've raise it elsewhere with them.

Same here, hopefully its back up quickly.

Looks like it is back online.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

balloob picture balloob  路  371Comments

nodkan picture nodkan  路  161Comments

kdschlosser picture kdschlosser  路  374Comments

WilldabeastHA picture WilldabeastHA  路  203Comments

soldag picture soldag  路  143Comments