Google Cast broken after hostname change

Hi,

I used to be able to use the text_to_speech service (/action) on my media_player.living room targeting my Google Home Player (Sony) tts.google_en_com.

But I tried it today and it doesn’t work anymore.

Here is the error I get :

Failed to cast media http://srv-ha:8123/api/tts_proxy/1a0203ad7453de20eec74f4854ad706457bf2616_en_-_tts.google_en_com.mp3 from internal_url (http://srv-ha:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address

Lastly, I changed the name of my host from homeassistant to srv-ha but I can’t imagine that we absolutly need to use the preconfigured hostname if we want to be able to use the Google Cast integration :slightly_frowning_face:

Since I can’t connect to my Google Home through ssh to do some network tests :sweat_smile: , I can’t understand why it can’t resolve http://srv-ha:8123
From my computer, I can reach HA with this url and I can ping srv-ha :face_with_raised_eyebrow:

Anyone with an idea ?