Google TTS on Google Speaker does not work: Hear chime and see .mp3 in media_content_id but does not play

Hi,

I am trying to get a message to play on a Google Home Mini Speaker through a script.
If I manually trigger the script in the lovelace interface, I hear a bell/chime sound on my Google Mini Speaker but it does not play the .mp3 file. If I look at the state of the speaker in Developer Tools, it shows the .mp3 file url. I can play this mp3 file using my browser on my laptop (internal network) and smartphone (through 4G external network).
I use duckdns and am behind a VPN but have configured it so that the port 8123 is forwarded through, hence all other google assistant/home commands work.
Anyway, I have no clue why it works. Could you help?

I have the following configuration in configuration.yml

http:
  #api_password: !secret http_password   # from file secrets.yaml
  base_url: https://<DUCKDNS_NAME>.duckdns.org:8123
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem

# Text to speech
tts:
  - platform: google_translate
    service_name: google_say
    cache: true
    cache_dir: /tmp/tts
    time_memory: 300
    base_url: https://<DUCKDNS_NAME>.duckdns.org:8123

And the following script:

playlist_announce:
  sequence:
    - service: tts.google_say
      data_template:
        entity_id: media_player.office_speaker
        message: "this is message6"

After executing the script, the state of my media_player.office_speaker is as follows:

volume_level: 0.5
is_volume_muted: false
media_content_id: >-
  https://<DUCKDNS_NAME>.duckdns.org:8123/api/tts_proxy/a19166c06d9c49f401b6b3799c84fcd130fe45bc_en_-_google_translate.mp3
media_position: 0
media_position_updated_at: '2020-04-09T09:43:58.559710+00:00'
app_id: CC1AD845
app_name: Default Media Receiver
entity_picture_local: null
friendly_name: Office Speaker
supported_features: 21391

The above media_content_id can be played on both laptop and smartphone.

So I am flabbergasted what the issue might be. Any help?

Hi @Kalenden hope you are keeping well.

Are you speakers showing as entities in Configuration > Entities, if not Configuration > Integrations > + > Search “Cast” > Your speakers should then show in the popup to add.

I had yesterday the same problem and was because duckdns was down.
Now its working again.

I just bought a Google Nest Hub, same problem.

It works from the Media button > Text-To-Speech > Google TTS

But if I run it from a service it fails (that is, I don’t hear anything)
I checked the state from the mediaplayer, and I can open the URL in the browser (from outside my home) and then it plays. So the URL is reachable.

But it won’t play on the Google device.

The error log states:

[code]