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
72.14k stars 30.19k forks source link

TTS Google Cloud cache error after update to version 2024.10.0 #127591

Open pschmidtpl opened 20 hours ago

pschmidtpl commented 20 hours ago

The problem

After updating Home Assistant to version 2024.10.0, an error occurs when calling the TTS (Google Cloud) service. The following message is logged repeatedly:

Error message:

Logger: homeassistant.components.tts Source: components/tts/init.py:1080 Integration: Text-to-speech (TTS) (documentation, Issues) Error details:

Error on load tts: c7d559479ccbf01768fc3ad23e0d93a4d4cddeb2_pl-pl_468c0686ee_google_cloud not in cache!

What version of Home Assistant Core has the issue?

core-2024.10.0

What was the last working version of Home Assistant Core?

core-2024.9.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

google_cloud

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

TTS works OK with other TTS engines (eg. google_translate)

Additional information

No response

home-assistant[bot] commented 20 hours ago

Hey there @lufton, @tronikos, mind taking a look at this issue as it has been labeled with an integration (google_cloud) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `google_cloud` 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_cloud` 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_cloud documentation google_cloud source (message by IssueLinks)

rknotter commented 8 hours ago

This is a problem for me as well. I tried reconfiguring the intergration with a new json file from the frontend and removing the items from the config file but ended up reverting to 2024.9.3 to solve this problem.

jeremypsl commented 7 hours ago

Exact same problem for me. No solution right now except using Google Translate TTS instead of Google Cloud TTS...

2024.10.1 change nothing.

andrewjswan commented 4 hours ago

2024.10.1 Same problem.

slug56 commented 4 hours ago

Same problem here. The Google speakers wake up, but the TTS message is never spoken. The issue manifests in the Home Assistant logs as:

Logger: homeassistant.components.tts
Source: components/tts/__init__.py:1080
integration: Text-to-speech (TTS) (documentation, issues)

Error on load tts: 0db2fcffd28a0130696e2f9af75c032c25eaa17b_en-us_4be6bc5d1e_tts.google_cloud not in cache!

Followed by:

Logger: homeassistant.components.cast.media_player
Source: components/cast/media_player.py:405
integration: Google Cast (documentation, issues)

Failed to cast media http://10.20.39.20:8123/api/tts_proxy/0db2fcffd28a0130696e2f9af75c032c25eaa17b_en-us_4be6bc5d1e_tts.google_cloud.mp3 from internal_url (http://10.20.39.20:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address

Setting cache: false, as in:

action: tts.speak
target:
  entity_id: tts.google_cloud
data:
  cache: false
  media_player_entity_id: media_player.office_clock
  message: I still do not think this is working

Still produces the Error on load tts: ${file} not in cache! error. Setting cache: true produces the same result also.