Apple TV error: Establishing a connection to

Hi all,

My hass can no longer connect to Apple TV. In the UI it displays Establishing a connection to…

When looking at the logs, I see the following error:

A <class 'concurrent.futures._base.TimeoutError'> error occurred: 

Any idea what the issue could be?

I’m getting the same error. Anyone have ideas how to fix? When I do a scan it finds my Apple TV. It was working before so wondering if an update to the ATV broke something with this component.

Make sure you have Home sharing enabled and if you do try to disable it then restart ATV then turn it on again.

Thanks I tried, cannot get it to work!

Are you running the iOS 12.1 beta? I had the same issue when the beta auto updated.

I still run into this on another Apple TV without the beta after I watch a couple of episodes on Netflix or Prime. I then have to restart the aTV and it fixes the issue.

Yep. Same here
tvOS 12.1.1 (16K5045a)
The “error” is everywhere after the update
DACP for node.js is not working anymore too

Will be fixed by: https://github.com/home-assistant/home-assistant/pull/19085

Oh, it’s great. Thanks!
Such a simple solution
Just made changes manually, it works!

how did you solve it?

I’m running hassio, should I add the new code as a custom component?

FYI - Issue appears to be resolved. Updated from 83.3 to 84.3 and no longer have an issue with my ATVs.

Yes very nice!

Is anyone experiencing this again on 0.88.1? Saw this message appear this morning after upgrading.

Has this ever been fixed? I have to restart the ATV a lot in order re-establish the connection in HA. Then it only lasts a few hours before I need to do it again.
Running 83.6 Hassbian

Exact same issue here…

I do nightly reboots but they’re often not enough and the problem resurfaces by mid-day.

Is there any hope for these Apple TV issues?

The only way I’ve figured out how to fix is is by rebooting the Apple TV. I have 4 in my house and this just isn’t a suitable solution.

Do other people have the Apple TV component working reliably? Even after a reboot, eventually this just happens again after a couple of days.

I’m seeing similar behaviour as well. Unfortunately I haven’t been able to reproduce the steps required to make it occur, otherwise I would have created an issue on the Github page.

Same problem here on 0.100.1. I have 4x ApplyTV 4th gens and they worked for a few weeks, but I haven’t been able to reconnect despite multiple reboots and disabling/enabling home sharing…