Open fernandopn opened 6 days ago
Unfortunately is this already the case for a few Months now and not started with 2024.9.3.... there are several more similar issues created for this. It goes back already a long time but not get solved.
Hey there @emontnemery, mind taking a look at this issue as it has been labeled with an integration (cast
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
cast documentation cast source (message by IssueLinks)
Same problem here
Same issue here with pyatv (instead of cast). Started after upgrading to 2024.9.3
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/core.py", line 2781, in _run_service_call_catch_exceptions await coro_or_task File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/apple_tv/media_player.py", line 347, in async_play_media await self.atv.stream.play_url(media_id) File "/usr/local/lib/python3.12/site-packages/pyatv/core/facade.py", line 359, in play_url await self.relay("play_url")(url, **kwargs) File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/airplay/__init__.py", line 136, in play_url return await self._play_task ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/airplay/player.py", line 68, in play_url await self._wait_for_media_to_end() File "/usr/local/lib/python3.12/site-packages/pyatv/protocols/airplay/player.py", line 84, in _wait_for_media_to_end resp = await self.rtsp.connection.get("/playback-info") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pyatv/support/http.py", line 423, in get return await self.send_and_receive("GET", path, allow_error=allow_error) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pyatv/support/http.py", line 496, in send_and_receive raise exceptions.HttpError( pyatv.exceptions.HttpError: HTTP/1.1 method GET failed with code 500: Internal Server Error
Same here
Logger: pychromecast.socket_client Source: /usr/local/lib/python3.12/site-packages/pychromecast/socket_client.py:420 First occurred: 4:39:42 PM (1 occurrences) Last logged: 4:39:42 PM
[Back Garden Speakers([::ffff:c0a8:29]):8009] Failed to connect to service HostServiceInfo(host='[::ffff:c0a8:29]', port=8009), retrying in 5.0s
Logger: homeassistant.components.automation.don_t_forget_to_take_your_pills_2 Source: components/automation/init.py:763 integration: Automation (documentation, issues) First occurred: 4:39:39 PM (1 occurrences) Last logged: 4:39:39 PM
Error while executing automation automation.don_t_forget_to_take_your_pills_2: CastMediaPlayerEntity._quick_play Failed: Failed to execute quick play http://192.168.0.49:8123/api/tts_proxy/039ad76cc8bde5d7321d9ce071d093c0660795ab_en-gb_6e8b81ac47_tts.home_assistant_cloud.mp3.
Logger: homeassistant.components.automation.don_t_forget_to_take_your_pills_2 Source: helpers/script.py:2026 integration: Automation (documentation, issues) First occurred: 4:39:39 PM (3 occurrences) Last logged: 4:39:39 PM
Don't forget to take your pills: Choose at step 1: choice 2: If at step 1: Error executing script. Error for call_service at pos 1: CastMediaPlayerEntity._quick_play Failed: Failed to execute quick play http://192.168.0.49:8123/api/tts_proxy/039ad76cc8bde5d7321d9ce071d093c0660795ab_en-gb_6e8b81ac47_tts.home_assistant_cloud.mp3. Don't forget to take your pills: Choose at step 1: choice 2: Error executing script. Error for if at pos 1: CastMediaPlayerEntity._quick_play Failed: Failed to execute quick play http://192.168.0.49:8123/api/tts_proxy/039ad76cc8bde5d7321d9ce071d093c0660795ab_en-gb_6e8b81ac47_tts.home_assistant_cloud.mp3. Don't forget to take your pills: Error executing script. Error for choose at pos 1: CastMediaPlayerEntity._quick_play Failed: Failed to execute quick play http://192.168.0.49:8123/api/tts_proxy/039ad76cc8bde5d7321d9ce071d093c0660795ab_en-gb_6e8b81ac47_tts.home_assistant_cloud.mp3.
WHY ISNT THIS BEING ADDRESSED?
I'm also having this issue. The casting actually works, but the step still results in an error and so my automation stops.
Mine was working fine under 2024.9.3 however once I updated to 2024.10.0 the automation no longer works. The strange thing is that if you run the individual step manually then it works. Its only when its a step ran as the complete automation that it fails (and so does the rest of the automation).
Here is the Trace showing the error ...
I'm also having this issue. The casting actually works, but the step still results in an error and so my automation stops.
I have the same problem. Dirty fix, but I've set:
continue_on_error: true
on all actions in the automation, and atleast that doesn't make it stop.
Same issue here, no TTS casting to Google speakers works after updating to 2024.10.0
Doesnt work when trying to execute manually via Dev Tools - Actions or in Automations.
"Logger: homeassistant.components.automation.glom_inte_koppla_in_bilen_notifikation_pa_garaget_hogtalare_om_dorren_oppnas_och_bilen_inte_ar_inkopplad Source: components/automation/init.py:763 integration: Automation (documentation, issues) First occurred: 13:23:09 (2 occurrences) Last logged: 13:47:39
Error while executing automation automation.glom_inte_koppla_in_bilen_notifikation_pa_garaget_hogtalare_om_dorren_oppnas_och_bilen_inte_ar_inkopplad: CastMediaPlayerEntity._quick_play Failed: Failed to execute quick play http://*IP MASKED*/api/tts_proxy/f7ad2e8a3d59e2ad3b500313b823bc757ce609c6sv-_google_translate.mp3."
Similar issue here. I get
HomeAssistantError: CastMediaPlayerEntity._quick_play Failed: Failed to execute quick play http://[ip]:[port]/api/tts_proxy/b858cb282617fb0956d960215c8e84d1ccf909c6_it_-_tts.google_it_it.mp3.
when I try to send a message for my Google Home to pronounce. It seems that the message is always dropped when the Google Home is ‘woken up’ by the message. From then on, it reads the message. For me, the workaround of sending an empty message to ‘wake up’ the Google Home worked, then sending the actual message to be spoken, even though the error message still appears.
Same here. I wanted to reactivate my TTS notifications today, which notify me when I have the windows open for longer, but I also get this error when the Home Mini is off.
However, I also get an error when I just try to switch on the Google Home Mini via the dashboard:
Logger: homeassistant.components.websocket_api.http.connection
Quelle: components/websocket_api/commands.py:245
Integration: Home Assistant WebSocket API ([Dokumentation](https://www.home-assistant.io/integrations/websocket_api), [Probleme](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
Erstmals aufgetreten: 15:15:38 (1 Vorkommnisse)
Zuletzt protokolliert: 15:15:38
[139716208283360] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 100, in wrapper
return_value = func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 518, in _start_app
self._get_chromecast().start_app(app_id)
File "/usr/local/lib/python3.12/site-packages/pychromecast/__init__.py", line 453, in start_app
response_handler.wait_response()
File "/usr/local/lib/python3.12/site-packages/pychromecast/response_handler.py", line 57, in wait_response
raise RequestFailed(self._request)
pychromecast.error.RequestFailed: Failed to execute start app CC1AD845.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 794, in async_turn_on
await self.hass.async_add_executor_job(self.turn_on)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 537, in turn_on
self._start_app(pychromecast.config.APP_MEDIA_RECEIVER)
File "/usr/src/homeassistant/homeassistant/components/cast/media_player.py", line 102, in wrapper
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: CastMediaPlayerEntity._start_app Failed: Failed to execute start app CC1AD845.
Same problem here but the problem is random
Having the same issues as well. Just updated to 2024.10.0. A rollback didn't fix the issue. It's wrecking my automations. I'm a diabetic and rely heavily on whole home broadcasts of TTS notifications along with other actions, to alert other family members if I need help. Also used for medication reminders. It's completely stopping my entire automations.
I've reconfigured both Google Assistant SDK and Google Cast & it didn't fix the issue.
When executing the action:
Error running action CastMediaPlayerEntity._quick_play Failed: Failed to execute quick play (URL to media file)
When running Traces:
Executed: October 4, 2024 at 9:48:00 AM Error: CastMediaPlayerEntity._quick_play Failed: Failed to execute quick play (URL to media file)
When I try to edit the TTS portion of existing automations or if I try to create a new automation using TTS, I get the following:
Visual editor is not supported for this configuration
Key ‘service’ is not expected or not supported by the visual editor. You can still edit your config using YAML.
Current system about:
Core 2024.10.0 Supervisor 2024.10.0 Operating System 13.2.rc1 Frontend 20241002.2
Same problem here but the problem is random
Exactly the same situation for me.
Since Core update 2024.10.1, the error is no longer present and my TTS alarms are all working again. 😀
Even if I switch on the Home Mini manually via the dashboard, there is no longer an error message.
Think I may wait a lil bit longer to be certain lol
On Sun, 6 Oct 2024, 13:51 BiNiCKNiCH, @.***> wrote:
Since Core update 2024.10.1, the error is no longer present and my TTS alarms are all working again. 😀
Even if I switch on the Home Mini manually via the dashboard, there is no longer an error message.
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/127099#issuecomment-2395429236, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7YJPQ3UBFJGCTJO3TGS32LZ2EW6BAVCNFSM6AAAAABPDEWYY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGQZDSMRTGY . You are receiving this because you commented.Message ID: @.***>
Since Core update 2024.10.1, the error is no longer present and my TTS alarms are all working again. 😀
Even if I switch on the Home Mini manually via the dashboard, there is no longer an error message.
Did you have to do anything other than update or was it just that that fixed it?
Did you have to do anything other than update or was it just that that fixed it?
Nope, I only did the update.
Yes, it worked!
On Sun, 6 Oct 2024, 16:16 BiNiCKNiCH, @.***> wrote:
Did you have to do anything other than update or was it just that that fixed it?
Nope, I only did the update.
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/127099#issuecomment-2395475477, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7YJPQ2PLXCMHNBIW4XQGB3Z2FH4ZAVCNFSM6AAAAABPDEWYY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGQ3TKNBXG4 . You are receiving this because you commented.Message ID: @.***>
The problem
I've just updated to
2024.9.3
from 2024.8.x and my automation (bellow) started failing and generating errors.It used to always work and now it is generating the following errors:
What version of Home Assistant Core has the issue?
core-2024.9.3
What was the last working version of Home Assistant Core?
core-2024.8.x
What type of installation are you running?
Home Assistant Core
Integration causing the issue
media_player
Link to integration documentation on our website
No response
Diagnostics information
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.34.0 Stage | running Available Repositories | 1417 Downloaded Repositories | 3Home Assistant Cloud
logged_in | true -- | -- subscription_expiration | December 1, 2024 at 1:00 AM relayer_connected | true relayer_region | eu-central-1 remote_enabled | false remote_connected | false alexa_enabled | false google_enabled | true remote_server | eu-central-1-2.ui.nabu.casa certificate_status | ready instance_id | ca0d14e49be04aa9bce547b38ff0ef0a can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome Assistant Supervisor
host_os | Home Assistant OS 13.1 -- | -- update_channel | stable supervisor_version | supervisor-2024.09.1 agent_version | 1.6.0 docker_version | 26.1.4 disk_total | 28.0 GB disk_used | 10.2 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | board | green supervisor_api | ok version_api | ok installed_addons | ESPHome (2024.9.1), Let's Encrypt (5.2.1), Studio Code Server (5.16.0)Dashboards
dashboards | 2 -- | -- resources | 0 views | 5 mode | storageRecorder
oldest_recorder_run | September 29, 2024 at 10:01 PM -- | -- current_recorder_run | September 30, 2024 at 12:01 AM estimated_db_size | 46.51 MiB database_engine | sqlite database_version | 3.45.3Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response