Tts.google_translate_say service doesn't work

Ok, so I updated to 118.5 and as expected, I still have the same problem.

I do get an error now, which I haven’t seen before:

Logger: homeassistant.components.cast.media_player
Source: components/cast/media_player.py:348
Integration: Google Cast (documentation, issues)
First occurred: 5:35:31 PM (5 occurrences)
Last logged: 5:38:39 PM

    Failed to cast media http://hass.slinkos.local:8123/api/tts_proxy/dcc2b6b9ffc17e12e9f940a485d552e1618343f2_nl_-_google_translate.mp3 from internal_url (http://hass.slinkos.local:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address
    Failed to cast media http://hass.slinkos.local:8123/api/tts_proxy/1f696410ec372059b2565c0b7f0fda26128bf3b2_nl_-_google_translate.mp3 from internal_url (http://hass.slinkos.local:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address

Thanks for that, just did the same! Switched on the Queen and the wife promptly put a stop to that :slight_smile:

I also tried Pico TTS, but that behaves the exact same way. Does anyone know what the problem can be?

I have no idea, but in my version HA 0.118.5 google tts works perfectly. Local network without access from outside.
Rpi4 4Gb boot SSD HassOS 5.6.

It was a pure coincidence that Google TTS stopped working, because I had this problem for a long time already… and the TTS worked, if I pasted the mp3 in my browser it’s OK. But streaming it to my Google devices just doesn’t work. It used to work in the past.

This is strange because in HA version 0.118.5 it has been fixed. It didn’t work for me before this version either. The fix was announced in version 1.0b, but before that they released version 118.5 where this fix was included.

I solved it. I think that the problem has something to do with the internal DNS I use. Google has the Google DNS servers hard coded, I added “base_url” and entered the IP address of my Home Assistant instead of it’s DNS address, and then it works.

Still weird because it was working in the past, but glad that it works now.

I am on HA 0.103.6 and my Google translate also doesn´t work anymore.
Is there any way to make it work again without updating HA?

The short answer to that is no.

You should either update (which I would recommend anyway) or use an alternative like Picco which is very easy.

sad, I liked it. Eventually I will update HA, but not right now. Anyway I would still like my translate to work.
I will try to find out more about Pico then. How is the voice and does it support different languages or only english?
Danish is not supported I just saw :frowning:

Could the custom component method mentioned earlier in this post maybe be a solution?

The longer you wait, the more breaking changes you get, the “harder” it will get to update.

I know and that is why I am still on 0.103.6.
I think it started with the version after 0.103.6. Some major changes in groups and other things.
I didn´t had the time for changing a big part of my programming and now it just gets more and more hopeless :wink:

Could the custom component method mentioned earlier in this post maybe be a solution?

The custom component mentioned earlier only temporarily replaced the tts fix. This is the same thing that was later included in the 0.118.5 fix.
I think and I’m convinced that it won’t help you in the version you’re running.

Okay, thanks for the information.

I’m on version 2020.12.0 but is still broken

It works well for me on version HA 2020.12.0 and HassOS 5.8. I only use the local network.

please tell me your config
I’ve got this error

If you use https and remote access to HA look here. As I wrote I only use LAN and http