For the last week, I have been unable to connect to Tesla. I am getting the below error. Any thoughts?
Log Details (ERROR)
Thu Jan 02 2020 11:59:40 GMT-0500 (Eastern Standard Time)
Error during setup of component tesla
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/aiohttp/connector.py”, line 936, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa
File “/usr/local/lib/python3.7/asyncio/base_events.py”, line 981, in create_connection
ssl_handshake_timeout=ssl_handshake_timeout)
File “/usr/local/lib/python3.7/asyncio/base_events.py”, line 1009, in _create_connection_transport
await waiter
File “/usr/local/lib/python3.7/asyncio/selector_events.py”, line 860, in write
n = self._sock.send(data)
ConnectionResetError: [Errno 104] Connection reset by peer
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 172, in _async_setup_component
hass, processed_config
File “/usr/src/homeassistant/homeassistant/components/tesla/init.py”, line 57, in async_setup
await controller.connect(test_login=False)
File “/usr/local/lib/python3.7/site-packages/teslajsonpy/controller.py”, line 72, in connect
cars = await self.get_vehicles()
File “/usr/local/lib/python3.7/site-packages/teslajsonpy/controller.py”, line 291, in get_vehicles
return (await self.__connection.get(“vehicles”))[“response”]
File “/usr/local/lib/python3.7/site-packages/teslajsonpy/connection.py”, line 87, in get
return await self.post(command, “get”, None)
File “/usr/local/lib/python3.7/site-packages/teslajsonpy/connection.py”, line 93, in post
auth = await self.__open("/oauth/token", “post”, data=self.oauth)
File “/usr/local/lib/python3.7/site-packages/teslajsonpy/connection.py”, line 130, in __open
url, headers=headers, data=data
File “/usr/local/lib/python3.7/site-packages/aiohttp/client.py”, line 483, in _request
timeout=real_timeout
File “/usr/local/lib/python3.7/site-packages/aiohttp/connector.py”, line 523, in connect
proto = await self._create_connection(req, traces, timeout)
File “/usr/local/lib/python3.7/site-packages/aiohttp/connector.py”, line 859, in _create_connection
req, traces, timeout)
File “/usr/local/lib/python3.7/site-packages/aiohttp/connector.py”, line 1004, in _create_direct_connection
raise last_exc
File “/usr/local/lib/python3.7/site-packages/aiohttp/connector.py”, line 986, in _create_direct_connection
req=req, client_error=client_error)
File “/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 owner-api.teslamotors.com:443 ssl:None [Connection reset by peer]