-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media playback suddenly stopped working #125545
Comments
I have the same problem in HA 2024.6.1 using all my Chromecast devices. I tried to configure external and internal URLs in YAML manually (also using the external URL identical to the internal), but I'm still unable to reproduce anything. It still results in:
My external URL is accessible internally and externally from my network. going to the URL manually the audio is correctly reproduced. |
I have the same problem. It just stopped working. I get the error:
Followed by the error:
If I try to access the file "https://[MY EXTERNAL ADDRESS]:8123/api/tts_proxy/cc154eef94f80543f151ecd6826fb568e8012db1_en-us_6e8b81ac47_cloud.mp3" i get the browser error "Hmmm… can't reach this page".... If I try and access an old working cached mp3 on the address "https://[MY EXTERNAL ADDRESS]:8123/api/tts_proxy/4ab57afd210a619093d91f431954f22265502c7e_da_-_google_translate.mp3" it works fine. |
How did you find the name of your "old" mp3 file, and how did you know that it was cached? |
When the plugin stopped working I found the url of the cached MP3 in the logs of home assistant. Then when I reinstalled the plugin the name of the mp3 changed to a new name/file. The file I cannot access.... |
Have you exposed HA directly to the internet using port forward, or are you using a reverse proxy? |
Hello,
Here is a tcpdump just to show you that there is no communication issue :
192.168.X.X is my HA Everything works before and unfortunately I can't say exactly when it starts to fail. Thank you for your help |
I have the same problem. From my observations, the TTS file is created in the /tts directory and the reading is set to /tts_proxy. Failed to cast media http://xxx.xxx.xxx.xxx:8123/api/tts_proxy/7110eda4d09e062aa5e4a390b0a572ac0d2c0220_pl_-_tts.google_translate_pl_com.mp3 from internal_url (http://xxx.xxx.xxx.xxx:8123). Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address |
I also have this problem. For me it's a specific device that stopped working: My google nest hub. The error I see is the same as reported:
Sending the same data to my google nest mini works, and it's connected to the same local network. Not sure if the error we get is correct given my other device works. Have anybody tried turning on more logging? |
I experience something similar. My Google nest mini stopped responding to |
I have a similar issue as well: playback from audio files within the Home Assistant media browser to my Google Nest Mini stopped working suddenly. I tried restoring a backup of the VM to version 2024.8.2, but the behaviour is the same. And I'm quite sure the issue started later then that upgrade. So maybe something changed on the Nest Mini's side? |
Interesting. Because I have google nest Minis that work, while my google nest hub doesn't 🤔 . Problem on the nest side of things feels likely. |
I have done some more testing and it seems to be working fine on my 3x Chromecast with Google TV. But it does not work with my Google Nest Hub or with my Google Home |
Also echoing @parberge - my Google Nest Mini works fine but my 3 hubs have stopped working with the same error message. It was working on 2024.9.1 but since updating to 2024.9.2 earlier it has stopped. |
I'm also having the same issue and it started right after the upgrade to 2024.9.2. I have a Google TV and a Chromecast Ultra, the Google TV still works without any issues, but the Chromecast Ultra is refusing to play local media from HA and also some external media that it had no issues playing before the HA upgrade. Downgrading HA to 2024.9.1 didn't help, removing the Cast integration and setting things up again didn't help, and factory resetting the Chromecast Ultra didn't help. |
Same issue, for 10 days, I can't play any media on Chromecast devices. |
Same issue here. I can't play local files from HA to Nest Mini |
Same problem over here. Also tried to restore a backup of HA, did a factory reset of the speaker > didn't help.. I have two google nest speakers, now only one works! |
Same issue here. Some work, some don't. If they're part of a group, the TTS just doesn't go through. The speakers wake and the volume changes but it doesn't play at all. Seems to have started when I upgraded to 2024.9.1, persists on 2024.9.2 as of this evening. |
I'm having the same issue starting from this morning. Note that I have 3 Nest Mini and 1 Home Mini. Only one Nest Mini has this issue. I have reset the Nest Mini but am still able to reproduce this issue. Note that I've tested casting a public url (http://stream.tilos.hu:8000/tilos) to the broken Nest Mini, and this url works. So I suspect the issue is related to Nest Mini unable to access local urls in LAN, though all my other devices can access it. |
Im having the same problems, first started happening with a google home mini then with a nest mini, neither local media or tts are working. |
Hello |
Same issue here. I try using TTS and there is no speech but there is a beep on the google home mini. Funnily enough I have 3 minis and the other two work. |
Adding my observations so far:
These points indicate that the issue is on the broken Nest device itself. It could be due to a server side config roll out that is gradually pushed to devices.
These points make me think this issue could be due to some incompatible change in the Nest device that breaks Home Assistant's Google Cast integration. Since the same "broken" device can still cast audio from other sources, a fix can probably be made in the HA's integration. If this issue is caused by some server config roll out, it may become a more widespread problems later on, and other working Google Cast devices may suddenly stop working. |
I have the same problem. |
My Google Nest does not work when I want to play from Home Assistant, but it will play files via Music Assistant. For me this will be a temporary alternative as I am not using TTN |
How did you link Text-to-speech to music assistant? I would also like to try this workaround until a permanent fix is available. |
I removed the Nest Mini from Home Assistant and added it to Music Assistant. Using the "Music Assistant Integration" I can play anything on the Nest Mini again |
Thanks for the tip! Does Music Assistant support text-to-speech? I rely on home assistant to announce events using my nest mini so I need text-to-speech support. |
I tried and yes it works! Idea is that TTS is just a program that changes text into an audio file. Home assistant just sends this audio file to a media player. Instead of sending it direct to the Nest Mini, we send it via the Music assistant. |
Just tried it now and it works for casting a media file. Perfect workaround! |
My nest mini suddenly starts working after staying broken for 1 day. I didn't do anything other than installing the music assistant to my HA instance and I haven't even started using it. All of sudden, the speaker starts working again. Not sure why, but maybe the nest side bug has been fixed? |
Just got my first notification after a few days randomly.. fingers crossed it was Google that fixed their issue! |
Started working for me as well |
Works for me as well this morning. I could also see that the Nest was in fact requesting the file from my web server, but then bailed. So, if it now suddenly works, it must be some change by Google indeed. |
Works for me too. |
I suspect that everyone of you who now report that thing mysteriously are working again - are from the US, right? |
I am from Europe, and it also started to work out of thin air, just a couple of minutes ago. |
I'm from France so Europe too. |
Working again after updating to core 2024.9.2 |
Indeed - suddenly it works here for me too! What a thrill 😄 |
So my Google TV runs local ? And my Google Nest runs online only ? |
That I know nothing about. I don't have a Google TV |
I'm in the US and still having this issue. The mini chimes but nothing plays. I was able to get to the file via http://ip:port/api/tts_proxy/filename.mp3 which does have the message that I requested. I checked in the Home app and the Cast Firmware for the mini I have is at 3.73.429109. Could anyone that is working confirm your cast firmware? I began creating some automations with this and it has never worked, but I started last week. I am hoping this is my only issue. UPDATE: I figured out my issue. My local environment had a separate DNS system and so my local network setting for Home Assistant was set to http://ha.local:8123. After changing that to the IP address, the Mini has no issue playing back my message! Comment, would it be possible to have in the Google Translate text-to-speech or Google Cast Integration to specify for it the local IP address? I am not sure I really like that as it splits the location of where that could be set, but it is nice that I could utilize my local DNS naming somehow still for Home Assistant. |
This is so crazy I upgraded to 2024.9.2 from 9.1 and it started working. Then I upgrated again to 9.3 and its broken again. I just hear a beep on the google home device and nothing is said. |
after several hours of investigation, i have found a solution that works for me constantly
|
I'm getting a similar error:
I'm using the web browser to access the HA UI via homeassistant.local:8123. If I paste the url in my browser, the song starts to play immediately. Of course, http://homeassistant.local:8123 isn't accessible externally, but what would try to do that???
What could be the problem? |
The problem
I've had the tts:speak service running for a long time with no issues at all.
Then suddenly the other day - out of the blue - it stopped working. That is, I can hear the 'blip' in the speakers (I have several) when the volume is set, but the message is never played. I have several different automations sending messages to various speakers depending on different triggers. All was working well, but now none of them work anymore.
Then I noticed that I cannot playback any media files (MP3) anymore, not just messages (which in essence are also mp3 files).
I haven't changed any network settings and I've double checked that both external and internal URL is good.
I have deleted the TTS integration, rebooted and re-installed it, but to no avail.
What version of Home Assistant Core has the issue?
System Information version | core-2024.9.1 -- | -- installation_type | Home Assistant Container dev | false hassio | false docker | true user | root virtualenv | false python_version | 3.12.4 os_name | Linux os_version | 5.10.60-qnap arch | x86_64 timezone | Europe/Oslo config_dir | /config
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok HACS Data | ok GitHub API Calls Remaining | 5000 Installed Version | 2.0.1 Stage | running Available Repositories | 1471 Downloaded Repositories | 27Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okDashboards
dashboards | 8 -- | -- resources | 14 views | 17 mode | storageRecorder
oldest_recorder_run | September 4, 2024 at 9:09 AM -- | -- current_recorder_run | September 8, 2024 at 10:38 PM estimated_db_size | 1823.38 MiB database_engine | mysql database_version | 11.4.2Sonoff
version | 3.8.0 (79ecd72) -- | -- cloud_online | 0 / 0 local_online | 1 / 1What was the last working version of Home Assistant Core?
2024.8.3
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Google Translate Text-to-speech
Link to integration documentation on our website
https://www.home-assistant.io/integrations/google_translate
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: