Traceback (most recent call last):


 "C:\Users\user\Dropbox\virtualenvs\lighting\lib\site-packages\pyactiveresource\connection.py", line 286, in _open

http_response = self._handle_error(self._urlopen(request))


 "C:\Users\user\Dropbox\virtualenvs\lighting\lib\site-packages\pyactiveresource\connection.py", line 318, in _urlopen

return urllib.request.urlopen(request)


 "C:\Python34\lib\urllib\request.py", line 161, in urlopen

return opener.open(url, data, timeout)


 "C:\Python34\lib\urllib\request.py", line 469, in open

response = meth(req, response)


 "C:\Python34\lib\urllib\request.py", line 579, in http_response

'http', request, response, code, msg, hdrs)


 "C:\Python34\lib\urllib\request.py", line 507, in error

return self._call_chain(*args)


 "C:\Python34\lib\urllib\request.py", line 441, in _call_chain

result = func(*args)


 "C:\Python34\lib\urllib\request.py", line 587, in http_error_default

raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 422: Unprocessable Entity

Traceback (most recent call last):


 "/config/custom_components/alexa_media/media_player.py", line 381, in _handle_event

await _refresh_if_no_audiopush(already_refreshed)


 "/config/custom_components/alexa_media/media_player.py", line 271, in _refresh_if_no_audiopush

await self.async_update()


 "/config/custom_components/alexa_media/helpers.py", line 148, in wrapper

result = await func(*args, **kwargs)


 "/config/custom_components/alexa_media/media_player.py", line 769, in async_update

device, no_throttle=True


 "/config/custom_components/alexa_media/helpers.py", line 148, in wrapper

result = await func(*args, **kwargs)


 "/config/custom_components/alexa_media/media_player.py", line 532, in refresh

session = await self.alexa_api.get_state()


 "/usr/local/lib/python3.7/site-packages/alexapy/alexaapi.py", line 656, in get_state

+ "&screenWidth=2560"


 "/usr/local/lib/python3.7/site-packages/alexapy/alexaapi.py", line 130, in _get_request

return await self._request("get", uri, data)


 "/usr/local/lib/python3.7/site-packages/alexapy/alexaapi.py", line 98, in _request

ssl=self._login._ssl,


 "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 483, in _request

timeout=real_timeout


 "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 523, in connect

proto = await self._create_connection(req, traces, timeout)


 "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 859, in _create_connection

req, traces, timeout)


 "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 1004, in _create_direct_connection

raise last_exc


 "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 986, in _create_direct_connection

req=req, client_error=client_error)


 "/usr/local/lib/python3.7/site-packages/aiohttp/connector.py", line 943, in _wrap_create_connection

raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host alexa.amazon.co.uk:443 ssl:<ssl.SSLContext object at 0xab4cdc30> [Connect call failed ('127.0.0.1', 443)]
