Plexconnect setup "Trailers not available right now"

There are instructions for windows and Mac. The involve different applications to create the certificates. Please scroll to your relevant OS and follow instructions. Please note where you're confused and ask specific questions with an outline of what you did and what the results were. It's pretty detailed and though you may not be familiar with the process it should be comprehensive.

If you're on windows you'll need to use the iPhone configuration app which is for windows.

Th Apple TV update forces the use of https. That is why you need to generate a certificate to use with PlexConnect. I am greatly simplifying the issue just so that you get a grasp of why you have to jump through these hoops. You cannot bypass any step they are all mission critical.

Hi Gh05t,

Thank you for the info. I think I understand it a little bit more. I am stuck somewhere though.

Walkthrough says "Windows users, you will need to double click trailers.der and install it to your local certificate store before you do this."

I don't really know where the "trailers.der" is, so I can't double click to install it to my local certificate store.

By the way I already checked "certmgr.msc"  but I didn't see anything there.

I used a Mac so I’m afraid I can’t assist too much.

I used a Mac so I'm afraid I can't assist too much.

Ohh.. too bad. I thought I was close.

Thanks anyway.

Huh? Not sure if you're trying to make fun of me or what... But between the 12th of August to when Apple broke things with the SSL, adding atv.plexconnect to DNS was absolutely not required for things to keep working fine. And I saw no reference to that in any of the standard wiki page instructions, or even the advanced settings instructions. If that's the only place it's mentioned, and you think I should somehow feel stupid for not seeing it and completely understanding it's relevance, pardon me for not being super human.


I don't think it's fair to say it wasn't documented either. Your comment made it sound like the Dev were doing a sloppy job documenting changes and procedures, and that's simply not the case. The majority of the people use a basic configuration and since your setup is somewhat "exotic" you maybe should take on some of the responsibility of being aware of your specific requirements. I understand that the original comment may have been out of frustration and though I sympathize, it's not the right or good thing to do to cast blame on poor documentation especially since it was in fact documented. Whether or not you needed to do it prior to the update you needed to be aware of changes that may affect your system. They're doing this essentially for free so let's cut them some slack. No need to bite the hand that feeds you...

Huh? Not sure if you're trying to make fun of me or what... But between the 12th of August to when Apple broke things with the SSL, adding atv.plexconnect to DNS was absolutely not required for things to keep working fine. And I saw no reference to that in any of the standard wiki page instructions, or even the advanced settings instructions. If that's the only place it's mentioned, and you think I should somehow feel stupid for not seeing it and completely understanding it's relevance, pardon me for not being super human.

No, I am not trying to make fun of you.

And yes, if you did NOT update your PlexConnect after/around 12Aug, there was no need to add aTV.PlexConnect to your DNS thing. Even if you did an update - but used the PlexConnect DNS - you didn't have to do anything.

Everything beyond the stock usage is kind of "on your own risk", we just can't support every use case, but work on make most of them possible. And there are tons of threads in here that talk about setting up your own DNS and stuff, there are also references to the need of including aTV.PlexConnect to your DNS rerouting. Those changes were not made "just for fun" - it is trying to make PlexConnect less bound to trailers, an option which (I guess) is appreciated if you look at the requests to use crunchyroll, WSJ, or whatever.

Now that you had to update PlexConnect (forced by Apple)... I am sorry you got in trouble for changes introduced in the mean time.    Sorry that my first answer came over like it did - maybe the answer was just to short?

Hi Gh05t,

Thank you for the info. I think I understand it a little bit more. I am stuck somewhere though.

Walkthrough says "Windows users, you will need to double click trailers.der and install it to your local certificate store before you do this."

I don't really know where the "trailers.der" is, so I can't double click to install it to my local certificate store.

By the way I already checked "certmgr.msc"  but I didn't see anything there.

trailers.der? trailers.cer? as in certificate? not a win-guys either...

I used a Mac so I'm afraid I can't assist too much.

It worked! 

trailers.der was in the directory that we created the files in by using CMD commands.

After I double clicked on it it added into the store. Then followed the rest. Now my Trailers is back!

Thank you very much.  :D

Hi Philip -

If you've already set your appletv's DNS to point to your Plex server, you do *not* need to add atv.plexconnect to any DNS server you might be running. The guy who did this has a non standard setup.

Hmm ... perhaps that is my issue also. How do you add atv.plexconnect to the DNS?

Philip

In one of your previous logs, we could see that application.js was getting served to the appletv.  That means that your SSL and cert setup is fine, because that all has to work in order for application.js to get served.

What was strange was that we never saw a request for atv.plexconnect., which is what should happen next. So, some questions:

1. Is your ATV DNS pointing to your plex server?

2. When you updated plexconnect, did you update all of the subdirectories too?  Is it possible you have an old version of application.js that is not working correctly?  You might try a fresh download in a new directory, and just update the Settings.cfg with certfile path, etc.

Thanks everybody, but it's hopeless. I have checked the path many times and tried different configurations. To no avail. Entering the address of the server in my browser just results in "failed to open page". Really don't understand why it would not work, but thanks for the help. Maybe other people have solved it!

One last try with my latest log, don't think anything has changed though:

10:41:33 PlexConnect: ***
10:41:33 PlexConnect: PlexConnect
10:41:33 PlexConnect: Press CTRL-C to shut down.
10:41:33 PlexConnect: ***
10:41:33 PlexConnect: started: 10:41:33
10:41:33 PlexConnect: IP_self: 10.0.1.2
10:41:33 DNSServer: started: 10:41:33
10:41:33 DNSServer: ***
10:41:33 DNSServer: Starting up.
10:41:33 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 10.0.1.2
10:41:33 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
10:41:33 DNSServer: forward other to higher level DNS: 8.8.8.8
10:41:33 DNSServer: ***
10:41:33 WebServer: started: 10:41:33
10:41:34 WebServer: ***
10:41:34 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
10:41:34 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
10:41:34 WebServer: ***
10:41:34 PlexGDM: ***
10:41:34 PlexGDM: looking up Plex Media Server
10:41:34 PlexGDM: ***
10:41:35 PlexGDM: servers discovered: 1
10:41:35 XMLConverter: PlexGDM - PMS: 10.0.1.2:32400
10:53:19 DNSServer: DNS request received!
10:53:19 DNSServer: Source: ('10.0.1.5', 56701)
10:53:19 DNSServer: Domain: trailers.apple.com
10:53:19 DNSServer: ***intercept request
10:53:19 DNSServer: -> DNS response: 10.0.1.2
 

Is this also for mac users? I started this thread as a mac user. The link you provide does not work (acces forbidden)? Could you copy the information to this thread if it might be of importance? Thank you!

>> In one of your previous logs, we could see that application.js was getting served to the appletv.  That means that your SSL and cert setup is fine, because that all has to work in order for application.js to get served.

Well, no.
application.js gets served/send out even if the certificate is wrong, doesn't it? It just isn't accepted by aTV in the steps following.
The "not accepted" part might also happen with a modified app*.js with syntax errors...
I have done everything by the books, I think :) 
My Settings file look like this :
 
[PlexConnect]
logpath = .
enable_dnsserver = True
ip_webserver = 0.0.0.0
prevent_atv_update = True
enable_plexconnect_autodetect = True
port_pms = 32400
port_webserver = 80
ip_plexconnect = 0.0.0.0
certfile = C:\PlexConnect-0.1\assets\certificates railers.pem
ip_dnsmaster = 192.168.0.199
loglevel = Normal
ip_pms = 192.168.0.199
enable_plexgdm = True
port_ssl = 443
 
I am running on an Windows Server 2008 R2 with Hyper-V
Checked that port 80 and 443 is free.
 
