Problems trying to use plexconnect on os x yosemite

Hi, i need help please, i've read a lot of guides and web pages trying to install plexconnect or openplex in my mac mini and my apple tv 3. I have 3 days trying to make function properly my apple tv with my plex media server.

 

The firmware that is installed on the Apple TV 3 is 7.2 (7512)

My OS is Mac OS X 10.10.3 (Yosemite)

 

I have Plex Media Server installed on this machine and it's ok, i can see movies on a raspberry pi with kodi and plex pluging without no problem.

 

I've been trying to install plexconnect using the guide. I downloaded the software, uncompress it on /Applications folder, i make the certificates and put it into /Applications/PlexConnect/assets/certificates, and no problem with that.

 

I launch the program first time, after that i configure Setting.cfg, and i have the following output.

ED-MacMini:assets egarcia$ sudo "/Applications/PlexConnect/PlexConnect.py" 

21:53:48 PlexConnect: ***

21:53:48 PlexConnect: PlexConnect

21:53:48 PlexConnect: Press CTRL-C to shut down.

21:53:48 PlexConnect: ***

21:53:48 PlexConnect: started: 21:53:48

21:53:48 PlexConnect: Version: 0.5-dev-020615

21:53:48 PlexConnect: Python: 2.7.9 (v2.7.9:648dcafa7e5f, Dec 10 2014, 10:10:46) 

[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]

21:53:48 PlexConnect: Host OS: darwin

21:53:48 PlexConnect: PILBackgrounds: Is PIL installed? False

21:53:48 PlexConnect: IP_self: 10.0.1.100

21:53:48 DNSServer: started: 21:53:48

21:53:48 DNSServer: ***

21:53:48 DNSServer: DNSServer: Serving DNS on 10.0.1.100 port 53.

21:53:48 DNSServer: intercept: ['trailers.apple.com'] => 10.0.1.100

21:53:48 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1

21:53:48 DNSServer: forward other to higher level DNS: 8.8.8.8

21:53:48 DNSServer: ***

21:53:48 WebServer: started: 21:53:48

21:53:48 WebServer: ***

21:53:48 WebServer: WebServer: Serving HTTP on 10.0.1.100 port 80.

21:53:48 WebServer: ***

21:53:48 WebServer: started: 21:53:48

21:53:48 WebServer: ***

21:53:48 WebServer: WebServer: Serving HTTPS on 10.0.1.100 port 443.

21:53:48 WebServer: ***

21:53:51 DNSServer: DNS request received!

21:53:51 DNSServer: Source: ('10.0.1.101', 56849)

21:53:51 DNSServer: Domain: time-ios.g.aaplimg.com

21:53:51 DNSServer: ***forward request

21:53:52 DNSServer: -> DNS response from higher level

 

 

this is my Settings.py

[PlexConnect]
enable_plexgdm = True 
ip_pms = 10.0.1.100
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 8.8.8.8 
prevent_atv_update = True
enable_plexconnect_autodetect = True
ip_plexconnect = 0.0.0.0
hosttointercept = trailers.apple.com
port_webserver = 80
enable_webserver_ssl = True
port_ssl = 443
certfile = ./assets/certificates/trailers.pem
allow_gzip_atv = False
allow_gzip_pmslocal = False
allow_gzip_pmsremote = True
loglevel = Normal
logpath = .

In the apple tv i can add the profile using the url http://trailers.apple.com/trailers.cerwithout problems.

 

The DNS is perfectly configured by wifi on the apple tv using the ip address of my mac mini (10.0.1.100)

 

But when i try to open trailers on my Apple TV it says "Trailers not available right now"

 

I don´t know why my program says: PlexConnect: PILBackgrounds: Is PIL installed? False

 

I don´t know why i can´t never see the message

 

PlexGDM: ***

PlexGDM: looking up Plex Media Server
PlexGDM: ***
PlexGDM: servers discovered: 1

 

or something like that, i've never seen that message in the log.

 

I've tried to use enable_plexgdm = False and hard coded my PMS ip address and the same result

 

