home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.73k stars 29.98k forks source link

It was stuck for a few days and now it doesn't work at all #107785

Closed Foltifeki closed 4 months ago

Foltifeki commented 8 months ago

The problem

For some time now, it has happened many times that Google Assistant could not connect to ha, but a simple restart helped

now it doesn't help either and this appears in the log from time to time

Logger: homeassistant.components.google_assistant.http Source: components/google_assistant/http.py:217 Integration: Google Assistant (documentation, issues) First occurred: 11:39:45 (1 occurrences) Last logged: 11:39:45

Request for https://homegraph.googleapis.com/v1/devices:requestSync failed: 500 image

What version of Home Assistant Core has the issue?

core-2024.1.2

What was the last working version of Home Assistant Core?

core-2024.1.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Google Assistant

Link to integration documentation on our website

https://www.home-assistant.io/integrations/google_assistant/

Diagnostics information

Logger: homeassistant.components.google_assistant.http Source: components/google_assistant/http.py:217 Integration: Google Assistant (documentation, issues) First occurred: 11:39:45 (1 occurrences) Last logged: 11:39:45

Request for https://homegraph.googleapis.com/v1/devices:requestSync failed: 500

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.google_assistant.http
Source: components/google_assistant/http.py:217
Integration: Google Assistant (documentation, issues)
First occurred: 11:39:45 (1 occurrences)
Last logged: 11:39:45

Request for https://homegraph.googleapis.com/v1/devices:requestSync failed: 500

Additional information

Unfortunately, I didn't really understand it before yesterday, it was still good

I don't know English, the translation was made with Google Translate

home-assistant[bot] commented 8 months ago

Hey there @home-assistant/cloud, mind taking a look at this issue as it has been labeled with an integration (google_assistant) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `google_assistant` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign google_assistant` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


google_assistant documentation google_assistant source (message by IssueLinks)

samuelthng commented 8 months ago

Same issue here, with requestSync and reportStateAndNotification.

FedericoBS commented 8 months ago

same issue

nikolayjgmail commented 8 months ago

Rolled back to version 2023.12.3 Google Assistant is working. If you update, it stops, but after a while

samuelthng commented 8 months ago

I recreated another instance of the project on actions and gcp, then replaced my oauth credentials in my setup, restarted my Google devices and it got back in business.

Had to sort all my entities one by one again tho, that was a PITA.

fargiolas commented 7 months ago

Something must have happened recently. I had 403 errors and it turns out I didn't have a private key anymore in GCP even if l'm pretty sure it was set not to expire.

Generated a new one and got the 500 error. Turns out the homegraph API was disabled. Again it was enabled and working a few days earlier.

Also had to reload app.js for local fulfillment but that didn't really work anyway, always got mostly partner cloud requests.

issue-triage-workflows[bot] commented 4 months ago

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 has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.