AppleTV not installing profile

Hey everyone. Had a working AppleTV 3 conneted to PlexConnect via the trailers app about a year ago, however, it got disconnected a while back and I decided to turn it on. Attempted to reinstall the profile (after removing it), but even with plexconnect running the device won’t install the cert. I’ve verified that the trailers.cer and trailers.pem files are in the certificates folder, DNS is set to the Server Host IP and both devices are on the same network, but after circling the apple tv won’t install the certificate. Any ideas on what I’m missing? went through the install guide again just in case something was missing, but I can’t find anything.

What type of hardware is the plexconnect running on?

I had a similar issue a while ago. My plexconnect is running on a synology Nas and I could not get the cer. to install (exact same issue as you … turned the ATV3 on after a long while). I posted my solution in another thread and have copied it here maybe it will help you as well (you can probably skip step #1)

just to let everybody know… it is working. do not really have a clue what did it but these are the steps I took today:

  1. improved the hard wired connection between the router and the atv. was via power line adapters and now straight ethernet connection
  2. removed both the synocommunity and brigittehelsen package links from my package centre and put them back on
  3. did a fresh install on both the nas and did a reset on the atv… this time picked the trailers app instead of wsj during the install (did try that before though)
    adding the profile now magically worked without the 109 error….
    hope this helps somebody else.

Nothing as fancy as a NAS i’ve got it connected to a PC running Windows 10 with a few TB HDs for the data. I had just run a fresh install on the PC of the Python software (ensured it’s still running version 2.7.10 and not version 3) and extracted the plexconnect-master zip file to Program Files (x86), then just reset the AppleTV at your suggestion, but now instead of the 109 error I’m getting the error -1001. Reviewing the log on the PlexConnect.pyc I can see where it’s receiving the intercept request and providing the DNS response (set to the IP address of the host Server), Domain is showing Domain: trailers.apple.com . It’s just not installing the profile. :confused:

here I will defer to the users that have plexconnect installed on a windows machine. I am just not to familiar with it on windows… if anyone else reads this please help dark doctor42 as I am at a loss how to help him/her any further.

Good luck! and I will keep an eye on this thread… just a last suggestion… after you did the reset of the apple tv did you also do a fresh restart of the windows pc… sometimes these small things do wonders in the obscure world of hardware

Hah, asaweli definitely did. :slight_smile: I was looking over the FAQs and saw that it stated that all traffic had to go through port 80 for PlexConnect to work properly and I get the message that the “Webserver: Failed to connect to http on port 80: [Errno 10013] an attempt was made to access a socket in a way forbidden by its access permissions.” I secured my Plex Server after it starting allowing HTTPS (the next line is Webserver: Serving HTTPS on port 443) and now I’m wondering if this might be the problem. Do we have to have to leave an unsecure connection open to use PlexConnect?

not that I know of… do you have to forward those ports in your router? I do not have to do that as far as I know for plexconnect to work on my setup

I am having the same issue.

here are my logs:
22:03:07 PlexConnect: started: 22:03:07
22:03:07 PlexConnect: Version: 0.5-dev-231115
22:03:07 PlexConnect: Python: 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)]
22:03:07 PlexConnect: Host OS: win32
22:03:07 PlexConnect: PILBackgrounds: Is PIL installed? False
22:03:07 PlexConnect: IP_self: 192.168.1.10
22:03:07 DNSServer: started: 22:03:07
22:03:07 DNSServer: ***
22:03:07 DNSServer: DNSServer: Serving DNS on 192.168.1.10 port 53.
22:03:07 DNSServer: ***
22:03:07 WebServer: started: 22:03:07
22:03:07 WebServer: Failed to connect to HTTP on 192.168.1.10 port 80: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions
22:03:07 WebServer: started: 22:03:07
22:03:07 WebServer: ***
22:03:07 WebServer: WebServer: Serving HTTPS on 192.168.1.10 port 443.
22:03:07 WebServer: ***

When i try to install the profile in my aptv3 it just cycles over and over until it errors out to tell me it can’t. ideas?

wraunch: I don’t think this is related to the certificates… For whatever reason PlexConnect is not allowed to connect to port :80. Is there another application sitting on it already (eg. internet sharing)? Or a firewall blocking access (though this should also affect port :443 then)?

I found a Windows service was using port 80. Stopped and disabled it and I’m good now!