Hi Folks, I’m having an issue getting the Nest Integration set up. It is failing after I enter the project ID.
Here is some related log content:
Logger: homeassistant.config_entries
Source: components/nest/__init__.py:188
First occurred: 2:29:06 PM (2 occurrences)
Last logged: 4:57:51 PM
Error setting up entry OAuth for Web for nest
...
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/nest/__init__.py", line 188, in async_setup_entry
await subscriber.start_async()
File "/usr/local/lib/python3.9/site-packages/google_nest_sdm/google_nest_subscriber.py", line 416, in start_async
await self._subscriber_factory.async_new_subscriber(
File "/usr/local/lib/python3.9/site-packages/google_nest_sdm/google_nest_subscriber.py", line 261, in async_new_subscriber
return await loop.run_in_executor(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/google_nest_sdm/google_nest_subscriber.py", line 284, in _new_subscriber
creds = self._refresh_creds(creds)
File "/usr/local/lib/python3.9/site-packages/google_nest_sdm/google_nest_subscriber.py", line 272, in _refresh_creds
creds.refresh(Request())
File "/usr/local/lib/python3.9/site-packages/google/oauth2/credentials.py", line 302, in refresh
) = reauth.refresh_grant(
File "/usr/local/lib/python3.9/site-packages/google/oauth2/reauth.py", line 322, in refresh_grant
response_status_ok, response_data = _client._token_endpoint_request_no_throw(
File "/usr/local/lib/python3.9/site-packages/google/oauth2/_client.py", line 115, in _token_endpoint_request_no_throw
response = request(method="POST", url=token_uri, headers=headers, body=body)
File "/usr/local/lib/python3.9/site-packages/google/auth/transport/requests.py", line 199, in __call__
six.raise_from(new_exc, caught_exc)
File "<string>", line 3, in raise_from
google.auth.exceptions.TransportError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
I looked at traffic using Wireshark and it appears that Google is terminating the TCP connection after it receives the TLS Client Hello from Home Assistant.
I have read many posts regarding Nest Integration issues, but have not made progress. Has anyone come across a similar issue and/or be able to help?
Thanks in advance!