-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Description
The problem
Hello,
I try to cast a song from my Jellyfin library to a Google mini with Home assistant but in log i have this error :
Failed to cast media https://192.168.1.27:8096/Audio/865b5a1d777760d831c361e364998dde/universal?UserId=0943ef1a1eec410dbaeac7a5857d797c&DeviceId=7ba4f25697e4562a502d185764c24435&MaxStreamingBitrate=140000000&api_key=. Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address
I try local adresse or valid tls domaine name same result
I try every codec : aac, mp3, wma, vorbis : same result
What version of Home Assistant Core has the issue?
core-2025.11.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Jellyfin
Link to integration documentation on our website
https://www.home-assistant.io/integrations/jellyfin/
Diagnostics information
home-assistant_jellyfin_2025-12-09T17-11-57.060Z.log
Peek.09-12-2025.17-45.webm
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
I've made some test by command line :
~ catt -d 192.168.1.109 cast 'http://192.168.1.27:8096/Audio/d4b9c789040125ced2dc7b6e275b0962/universal?UserId=0943ef1a1eec410dbaeac7a5857d797c&DeviceId=f042a4873f36637f135601383905b2fb&MaxStreamingBitrate=140000000&api_key=<hidden>'
Casting remote file http://192.168.1.27:8096/Audio/d4b9c789040125ced2dc7b6e275b0962/universal?UserId=0943ef1a1eec410dbaeac7a5857d797c&DeviceId=f042a4873f36637f135601383905b2fb&MaxStreamingBitrate=140000000&api_key=<hidden>...
Playing "universal" on "Google mini"...
But no sound, but connection is OK
another test with broken api_key :
~ catt -d 192.168.1.109 cast 'http://192.168.1.27:8096/Audio/d4b9c789040125ced2dc7b6e275b0962/universal?UserId=0943ef1a1eec410dbaeac7a5857d797c&DeviceId=f042a4873f36637f135601383905b2fb&MaxStreamingBitrate=140000000&api_key=<broken_key>
ERROR: [generic] Unable to download webpage: HTTP Error 401: Unauthorized (caused by <HTTPError 401: Unauthorized>)
Error: Remote resource not found.
So it's the good server that answer
and last test :
~ catt -d 192.168.1.109 cast http://192.168.1.27:8096/Items/adb7a26ebda39ee2396ded4c2513d916/Download?api_key=<hidden>
Casting remote file http://192.168.1.27:8096/Items/adb7a26ebda39ee2396ded4c2513d916/Download?api_key=<hidden>...
Playing "Download" on "Google mini"...
And here the song was played