Casting dropping out

Issue description:

Using Navidrome as a server.

I can play files on Navidrome on my phone, but I have problems casting to various Google devices (Chromecast and Nest Audio). I was casting to the Chromecast device “Attic” successfully for a few songs, then it dropped out. So I activate the logs and tried casting again, switching to local, switching back and forth a few times, and it only played on local. Please help!

Logs:

Upload description: rockmaster

Additional information:

 

 

Reproduction steps:

 

 

Media provider:

Subsonic

Screenshots:

     

What do you mean by dropped out?

In the logs I do not see any hard errors and there’s multiple days of logs so it’s hard to know what to look when.

But have you tried to just reboot the Chromecast?

By dropped out, I mean that it stops playing at the end of one song and doesn’t continue to the next. Then, when I change the player to local (or another Chromecast), it plays fine. Trying to switch back in the middle of the playing song causes the song to stop. The play button does nothing at that point.

Rebooting the Chromecast seemed to work! Let’s hope it sticks. Thank you!

I’ll try to remember to delete the old logs before uploading recent ones next time.

Cheers!

Reviving this because the problem is still happening. I uploaded my logs - they probably go back a ways (how do I clear them?). But if you look at today only, you’ll hopefully see the error occurring immediately. Basically, I selected Nest audio, then hit play, and cycles through a few songs with errors and then gives up saying that there are too many errors.

I just tried it again and everything is working.

This happens a lot. Sometimes after playing for a while, sometimes more immediately. I’m not sure what’s going on.

Thank you.

You need to check navidrome / your proxy logs at that time.

Chromecast just says that it can’t read the url I sent that is the Navidrome url without even transcoding.

Here are some of the Navidrome logs when the problem happens. I’m playing “Dark Lady” and a few seconds in I switch from a single chromecast to a group (devices in two separate rooms: a chromecast and a pair of Nest audio speakers). Here’s the output:

