TTS Google Cloud cache error after update to version 2024.10.0
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
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 closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign google_cloudRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove 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)
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.
Exact same problem for me. No solution right now except using Google Translate TTS instead of Google Cloud TTS...
2024.10.1 change nothing.
2024.10.1 Same problem.
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
- My
config/ttsdirectory is never getting populated with new files as it has previously - Upgrading to
2024.10.1makes no difference - Replacing my legacy
tts.google_cloud_sayactions totts.speakmakes no difference - Replacing my Google Cloud YAML configuration to the UI setup makes no difference
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.
Same here google cloud TTS is providing empty MP3 files since the October updates, google translate works fine.
Duplicate of #127518