My log file look like this :
23:10:38 PlexConnect: started: 23:10:38
23:10:38 PlexConnect: ***
23:10:38 PlexConnect: PlexConnect
23:10:38 PlexConnect: Press ENTER to shut down.
23:10:38 PlexConnect: ***
23:10:38 PlexConnect: IP_self: 192.168.0.199
23:10:38 PlexConnect: started: 23:10:38
23:10:38 PlexGDM: ***
23:10:38 PlexGDM: looking up Plex Media Server
23:10:38 PlexGDM: ***
23:10:39 PlexGDM: servers discovered: 1
23:10:39 PlexConnect: PMS: 192.168.0.199:32400
23:10:39 DNSServer: started: 23:10:39
23:10:39 DNSServer: ***
23:10:39 DNSServer: Starting up.
23:10:39 DNSServer: intercept trailers.apple.com: 192.168.0.199
23:10:39 DNSServer: forward other to higher level DNS: 192.168.0.199
23:10:39 DNSServer: ***
23:10:39 WebServer: started: 23:10:39
23:10:39 WebServer: ***
23:10:39 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
23:10:39 WebServer: ***
23:11:47 DNSServer: DNS request received!
23:11:47 DNSServer: Source: ('192.168.0.86', 51408)
23:11:47 DNSServer: Domain: trailers.apple.com
23:11:47 DNSServer: ***intercept request
23:11:47 DNSServer: -> DNS response: 192.168.0.199
23:13:54 DNSServer: DNS request received!
23:13:54 DNSServer: Source: ('192.168.0.86', 50314)
23:13:54 DNSServer: Domain: bookkeeper.itunes.apple.com.akadns.net
23:13:54 DNSServer: ***forward request
23:13:59 DNSServer: DNS request received!
23:13:59 DNSServer: Source: ('192.168.0.199', 49152)
23:13:59 DNSServer: Domain: bookkeeper.itunes.apple.com.akadns.net
23:13:59 DNSServer: ***forward request
23:14:04 DNSServer: DNS request received!
23:14:04 DNSServer: Source: ('192.168.0.86', 50314)
23:14:04 DNSServer: Domain: bookkeeper.itunes.apple.com.akadns.net
 
And i still get trailer unavailable.
 
Please Help me :) 
 
There is still something wrong, but I just can't see what :( 

Your log does not show plexconnect starting the Webserver on port 443.


I can see



WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.


But normally this is followed by


WebServer: WebServer: Serving HTTP on 0.0.0.0 port 443.


Can you try getting the latest version from git and restart plexconnect.py and then repost the logs.

Ok, I completely re-flashed my Apple TV and blasted my PlexConnect setup to start from scratch.  Updated DNS setting on Apple TV and did no modifications to the settings.cfg file.

[PlexConnect]
port_pms = 32400
port_webserver = 80
ip_plexconnect = 0.0.0.0
certfile = ./assets/certificates/trailers.pem
ip_dnsmaster = 8.8.8.8
ip_pms = 192.168.178.10
loglevel = Normal
logpath = .
enable_dnsserver = True
enable_plexgdm = True
ip_webserver = 0.0.0.0
prevent_atv_update = True
port_ssl = 443
enable_plexconnect_autodetect = True
 
Hangs on serving application.js again!
20:47:46 PlexConnect: ***
20:47:46 PlexConnect: PlexConnect
20:47:46 PlexConnect: Press CTRL-C to shut down.
20:47:46 PlexConnect: ***
20:47:46 PlexConnect: started: 20:47:46
20:47:46 PlexConnect: IP_self: 10.104.51.150
20:47:46 DNSServer: started: 20:47:46
20:47:46 DNSServer: ***
20:47:46 DNSServer: Starting up.
20:47:46 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 10.104.51.150
20:47:46 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
20:47:46 DNSServer: forward other to higher level DNS: 8.8.8.8
20:47:46 DNSServer: ***
20:47:46 WebServer: started: 20:47:46
20:47:46 WebServer: ***
20:47:46 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
20:47:46 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
20:47:46 WebServer: ***
20:47:46 PlexGDM: ***
20:47:46 PlexGDM: looking up Plex Media Server
20:47:46 PlexGDM: ***
20:47:47 PlexGDM: servers discovered: 2
20:47:47 XMLConverter: PlexGDM - PMS: 10.104.51.150:32400
20:47:47 XMLConverter: PlexGDM - PMS: 10.104.51.2:32400
20:48:41 DNSServer: DNS request received!
20:48:41 DNSServer: Source: ('10.104.51.7', 60784)
20:48:41 DNSServer: Domain: mesu.apple.com
20:48:41 DNSServer: ***restrain request
20:48:41 DNSServer: -> DNS response: 10.104.51.150
20:48:43 DNSServer: DNS request received!
20:48:43 DNSServer: Source: ('10.104.51.7', 55688)
20:48:43 DNSServer: Domain: time.apple.com
20:48:43 DNSServer: ***forward request
20:48:43 DNSServer: -> DNS response from higher level
20:48:44 DNSServer: DNS request received!
20:48:44 DNSServer: Source: ('10.104.51.7', 60999)
20:48:44 DNSServer: Domain: data.iana.org
20:48:44 DNSServer: ***forward request
20:48:44 DNSServer: -> DNS response from higher level
20:48:50 DNSServer: DNS request received!
20:48:50 DNSServer: Source: ('10.104.51.7', 58496)
20:48:50 DNSServer: Domain: ax.init.itunes.apple.com
20:48:50 DNSServer: ***forward request
20:48:50 DNSServer: -> DNS response from higher level
20:48:51 DNSServer: DNS request received!
20:48:51 DNSServer: Source: ('10.104.51.7', 57778)
20:48:51 DNSServer: Domain: itunes.apple.com
20:48:51 DNSServer: ***forward request
20:48:51 DNSServer: -> DNS response from higher level
20:48:51 DNSServer: DNS request received!
20:48:51 DNSServer: Source: ('10.104.51.7', 63633)
20:48:51 DNSServer: Domain: configuration.apple.com
20:48:51 DNSServer: ***forward request
20:48:51 DNSServer: -> DNS response from higher level
20:48:51 DNSServer: DNS request received!
20:48:51 DNSServer: Source: ('10.104.51.7', 52766)
20:48:51 DNSServer: Domain: p43-buy.itunes.apple.com
20:48:51 DNSServer: ***forward request
20:48:52 DNSServer: -> DNS response from higher level
20:48:59 DNSServer: DNS request received!
20:48:59 DNSServer: Source: ('10.104.51.7', 63368)
20:48:59 DNSServer: Domain: a1.mzstatic.com
20:48:59 DNSServer: ***forward request
20:48:59 DNSServer: -> DNS response from higher level
20:49:00 DNSServer: DNS request received!
20:49:00 DNSServer: Source: ('10.104.51.7', 55491)
20:49:00 DNSServer: Domain: a3.mzstatic.com
20:49:00 DNSServer: ***forward request
20:49:00 DNSServer: -> DNS response from higher level
20:49:00 DNSServer: DNS request received!
20:49:00 DNSServer: Source: ('10.104.51.7', 55414)
20:49:00 DNSServer: Domain: a4.mzstatic.com
20:49:00 DNSServer: ***forward request
20:49:00 DNSServer: -> DNS response from higher level
20:49:00 DNSServer: DNS request received!
20:49:00 DNSServer: Source: ('10.104.51.7', 63734)
20:49:00 DNSServer: Domain: a5.mzstatic.com
20:49:00 DNSServer: ***forward request
20:49:00 DNSServer: -> DNS response from higher level
20:49:00 DNSServer: DNS request received!
20:49:00 DNSServer: Source: ('10.104.51.7', 62891)
20:49:00 DNSServer: Domain: a2.mzstatic.com
20:49:00 DNSServer: ***forward request
20:49:00 DNSServer: -> DNS response from higher level
20:49:01 DNSServer: DNS request received!
20:49:01 DNSServer: Source: ('10.104.51.7', 50939)
20:49:01 DNSServer: Domain: a771.da1.akamai.net
20:49:01 DNSServer: ***forward request
20:49:01 DNSServer: -> DNS response from higher level
20:49:02 DNSServer: DNS request received!
20:49:02 DNSServer: Source: ('10.104.51.7', 61405)
20:49:02 DNSServer: Domain: init-p01st.push.apple.com
20:49:02 DNSServer: ***forward request
20:49:02 DNSServer: -> DNS response from higher level
20:49:02 DNSServer: DNS request received!
20:49:02 DNSServer: Source: ('10.104.51.7', 53976)
20:49:02 DNSServer: Domain: 27-courier.push.apple.com
20:49:02 DNSServer: ***forward request
20:49:02 DNSServer: -> DNS response from higher level
20:49:32 DNSServer: DNS request received!
20:49:32 DNSServer: Source: ('10.104.51.7', 56850)
20:49:32 DNSServer: Domain: trailers.apple.com
20:49:32 DNSServer: ***intercept request
20:49:32 DNSServer: -> DNS response: 10.104.51.150
20:49:32 Localize: aTVLanguage: en
20:49:32 WebServer: serving application.js
 
Please, does anyone have any idea why it hangs at this point?

Ok, I completely re-flashed my Apple TV and blasted my PlexConnect setup to start from scratch.  Updated DNS setting on Apple TV and did no modifications to the settings.cfg file.

[PlexConnect]
port_pms = 32400
port_webserver = 80
ip_plexconnect = 0.0.0.0
certfile = ./assets/certificates/trailers.pem
ip_dnsmaster = 8.8.8.8
ip_pms = 192.168.178.10
loglevel = Normal
logpath = .
enable_dnsserver = True
enable_plexgdm = True
ip_webserver = 0.0.0.0
prevent_atv_update = True
port_ssl = 443
enable_plexconnect_autodetect = True
 
Hangs on serving application.js again!
20:47:46 PlexConnect: ***
20:47:46 PlexConnect: PlexConnect
20:47:46 PlexConnect: Press CTRL-C to shut down.
20:47:46 PlexConnect: ***
20:47:46 PlexConnect: started: 20:47:46
20:47:46 PlexConnect: IP_self: 10.104.51.150
20:47:46 DNSServer: started: 20:47:46
20:47:46 DNSServer: ***
20:47:46 DNSServer: Starting up.
20:47:46 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 10.104.51.150
20:47:46 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
20:47:46 DNSServer: forward other to higher level DNS: 8.8.8.8
20:47:46 DNSServer: ***
20:47:46 WebServer: started: 20:47:46
20:47:46 WebServer: ***
20:47:46 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
20:47:46 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
20:47:46 WebServer: ***
20:47:46 PlexGDM: ***
20:47:46 PlexGDM: looking up Plex Media Server
20:47:46 PlexGDM: ***
20:47:47 PlexGDM: servers discovered: 2
20:47:47 XMLConverter: PlexGDM - PMS: 10.104.51.150:32400
20:47:47 XMLConverter: PlexGDM - PMS: 10.104.51.2:32400
20:48:41 DNSServer: DNS request received!
20:48:41 DNSServer: Source: ('10.104.51.7', 60784)
20:48:41 DNSServer: Domain: mesu.apple.com
20:48:41 DNSServer: ***restrain request
20:48:41 DNSServer: -> DNS response: 10.104.51.150
20:48:43 DNSServer: DNS request received!
20:48:43 DNSServer: Source: ('10.104.51.7', 55688)
20:48:43 DNSServer: Domain: time.apple.com
20:48:43 DNSServer: ***forward request
20:48:43 DNSServer: -> DNS response from higher level
20:48:44 DNSServer: DNS request received!
20:48:44 DNSServer: Source: ('10.104.51.7', 60999)
20:48:44 DNSServer: Domain: data.iana.org
20:48:44 DNSServer: ***forward request
20:48:44 DNSServer: -> DNS response from higher level
20:48:50 DNSServer: DNS request received!
20:48:50 DNSServer: Source: ('10.104.51.7', 58496)
20:48:50 DNSServer: Domain: ax.init.itunes.apple.com
20:48:50 DNSServer: ***forward request
20:48:50 DNSServer: -> DNS response from higher level
20:48:51 DNSServer: DNS request received!
20:48:51 DNSServer: Source: ('10.104.51.7', 57778)
20:48:51 DNSServer: Domain: itunes.apple.com
20:48:51 DNSServer: ***forward request
20:48:51 DNSServer: -> DNS response from higher level
20:48:51 DNSServer: DNS request received!
20:48:51 DNSServer: Source: ('10.104.51.7', 63633)
20:48:51 DNSServer: Domain: configuration.apple.com
20:48:51 DNSServer: ***forward request
20:48:51 DNSServer: -> DNS response from higher level
20:48:51 DNSServer: DNS request received!
20:48:51 DNSServer: Source: ('10.104.51.7', 52766)
20:48:51 DNSServer: Domain: p43-buy.itunes.apple.com
20:48:51 DNSServer: ***forward request
20:48:52 DNSServer: -> DNS response from higher level
20:48:59 DNSServer: DNS request received!
20:48:59 DNSServer: Source: ('10.104.51.7', 63368)
20:48:59 DNSServer: Domain: a1.mzstatic.com
20:48:59 DNSServer: ***forward request
20:48:59 DNSServer: -> DNS response from higher level
20:49:00 DNSServer: DNS request received!
20:49:00 DNSServer: Source: ('10.104.51.7', 55491)
20:49:00 DNSServer: Domain: a3.mzstatic.com
20:49:00 DNSServer: ***forward request
20:49:00 DNSServer: -> DNS response from higher level
20:49:00 DNSServer: DNS request received!
20:49:00 DNSServer: Source: ('10.104.51.7', 55414)
20:49:00 DNSServer: Domain: a4.mzstatic.com
20:49:00 DNSServer: ***forward request
20:49:00 DNSServer: -> DNS response from higher level
20:49:00 DNSServer: DNS request received!
20:49:00 DNSServer: Source: ('10.104.51.7', 63734)
20:49:00 DNSServer: Domain: a5.mzstatic.com
20:49:00 DNSServer: ***forward request
20:49:00 DNSServer: -> DNS response from higher level
20:49:00 DNSServer: DNS request received!
20:49:00 DNSServer: Source: ('10.104.51.7', 62891)
20:49:00 DNSServer: Domain: a2.mzstatic.com
20:49:00 DNSServer: ***forward request
20:49:00 DNSServer: -> DNS response from higher level
20:49:01 DNSServer: DNS request received!
20:49:01 DNSServer: Source: ('10.104.51.7', 50939)
20:49:01 DNSServer: Domain: a771.da1.akamai.net
20:49:01 DNSServer: ***forward request
20:49:01 DNSServer: -> DNS response from higher level
20:49:02 DNSServer: DNS request received!
20:49:02 DNSServer: Source: ('10.104.51.7', 61405)
20:49:02 DNSServer: Domain: init-p01st.push.apple.com
20:49:02 DNSServer: ***forward request
20:49:02 DNSServer: -> DNS response from higher level
20:49:02 DNSServer: DNS request received!
20:49:02 DNSServer: Source: ('10.104.51.7', 53976)
20:49:02 DNSServer: Domain: 27-courier.push.apple.com
20:49:02 DNSServer: ***forward request
20:49:02 DNSServer: -> DNS response from higher level
20:49:32 DNSServer: DNS request received!
20:49:32 DNSServer: Source: ('10.104.51.7', 56850)
20:49:32 DNSServer: Domain: trailers.apple.com
20:49:32 DNSServer: ***intercept request
20:49:32 DNSServer: -> DNS response: 10.104.51.150
20:49:32 Localize: aTVLanguage: en
20:49:32 WebServer: serving application.js
 
