Home Assistant release with the issue:
Home Assistant 0.73.1
Last working Home Assistant release (if known):
Home Assistant 0.72.1
Operating environment (Hass.io/Docker/Windows/etc.):
Raspbian GNU/Linux 9 n l 4.14.52-v7+
Component/platform:
google_assistant
Description of problem:
after update from 0.72.1 to 0.73.1 the service "google_assistant.request_sync" stop working
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
nothing changed
Traceback (if applicable):
Additional information:
error:
Jul 13 21:37:00 rasp-server hass[12796]: 2018-07-13 21:37:00 ERROR (MainThread) [homeassistant.components.google_assistant] request_sync request failed: 404 b'{\n "error": {\n "code": 404,\n "message": "Requested entity was not found.",\n "status": "NOT_FOUND"\n }\n}\n'
Same here with 0.74.2:
2018-08-02 16:36:36 ERROR (MainThread) [homeassistant.components.google_assistant] request_sync request failed: 404 b'{n "error": {n "code": 404,n "message": "Requested entity was not found.",n "status": "NOT_FOUND"n }n}n'
previous version is working. No change in the config file.
This seems to work fine in 0.76.2.
I got a "Request contains an invalid argument" even though this worked fine before. I've removed the integration and added it back again, but first I had to start the simulation again on the google actions console, since my test-app was gone in the list.
Check this doc to be sure: https://www.home-assistant.io/components/google_assistant/#troubleshooting-the-request_sync-service
I'm getting this on 0.80.3. My existing setup already had identical project ids, but for good measure i recreated everything from scratch. Still getting Requested entity was not found. Something is amiss here.
Same here on 0.81.6
This issue is getting pretty stale, are you still having this problem in 84.latest?
Still getting it on 0.84.6
And to confirm, you have an api key set in the config and have the correct account configured on the google side?
Yes, everything is setup correctly, checked it a couple of times
Still present, but with a different message in 0.90.1:
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/google_assistant/__init__.py", line 75, in request_sync_service_handler
res.raise_for_status()
File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 942, in raise_for_status
headers=self.headers)
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/websocket_api/commands.py", line 122, in handle_call_service
connection.context(msg))
File "/usr/src/app/homeassistant/core.py", line 1138, in async_call
self._execute_service(handler, service_call))
File "/usr/src/app/homeassistant/core.py", line 1160, in _execute_service
await handler.func(service_call)
File "/usr/src/app/homeassistant/components/google_assistant/__init__.py", line 77, in request_sync_service_handler
body = await res.read()
File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 969, in read
self._body = await self.content.read()
File "/usr/local/lib/python3.7/site-packages/aiohttp/streams.py", line 335, in read
raise self._exception
aiohttp.client_exceptions.ClientConnectionError: Connection closed
Same for me when i try a google_assistant.request_sync
i double check the https://www.home-assistant.io/components/google_assistant/#troubleshooting-the-request_sync-service and everything is alright. It used to work in the previous version and i don't change anything
2019-03-25 22:20:55 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139871210080016] Connection closed
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/google_assistant/__init__.py", line 75, in request_sync_service_handler
res.raise_for_status()
File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 942, in raise_for_status
headers=self.headers)
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/websocket_api/commands.py", line 122, in handle_call_service
connection.context(msg))
File "/usr/src/app/homeassistant/core.py", line 1138, in async_call
self._execute_service(handler, service_call))
File "/usr/src/app/homeassistant/core.py", line 1160, in _execute_service
await handler.func(service_call)
File "/usr/src/app/homeassistant/components/google_assistant/__init__.py", line 77, in request_sync_service_handler
body = await res.read()
File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 969, in read
self._body = await self.content.read()
File "/usr/local/lib/python3.7/site-packages/aiohttp/streams.py", line 335, in read
raise self._exception
aiohttp.client_exceptions.ClientConnectionError: Connection closed
Same problem here...
Could it be anything related to an old env-setup? I used the old guide back then, and updated to the latest method months back. I'm able to control everything as i'm use to, but sadly can't update the devices...
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/google_assistant/__init__.py", line 75, in request_sync_service_handler
res.raise_for_status()
File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 942, in raise_for_status
headers=self.headers)
aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/app/homeassistant/components/websocket_api/commands.py", line 122, in handle_call_service
connection.context(msg))
File "/usr/src/app/homeassistant/core.py", line 1138, in async_call
self._execute_service(handler, service_call))
File "/usr/src/app/homeassistant/core.py", line 1160, in _execute_service
await handler.func(service_call)
File "/usr/src/app/homeassistant/components/google_assistant/__init__.py", line 77, in request_sync_service_handler
body = await res.read()
File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 969, in read
self._body = await self.content.read()
File "/usr/local/lib/python3.7/site-packages/aiohttp/streams.py", line 335, in read
raise self._exception
aiohttp.client_exceptions.ClientConnectionError: Connection closed

I see this from time to time, and can fix this by starting the test again in the Google cloud Console. I assume google stops the test after a time. You might need to remove the integration from the Google home app and re-add it, but the last time, this wasn't needed.
I just tried to remove everything, and set it back up. However, i get the same error :(...
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 馃憤
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
Same here on 0.81.6