I thought that was my OS, and i made a clean install of yosemite and i'm getting the same errors and problems.

 

I've tried to install openplex, and the installation never finish, the installer get freeze.

 

I really don't know what else to do. If someone can help me i'll appreciate it.

 

Sorry for my bad english, my native language is spanish.

 

Please provide a log while trying to access trailers from your aTV (loglevel=High).

I don't see why you would be able to install the profile, but otherwise aTV couldn't get in touch with PlexConnect. You keep PlexConnect running, don't you?

>>PlexConnect: PILBackgrounds: Is PIL installed? False

PIL: Python library for grafics/image handling. With that installed you get the "fanart" option - nicer looks... :-D

>>PlexGDM: looking up Plex Media Server

This will show up, once your aTV was able to establish connection to PlexConnect. As it looks - you get the "trailers unavailable" - this is not the case so far...

Thanks for the help...

Today i tried to make everything from the beginning, i downloaded plexconnect, uncompress it on /Applications folder, i made the certificates again following this guide, i set the log level to High in Settings.cfg, and deleted the old certificates profile on the apple tv.

After that i ran plexconnect and i added the certificate again in the apple tv.

here is the log

ED-MacMini:~ egarcia$ sudo "/Applications/PlexConnect-master/PlexConnect.py" 
10:09:27 PlexConnect: ***
10:09:27 PlexConnect: PlexConnect
10:09:27 PlexConnect: Press CTRL-C to shut down.
10:09:27 PlexConnect: ***
10:09:27 PlexConnect: started: 10:09:27
10:09:27 PlexConnect: Version: 0.5-dev-020615
10:09:27 PlexConnect: Python: 2.7.9 (v2.7.9:648dcafa7e5f, Dec 10 2014, 10:10:46) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
10:09:27 PlexConnect: Host OS: darwin
10:09:27 PlexConnect: PILBackgrounds: Is PIL installed? False
10:09:27 PlexConnect: IP_self: 10.0.1.100
10:09:27 DNSServer: started: 10:09:27
10:09:27 DNSServer: ***
10:09:27 DNSServer: DNSServer: Serving DNS on 10.0.1.100 port 53.
10:09:27 DNSServer: intercept: ['trailers.apple.com'] => 10.0.1.100
10:09:27 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
10:09:27 DNSServer: forward other to higher level DNS: 8.8.8.8
10:09:27 DNSServer: ***
10:09:27 WebServer: started: 10:09:27
10:09:27 WebServer: ***
10:09:27 WebServer: WebServer: Serving HTTP on 10.0.1.100 port 80.
10:09:27 WebServer: ***
10:09:27 WebServer: started: 10:09:27
10:09:27 WebServer: ***
10:09:27 WebServer: WebServer: Serving HTTPS on 10.0.1.100 port 443.
10:09:27 WebServer: ***
10:09:30 DNSServer: DNS request received!
10:09:30 DNSServer: Source: ('10.0.1.101', 61006)
10:09:30 DNSServer: Domain: time-ios.g.aaplimg.com
10:09:30 DNSServer: ***forward request
10:09:30 DNSServer: -> DNS response from higher level
10:09:55 DNSServer: DNS request received!
10:09:55 DNSServer: Source: ('10.0.1.101', 61523)
10:09:55 DNSServer: Domain: trailers.apple.com
10:09:55 DNSServer: ***intercept request
10:09:55 DNSServer: -> DNS response: 10.0.1.100
10:09:55 WebServer: serving *.cer: /trailers.cer
10:11:38 DNSServer: DNS request received!
10:11:38 DNSServer: Source: ('10.0.1.101', 50677)
10:11:38 DNSServer: Domain: time-ios.g.aaplimg.com
10:11:38 DNSServer: ***forward request
10:11:38 DNSServer: -> DNS response from higher level
10:11:42 DNSServer: DNS request received!
10:11:42 DNSServer: Source: ('10.0.1.101', 50380)
10:11:42 DNSServer: Domain: p24-buy.itunes.apple.com
10:11:42 DNSServer: ***forward request
10:11:42 DNSServer: -> DNS response from higher level
10:11:43 DNSServer: DNS request received!
10:11:43 DNSServer: Source: ('10.0.1.101', 57158)
10:11:43 DNSServer: Domain: se.itunes.apple.com
10:11:43 DNSServer: ***forward request
10:11:43 DNSServer: -> DNS response from higher level
10:11:43 DNSServer: DNS request received!
10:11:43 DNSServer: Source: ('10.0.1.101', 51325)
10:11:43 DNSServer: Domain: itunes-cdn.itunes-apple.com.akadns.net
10:11:43 DNSServer: ***forward request
10:11:43 DNSServer: -> DNS response from higher level
10:11:43 DNSServer: DNS request received!
10:11:43 DNSServer: Source: ('10.0.1.101', 59671)
10:11:43 DNSServer: Domain: e8218.ce.akamaiedge.net
10:11:43 DNSServer: ***forward request
10:11:43 DNSServer: -> DNS response from higher level
10:11:43 DNSServer: DNS request received!
10:11:43 DNSServer: Source: ('10.0.1.101', 61562)
10:11:43 DNSServer: Domain: e8218.ce.akamaiedge.net
10:11:43 DNSServer: ***forward request
10:11:43 DNSServer: -> DNS response from higher level
10:11:44 DNSServer: DNS request received!
10:11:44 DNSServer: Source: ('10.0.1.101', 55141)
10:11:44 DNSServer: Domain: sb.symcd.com
10:11:44 DNSServer: ***forward request
10:11:44 DNSServer: -> DNS response from higher level
10:11:44 DNSServer: DNS request received!
10:11:44 DNSServer: Source: ('10.0.1.101', 60903)
10:11:44 DNSServer: Domain: EVSecure-ocsp.verisign.com
10:11:44 DNSServer: ***forward request
10:11:44 DNSServer: -> DNS response from higher level
10:11:45 DNSServer: DNS request received!
10:11:45 DNSServer: Source: ('10.0.1.101', 49890)
10:11:45 DNSServer: Domain: pd-nk.itunes.apple.com
10:11:45 DNSServer: ***forward request
10:11:45 DNSServer: -> DNS response from higher level
10:11:46 DNSServer: DNS request received!
10:11:46 DNSServer: Source: ('10.0.1.101', 65445)
10:11:46 DNSServer: Domain: trailers.apple.com
10:11:46 DNSServer: ***intercept request
10:11:46 DNSServer: -> DNS response: 10.0.1.100
10:11:46 DNSServer: DNS request received!
10:11:46 DNSServer: Source: ('10.0.1.101', 55264)
10:11:46 DNSServer: Domain: a1.mzstatic.com
10:11:46 DNSServer: ***forward request
10:11:46 DNSServer: -> DNS response from higher level
10:13:44 DNSServer: DNS request received!
10:13:44 DNSServer: Source: ('10.0.1.101', 53263)
10:13:44 DNSServer: Domain: local
10:13:44 DNSServer: ***forward request
10:13:44 DNSServer: -> DNS response from higher level
10:13:46 DNSServer: DNS request received!
10:13:46 DNSServer: Source: ('10.0.1.101', 53676)
10:13:46 DNSServer: Domain: time-ios.g.aaplimg.com
10:13:46 DNSServer: ***forward request

The certificate is downloaded ok, but trailers app still says the same. it's not available at this moment. i restarted the apple tv before this and nothings changed.

Off course i keep the application running up while i try to access plex via trailers app on the apple tv.

No luck for me today.

Cool... I guess your certs are bad somehow.

Wahlman provided some test certs recently. Take a look and try with them.

...and here is the thread: https://forums.plex.tv/topic/166900-trailers-is-unavailable-atv32-ios-72-python-2710/?p=952885

The same problem with that certs, the problem must be other thing, ill try to virtualize a windows machine and run plexconnect on it

Solved, the problem was mi isp, i don't know why but the apple tv got a wrong date from the network, i solved connecting and activating the apple tv from my cell phone isp network and everything begins to work perfectly.

Thanks anyway!