Please, does anyone have any idea why it hangs at this point?

I finally figured it out.  Just like others on this and other forums suggested, you MUST update to Python 2.7 in order for it to work.  Once I did that, everything started working fine for me!

ronnie11:

>> I have done everything by the books, I think  :)

Well, not quite.

You need to update to a recent PlexConnect version, v0.1 wouldn't cut it. This again rules out running older aTV/iOS version going forward...

Just noticed that http://langui.sh/2013/08/27/appletv-ssl-plexconnect/ says 

C:\OpenSSL-Win32\bin\openssl.exe x509 -in C:	railers.pem -outform der -out C:	railers.der

shouldn't it be 

C:\OpenSSL-Win32\bin\openssl.exe x509 -in C:	railers.pem -outform der -out C:	railers.cer

I used a Mac so can't confirm.

@kxb



Thanks. I finally decided to erase PlexConnect and start from scratch using the “clone in desktop” found on the right side of https://github.com/iBaa/PlexConnect . This set things up right. I changed the pms ip and the dns ip. I then generated those 3 files, added the certificates folder and the file within, used Apple Configurator to add the new profile to the ATV and within 5 minutes had both ATV3’s working just fine.


I did not have to restart things. My problem was that PlexConnect had the wrong files as it was an old version upgraded with git pull but probably never done right. The clone in desktop seems to make things way easier.


philip

1. Python 2.7.5 is used

2. Certificate is installed on the ATV3 via iphone config utility ('remove' sign appeared, hope that meant successfully installed) 

3. Settings.cfg shows:

[PlexConnect]

port_pms = 32400
enable_plexgdm = True
ip_dnsmaster = 8.8.8.8
ip_webserver = 0.0.0.0
loglevel = Normal
enable_dnsserver = True
ip_pms = 192.168.178.10
port_webserver = 80
logpath = .
prevent_atv_update = True
enable_plexconnect_autodetect = True
ip_plexconnect = 0.0.0.0
certfile = ./assets/certificates/trailers.pem
port_ssl = 443
 
