-
-
Notifications
You must be signed in to change notification settings - Fork 28.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apple TV 4 fails to authenticate on 0.55.1 #9966
Comments
Shot in the dark here, but were you able to confirm this worked prior to the new tvOS version? |
I am having the same issue and I haven’t been able to determine which caused the problem since both upgrades happened around the same time. |
This has been reported/seen before, have a look at postlund/pyatv#121. I am not really sure if I understand the solution entirely, but at least he solved it. Generally this issue happens due to authentication problems, so I would recommend disabling end enabling home sharing on your ATV. This seems to be the trick that solves problems for people. |
I have tried, as your linked post suggests, to restart my Apple TV and then play something while I restart HA, but that doesn't change anything. Still the same problems. I have also tried disabling and reenabling home sharing. No change. My passwords have not changed since the last time my ATV was properly working with HA. I am not sure how changing the ports on his router has any effect on ATV working with HA, but I have used LetsEncrypt with my HA configuration and port forwarding on my router. I have rechecked those settings and I don't see anything that should cause any interference. |
I assume that you verified that your |
FWIW I was seeing this as well, but eventually got it to work. Turned off and on home sharing and restarted the Apple TV. After a restart home sharing should have been on, but it wasn't:
When I re-enabled home sharing on the Apple TV I could access it through Home Assistant again. Running tvOS 11.0 and Hass 0.56.0. |
Thank you that worked. What I was doing wrong: I turned off Home Sharing and then immediately turned it back on without restarting the Apple TV. What did work: turning Home Sharing off, restarting Apple TV, then turning Home Sharing back on. I suspect this is an issue with tvOS 11, because before turning Home Sharing off or restarting Running tvOS 11 and Hass 0.55.0 |
I will retry these steps, but they only worked temorarily for me the first time. |
update to my previous post: Since the last post I have upgraded to HA 0.57.3 and I have isolated tracebacks when the error occurs.
|
Probably unrelated to your issue, but it wouldn't hurt to upgrade your python version: https://home-assistant.io/blog/2017/10/06/deprecating-python-3.4-support/ |
unfortunately I don't believe I am able to upgrade python, at least as written in that link. I have tried it and the repositories for my CHIP computer get screwed up since the manufacturer hasn't updated support for stretch yet. :( |
Home Assistant release (
hass --version
): 0.55.1Python release (
python3 --version
): 2.7.9Component/platform: apple_tv
Description of problem: Apple TV (version 4) will not authenticate and therefore cannot establish a connection with Home Assistant
Expected: A successfull connection between Apple TV and Home Assistant
Problem-relevant
configuration.yaml
entries and steps to reproduce:Traceback (if applicable):
Additional info:
The text was updated successfully, but these errors were encountered: