Issue when adding Home Assistant in Google Home App

I am trying to manually setup the Google Assistant integration (i.e. not using Nabu Casa) following the steps described in the documentation.
I have successfully performed steps 1 through 4.
When trying to setup Home Assistant as a “device” within the Google Home app (Step 5.) I do run into an issue.
My developer app [test] Home Assistant is listed. Trying to link it with Google Home, brings me to the log-in page of my Home Assistant instance, where I can enter my log-in credentials (i.e. username, password and two-factor auth-key).
Following I get this error message:
Could not reach [test] home assistant. Please try again

I am not sure where the issue is, if it is with the data entered under console.actions.google.com, which is as follows:
Client ID issued by your Actions to Google: https://oauth-redirect.googleusercontent.com/r/[My-Project-ID]
Authorization URL: https://[My-External-URL]:[Port*]/auth/authorize
Token URL: https://[My-External-URL]:[Port*]/auth/token
*The Port is taken from the NGINX Home Assistant SSL proxy Add-On running in the Home Assistant OS

Or if it got anything to do with my Reverse Proxy setup I am using is the issue.
However the following is working with my current setup:

  • Netatmo Integration using webhooks from Netatmo Cloud
  • Access Home Assistant via Companion App, when away
  • No log entry with Home Assistant 2021.6.2, as it will now list issues detected with reverse proxies.

Did you enable the google_assistant integration and used the proper https://[YOUR HOME ASSISTANT URL:PORT]/api/google_assistant url in Google Actions?

Yes, the Fulfillment URL is populated as suggested under Step 1 of the documentation: https://[My-External-URL]:[Port*]/api/google_assistant.

What exactly do you mean by enabled?
I have added the following to my configuration.yaml, if you are referring to the Home Assistant side of things:

google_assistant:
  project_id: !secret GOOGLE_ASSISTANT_ID
  service_account: !include SERVICE_ACCOUNT.json
  report_state: true

Whereby the ID reflects my [My-Project-ID] and the json file is the one downloaded from Google.

Problem has been resolved. I have had a typo in the port, that I entered on the Google Actions Console.
After correction, everything is working fine.

I have this problem for days, google home works but in the log that all this appears, and I do not know how to solve it

2021-08-01 12:12:54 ERROR (MainThread) [homeassistant.components.google_assistant.http] Request for https://homegraph.googleapis.com/v1/devices:requestSync failed: 429
2021-08-01 12:13:14 ERROR (SyncWorker_34) [homeassistant.util.package] Unable to install package glocaltokens==0.3.1: ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3 -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-vpf5wpde/grpcio-tools/setup.py’"’"’; file=’"’"’/tmp/pip-install-vpf5wpde/grpcio-tools/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ egg_info --egg-base /tmp/pip-pip-egg-info-gd9uirq7
cwd: /tmp/pip-install-vpf5wpde/grpcio-tools/
Complete output (11 lines):
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-install-vpf5wpde/grpcio-tools/setup.py”, line 112, in
if check_linker_need_libatomic():
File “/tmp/pip-install-vpf5wpde/grpcio-tools/setup.py”, line 73, in check_linker_need_libatomic
cc_test = subprocess.Popen([‘cc’, ‘-x’, ‘c++’, ‘-std=c++11’, ‘-’],
File “/usr/local/lib/python3.9/subprocess.py”, line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File “/usr/local/lib/python3.9/subprocess.py”, line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: ‘cc’
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
WARNING: You are using pip version 20.2.4; however, version 21.2.2 is available.
You should consider upgrading via the ‘/usr/local/bin/python3 -m pip install --upgrade pip’ command.
2021-08-01 12:13:14 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 153, in async_init
flow, result = await task
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 171, in _async_init
flow = await self.async_create_flow(handler, context=context, data=data)
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 693, in async_create_flow
await async_process_deps_reqs(self.hass, self._hass_config, integration)
File “/usr/src/homeassistant/homeassistant/setup.py”, line 375, in async_process_deps_reqs
await requirements.async_get_integration_with_requirements(
File “/usr/src/homeassistant/homeassistant/requirements.py”, line 83, in async_get_integration_with_requirements
await _async_process_integration(hass, integration, done)
File “/usr/src/homeassistant/homeassistant/requirements.py”, line 99, in _async_process_integration
await async_process_requirements(
File “/usr/src/homeassistant/homeassistant/requirements.py”, line 163, in async_process_requirements
raise RequirementsNotFound(name, [req])
homeassistant.requirements.RequirementsNotFound: Requirements for google_home not found: [‘glocaltokens==0.3.1’].
2021-08-01 12:13:14 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 153, in async_init
flow, result = await task
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 171, in _async_init
flow = await self.async_create_flow(handler, context=context, data=data)
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 693, in async_create_flow
await async_process_deps_reqs(self.hass, self._hass_config, integration)
File “/usr/src/homeassistant/homeassistant/setup.py”, line 375, in async_process_deps_reqs
await requirements.async_get_integration_with_requirements(
File “/usr/src/homeassistant/homeassistant/requirements.py”, line 75, in async_get_integration_with_requirements
raise IntegrationNotFound(domain)
homeassistant.loader.IntegrationNotFound: Integration ‘google_home’ not found.