4. Plex Connect shows:
 
18:16:25 PlexConnect: ***
18:16:25 PlexConnect: PlexConnect
18:16:25 PlexConnect: Press CTRL-C to shut down.
18:16:25 PlexConnect: ***
18:16:25 PlexConnect: started: 18:16:25
18:16:25 PlexConnect: IP_self: 192.168.0.9
18:16:25 DNSServer: started: 18:16:25
18:16:25 DNSServer: ***
18:16:25 DNSServer: Starting up.
18:16:25 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.
168.0.9
18:16:25 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld
.apple.com.edgesuite.net'] => 127.0.0.1
18:16:25 DNSServer: forward other to higher level DNS: 8.8.8.8
18:16:25 DNSServer: ***
18:16:25 WebServer: started: 18:16:25
18:16:25 WebServer: ***
18:16:25 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
18:16:25 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
18:16:25 WebServer: ***
18:16:25 PlexGDM: ***
18:16:25 PlexGDM: looking up Plex Media Server
18:16:25 PlexGDM: ***
18:16:26 PlexGDM: servers discovered: 1
18:16:26 XMLConverter: PlexGDM - PMS: 192.168.0.9:32400
 
Still get the bloody 'Trailer Unavailable' message. Is there anyone out there who sees an issue in the above, or maybe has some other idea as to what i could have done wrong. Appreciate your help.
Cheers Simon 

Just noticed that http://langui.sh/2013/08/27/appletv-ssl-plexconnect/ says 

C:\OpenSSL-Win32\bin\openssl.exe x509 -in C:	railers.pem -outform der -out C:	railers.der

shouldn't it be 

C:\OpenSSL-Win32\bin\openssl.exe x509 -in C:	railers.pem -outform der -out C:	railers.cer

I used a Mac so can't confirm.

One good question...

Anybody available for an answer?

1. Python 2.7.5 is used
2. Certificate is installed on the ATV3 via iphone config utility ('remove' sign appeared, hope that meant successfully installed) 
3. Settings.cfg shows:
 
[PlexConnect]
port_pms = 32400
enable_plexgdm = True
ip_dnsmaster = 8.8.8.8
ip_webserver = 0.0.0.0
loglevel = Normal
enable_dnsserver = True
ip_pms = 192.168.178.10
port_webserver = 80
logpath = .
prevent_atv_update = True
enable_plexconnect_autodetect = True
ip_plexconnect = 0.0.0.0
certfile = ./assets/certificates/trailers.pem
port_ssl = 443
 
4. Plex Connect shows:
 

18:16:25 PlexConnect: ***
18:16:25 PlexConnect: PlexConnect
18:16:25 PlexConnect: Press CTRL-C to shut down.
18:16:25 PlexConnect: ***
18:16:25 PlexConnect: started: 18:16:25
18:16:25 PlexConnect: IP_self: 192.168.0.9
18:16:25 DNSServer: started: 18:16:25
18:16:25 DNSServer: ***
18:16:25 DNSServer: Starting up.
18:16:25 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.
168.0.9
18:16:25 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld
.apple.com.edgesuite.net'] => 127.0.0.1
18:16:25 DNSServer: forward other to higher level DNS: 8.8.8.8
18:16:25 DNSServer: ***
18:16:25 WebServer: started: 18:16:25
18:16:25 WebServer: ***
18:16:25 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
18:16:25 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
18:16:25 WebServer: ***
18:16:25 PlexGDM: ***
18:16:25 PlexGDM: looking up Plex Media Server
18:16:25 PlexGDM: ***
18:16:26 PlexGDM: servers discovered: 1
18:16:26 XMLConverter: PlexGDM - PMS: 192.168.0.9:32400
 
Still get the bloody 'Trailer Unavailable' message. Is there anyone out there who sees an issue in the above, or maybe has some other idea as to what i could have done wrong. Appreciate your help.
Cheers Simon 


Your mileage may vary but sometimes a reset of all devices might shake something loose. I don't mean put to sleep and wake. I mean unplug it for 10secs and restart. PMS/ATV et al...