Anyone else having issues with the Bitcoin platform lately?
I’m on 0.103.2
Here’s the error from my log:
Log Details (ERROR)
Fri Dec 20 2019 07:15:08 GMT-0500 (Eastern Standard Time)
Error while setting up platform bitcoin
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/blockchain/util.py", line 26, in call_api
response = urlopen(base_url + resource, payload, timeout=TIMEOUT).read()
File "/usr/local/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/local/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/local/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/local/lib/python3.7/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/bitcoin/sensor.py", line 62, in setup_platform
if currency not in exchangerates.get_ticker():
File "/usr/local/lib/python3.7/site-packages/blockchain/exchangerates.py", line 17, in get_ticker
response = util.call_api('ticker' if api_code is None else 'ticker?api_code=' + api_code)
File "/usr/local/lib/python3.7/site-packages/blockchain/util.py", line 30, in call_api
raise APIException(handle_response(e.read()), e.code)
blockchain.exceptions.APIException: <!doctype html><meta charset="utf-8"><meta name=viewport content="width=device-width, initial-scale=1"><title>403</title>403 Forbidden