time=“2024-06-16T16:00:39Z” level=info msg=“Now Playing” artist=“DJ Food” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000541 title=“Dark Lady” user=[redacted]
time=“2024-06-16T16:00:39Z” level=info msg=“Now Playing” artist=“DJ Food” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000542 title=“Dark Lady” user=[redacted]
time=“2024-06-16T16:00:41Z” level=info msg=“Streaming file” artist=“DJ Food” bitRate=0 cached=false format=raw originalBitRate=192 originalFormat=mp3 requestId=cfc66941bd45/ibGHSJlW9C-000543 title=“Dark Lady” transcoding=false user=[redacted]
time=“2024-06-16T16:00:41Z” level=info msg=“Now Playing” artist=“DJ Food” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000544 title=“Dark Lady” user=[redacted]
time=“2024-06-16T16:00:41Z” level=info msg=“Now Playing” artist=“DJ Food” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000545 title=“Dark Lady” user=[redacted]
time=“2024-06-16T16:00:42Z” level=info msg=“Streaming file” artist=“DJ Food” bitRate=0 cached=false format=raw originalBitRate=192 originalFormat=mp3 requestId=cfc66941bd45/ibGHSJlW9C-000547 title=“Dark Lady” transcoding=false user=[redacted]
time=“2024-06-16T16:00:42Z” level=info msg=“Now Playing” artist=“DJ Food” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000548 title=“Dark Lady” user=[redacted]
time=“2024-06-16T16:00:42Z” level=info msg=“Now Playing” artist=“DJ Food” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000549 title=“Dark Lady” user=[redacted]
time=“2024-06-16T16:00:44Z” level=info msg=“Now Playing” artist=“DJ Food” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000551 title=“Dark Lady” user=[redacted]
time=“2024-06-16T16:00:44Z” level=info msg=“Now Playing” artist=“DJ Food” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000552 title=“Dark Lady” user=[redacted]
time=“2024-06-16T16:00:45Z” level=info msg=“Now Playing” artist=“DJ Food” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000553 title=“Dark Lady” user=[redacted]
time=“2024-06-16T16:00:48Z” level=info msg=“Streaming file” artist=Glide bitRate=0 cached=false format=raw originalBitRate=192 originalFormat=mp3 requestId=cfc66941bd45/ibGHSJlW9C-000557 title=Wornhole transcoding=false user=[redacted]
time=“2024-06-16T16:00:48Z” level=info msg=“Now Playing” artist=Glide player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000558 title=Wornhole user=[redacted]
time=“2024-06-16T16:00:48Z” level=info msg=“Now Playing” artist=Glide player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000559 title=Wornhole user=[redacted]
time=“2024-06-16T16:00:48Z” level=info msg=“Now Playing” artist=Glide player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000560 title=Wornhole user=[redacted]
time=“2024-06-16T16:00:48Z” level=info msg=“Streaming file” artist=“Sounds From The Ground” bitRate=0 cached=false format=raw originalBitRate=320 originalFormat=mp3 requestId=cfc66941bd45/ibGHSJlW9C-000565 title=“Eyes Wide Open Ft. Aine” transcoding=false user=[redacted]
time=“2024-06-16T16:00:49Z” level=info msg=“Now Playing” artist=“Sounds From The Ground” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000566 title=“Eyes Wide Open Ft. Aine” user=[redacted]
time=“2024-06-16T16:00:49Z” level=info msg=“Now Playing” artist=“Sounds From The Ground” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000567 title=“Eyes Wide Open Ft. Aine” user=[redacted]
time=“2024-06-16T16:00:49Z” level=info msg=“Now Playing” artist=“Sounds From The Ground” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000568 title=“Eyes Wide Open Ft. Aine” user=[redacted]
time=“2024-06-16T16:00:49Z” level=info msg=“Streaming file” artist=“Invisible Scratch Pickles” bitRate=0 cached=false format=raw originalBitRate=192 originalFormat=mp3 requestId=cfc66941bd45/ibGHSJlW9C-000572 title=“One-Legged Centipede” transcoding=false user=[redacted]
time=“2024-06-16T16:00:49Z” level=info msg=“Now Playing” artist=“Invisible Scratch Pickles” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000574 title=“One-Legged Centipede” user=[redacted]
time=“2024-06-16T16:00:49Z” level=info msg=“Now Playing” artist=“Invisible Scratch Pickles” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000573 title=“One-Legged Centipede” user=[redacted]
time=“2024-06-16T16:00:49Z” level=info msg=“Now Playing” artist=“Invisible Scratch Pickles” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000575 title=“One-Legged Centipede” user=[redacted]
time=“2024-06-16T16:00:50Z” level=info msg=“Streaming file” artist=“DJ Wally” bitRate=0 cached=false format=raw originalBitRate=192 originalFormat=mp3 requestId=cfc66941bd45/ibGHSJlW9C-000580 title=“Scared Yet?” transcoding=false user=[redacted]
time=“2024-06-16T16:00:50Z” level=info msg=“Now Playing” artist=“DJ Wally” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000581 title=“Scared Yet?” user=[redacted]
time=“2024-06-16T16:00:50Z” level=info msg=“Now Playing” artist=“DJ Wally” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000582 title=“Scared Yet?” user=[redacted]
time=“2024-06-16T16:00:50Z” level=info msg=“Now Playing” artist=“DJ Wally” player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000583 title=“Scared Yet?” user=[redacted]
time=“2024-06-16T16:00:50Z” level=info msg=“Streaming file” artist=Gaudi bitRate=0 cached=false format=raw originalBitRate=882 originalFormat=flac requestId=cfc66941bd45/ibGHSJlW9C-000587 title=Sufani transcoding=false user=[redacted]
time=“2024-06-16T16:00:50Z” level=info msg=“Now Playing” artist=Gaudi player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000589 title=Sufani user=[redacted]
time=“2024-06-16T16:00:50Z” level=info msg=“Now Playing” artist=Gaudi player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000588 title=Sufani user=[redacted]
time=“2024-06-16T16:00:51Z” level=info msg=“Now Playing” artist=Gaudi player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000591 title=Sufani user=[redacted]
time=“2024-06-16T16:00:51Z” level=info msg=“Now Playing” artist=Gaudi player=“Symfonium [Symfonium/Android]” requestId=cfc66941bd45/ibGHSJlW9C-000592 title=Sufani user=[redacted]

That doesn’t seem to say a lot, but maybe you can parse it.

Also, I switched to the Nest audio, and it worked, then I switched back to the group, and it worked. No rebooting necessary. I’ll add that sometimes the problem occurs in the middle of playing songs on any single device (or pair, in the case of the Nest speakers), without any switching of devices.

Then this is more network that Symfonium.

Symfonium just give the Chromecast device the urls to play from, if you do not enable the proxy option (you don’t) then Symfonium is not involved at all during the playback so drop during playback are out of control.

The navidrome logs does not seems to show an error check the proxy too?

@deluan Is there some settings to actually log all the details about the http requests with headers ?

Not currently, but I just pushed a change to add it to the trace level logs. If @rockmaster can use the develop version, he should be able to see the headers in the logs now.

1 Like

This looks like a relevant log entry:

time=“2024-06-19T19:27:30Z” level=warning msg=“HTTP: GET http://[music.domain.com]/share/img/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImFyLWI0Y2MzNDRkMjVhMmVmZTU0MGFkYmYyNjc4ZTIzMDRjXzAiLCJpc3MiOiJORCJ9.vQYwhM4OTuE00zgaqoVwnZMEgzm2WNn5MOfLBBxXvJQ?size=600&u=[user]&t=[REDACTED]&s=[REDACTED]&v=1.13.0&c=Symfonium&f=json” elapsedTime=18ms httpStatus=404 remoteAddr=192.168.0.1 requestId=1596b6045d8a/Z4QXKUMFym-000700 responseSize=18

I think the problem is that I had Symfonium set to access my server through an external URL in media provider settings. I added the IP address as the primary connection, and put the external URL in as a secondary connection (I do this for remote access). Here’s hoping it works.

This is an image request so not really related.

Primary and secondary urls are not really that, once connected to one it stays on it as long as it’s accessible.