core icon indicating copy to clipboard operation
core copied to clipboard

TTS Google Cloud cache error after update to version 2024.10.0

Open pschmidtpl opened this issue 1 year ago • 5 comments

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

pschmidtpl avatar Oct 04 '24 17:10 pschmidtpl

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)

home-assistant[bot] avatar Oct 04 '24 17:10 home-assistant[bot]

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.

rknotter avatar Oct 05 '24 06:10 rknotter

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

2024.10.1 change nothing.

jeremypsl avatar Oct 05 '24 07:10 jeremypsl

2024.10.1 Same problem.

andrewjswan avatar Oct 05 '24 10:10 andrewjswan

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/tts directory is never getting populated with new files as it has previously
  • Upgrading to 2024.10.1 makes no difference
  • Replacing my legacy tts.google_cloud_say actions to tts.speak makes 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.

slug56 avatar Oct 05 '24 10:10 slug56

Same here google cloud TTS is providing empty MP3 files since the October updates, google translate works fine.

spiralshapeturtle avatar Oct 05 '24 16:10 spiralshapeturtle

Duplicate of #127518

joostlek avatar Oct 05 '24 18:10 joostlek