question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues with Google cast devices

See original GitHub issue

What version of Music Assistant has the issue?

2022.7.0

The problem

Since my upgrade to the final version, I observe significant more often casting errors. Off course this can be an networking issue on my side, but I don’t observe other issues and believe it could be related to the last update.

How to reproduce

Casting to a CC player

Relevant log output

Logger: homeassistant.components.cast.media_player
Source: components/cast/media_player.py:395 
Integration: Google Cast (documentation, issues) 
First occurred: 19:37:25 (1 occurrences) 
Last logged: 19:37:25

Failed to cast media http://192.168.178.47:8095/media_player.audio57serre/next. Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address 
Logger: music_assistant.players.stream
Source: /usr/local/lib/python3.10/site-packages/music_assistant/controllers/streams.py:466 
First occurred: 18:39:19 (2 occurrences) 
Last logged: 19:37:36

Abort: client(s) did not connect within 10 seconds.

Additional information

No response

What version of Home Assistant Core are your running

2022.7.6

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Raspberry Pi

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
marcelveldtcommented, Jul 27, 2022

Found the root cause for the connectivity issues with cast - fixed in 2022.7.2

1reaction
marcelveldtcommented, Jul 25, 2022

I managed to find the trigger for the issues with cast but not the root cause. For now I’ve disabled a part of the code that triggers the issue (the deadlocking behavior) - that fix is available in the 2022.7.1 patch release.

I will look into the issue in more depth later but at least there’s a temporary fix available. Side effect for this temporary effect is that you can now no longer press next on a google device itself (or shout next track to the google assistant).

Please test if 2022.7.1 gives more stability to Cast devices.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Google Chromecast issues and how to fix them
1. First, check that other devices in the house are able to access the internet and use the Wi-Fi without problems. You may...
Read more >
Chromecast Not Working: 10 Easy Fixes [2022 How-to Guide]
Common Chromecast issues include being unable to cast from a phone or computer, being unable to find your device in Google Home, ...
Read more >
Troubleshoot an issue - Chromecast Help - Google Support
Cast : I'm having an issue casting apps to my TV Guest Mode: I am having trouble setting up or using guest mode....
Read more >
7 common Google Chromecast issues and how to fix them
How to fix weak Wi-Fi signal or constant disconnects on your Chromecast · Your Google Chromecast constantly shuts down or reboots · Nothing...
Read more >
Chromecast not working? Try these 9 simple fixes | WhistleOut
Make sure your Chromecast is connected to the same Wi-Fi network as your mobile device · Use the HDMI extender cable that came...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found