Trailers not available. Try Again Later. iMAC

Could it be that I have to somehow accept the certificate, that the appleTV does not trust it just as the iPhone and iPad did not, on the iPhone and iPad I can specify to accept it, the fact that it wont work beyond that stage I assume is down to the IP not being specified as the one to server in the settings.cfg file.

I tried changing the ip_plexconnect to that of my iPhone or iPad, started plexconnect but itjust hangs at: PlexGDM - PMS xxxxx

unknown-a8:20:66:1d:ad:9e:plexconnect Lee$ sudo ./PlexConnect.py
Password:
17:27:29 PlexConnect: ***
17:27:29 PlexConnect: PlexConnect
17:27:29 PlexConnect: Press CTRL-C to shut down.
17:27:29 PlexConnect: ***
17:27:29 PlexConnect: started: 17:27:29
17:27:29 PlexConnect: IP_self: 192.168.1.108
17:27:29 DNSServer: started: 17:27:29
17:27:29 DNSServer: ***
17:27:29 DNSServer: DNSServer: Serving DNS on port 53.
17:27:29 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.1.108
17:27:29 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
17:27:29 DNSServer: forward other to higher level DNS: 8.8.8.8
17:27:29 DNSServer: ***
17:27:29 WebServer: started: 17:27:29
17:27:29 WebServer: ***
17:27:29 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
17:27:29 WebServer: ***
17:27:29 PlexGDM: ***
17:27:29 PlexGDM: looking up Plex Media Server
17:27:29 PlexGDM: ***
17:27:29 WebServer: started: 17:27:29
17:27:29 WebServer: ***
17:27:29 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
17:27:29 WebServer: ***
17:27:30 PlexGDM: servers discovered: 1
17:27:30 XMLConverter: PlexGDM - PMS: 192.168.1.108:32400
 
 
 
 
 
 
^C17:31:15 PlexConnect: Shutting down.
17:31:15 WebServer: Shutting down.
17:31:16 WebServer: Shutting down.
17:31:19 DNSServer: Shutting down.
17:31:19 PlexConnect: shutdown
unknown-a8:20:66:1d:ad:9e:plexconnect Lee$ 
 
Changed the ip_plexconnect back to 192.168.1.108 and switched the aTV back on and I am back at the beginning, still no further.

Please god tell me you installed the cert that you created, onto the atv via the micro usb cable with iphone configuration tool?

Yes that was the first thing I did. :)

I had the green tick as it suggested I should have.

I will try again now to confirm...

Why dont you start over and use my tutorial. My guess is you didnt copy the whole code from here to generate a good certificate which is causing plexconnt.py to fail:

https://langui.sh/2013/08/27/appletv-ssl-plexconnect/


If you look at the first code it continues on past the window if you do not copy the entire cert code it will generate a bad one. These are what you need to type terminal from that site to get a good cert.


openssl req -new -nodes -newkey rsa:2048 -out ~/Desktop/trailers.pem -keyout ~/Desktop/trailers.key -x509 -days 7300 -subj “/C=US/CN=trailers.apple.com


openssl x509 -in ~/Desktop/trailers.pem -outform der -out ~/Desktop/trailers.cer && cat ~/Desktop/trailers.key >> ~/Desktop/trailers.pem

Monsieur Latte, no change, I was sort of hoping it would have been that, even though I would have looked a bit stupid...

I even added the certificate under the payload section on apple configurator just to make sure. Green tick stating complete also.

If there was a mistake creating the 3 files originally then they would not have been created would they?

I did notice that it said the certificate was trusted for 192.168.1.108 which is the iMAC where PMS is installed. Shouldnt the certificate also be trusted by the aTV, else wouldnt it require trusting just as the iPhone and iPad had to?

In settings.cfg, what should the ip_plexconnect be the IP for, my aTV or PMS?

First time I made the certs i didnt copy the whole code and it generated a incomplete file and plexconnect.py was shutting down for me as well. Honestly I would start from scratch and redo everything I know it sucks but there is a good chance you can fix it by starting over.

Wahlman.j, I have just done what you suggested just in case, below you can see the commands I copied from your post:

unknown-a8:20:66:1d:ad:9e:plexconnect Lee$ openssl req -new -nodes -newkey rsa:2048 -out ~/Desktop/trailers.pem -keyout ~/Desktop/trailers.key -x509 -days 7300 -subj "/C=US/CN=trailers.apple.com"
Generating a 2048 bit RSA private key
............+++
.....................................................................+++
writing new private key to '/Users/Lee/Desktop/trailers.key'
-----
unknown-a8:20:66:1d:ad:9e:plexconnect Lee$ openssl x509 -in ~/Desktop/trailers.pem -outform der -out ~/Desktop/trailers.cer && cat ~/Desktop/trailers.key >> ~/Desktop/trailers.pem
unknown-a8:20:66:1d:ad:9e:plexconnect Lee$ 
 
What is odd is that I have just switched my aTV on and all i have is 'Computers' and 'Settings'.
 
Restarted PlexConnect, I cannot test though as I no longer have 'Trailers' to select! :)
 
unknown-a8:20:66:1d:ad:9e:plexconnect Lee$ sudo ./PlexConnect.py
Password:
18:10:56 PlexConnect: ***
18:10:56 PlexConnect: PlexConnect
18:10:56 PlexConnect: Press CTRL-C to shut down.
18:10:56 PlexConnect: ***
18:10:56 PlexConnect: started: 18:10:56
18:10:56 PlexConnect: IP_self: 192.168.1.108
18:10:56 DNSServer: started: 18:10:56
18:10:56 DNSServer: ***
18:10:56 DNSServer: DNSServer: Serving DNS on port 53.
18:10:56 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.1.108
18:10:56 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
18:10:56 DNSServer: forward other to higher level DNS: 8.8.8.8
18:10:56 DNSServer: ***
18:10:56 WebServer: started: 18:10:56
18:10:56 WebServer: ***
18:10:56 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
18:10:56 WebServer: ***
18:10:56 PlexGDM: ***
18:10:56 PlexGDM: looking up Plex Media Server
18:10:56 PlexGDM: ***
18:10:56 WebServer: started: 18:10:56
18:10:56 WebServer: ***
18:10:56 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
18:10:56 WebServer: ***
18:10:57 PlexGDM: servers discovered: 1
18:10:57 XMLConverter: PlexGDM - PMS: 192.168.1.108:32400
18:11:01 DNSServer: DNS request received!
18:11:01 DNSServer: Source: ('192.168.1.118', 64365)
18:11:01 DNSServer: Domain: time.apple.com
18:11:01 DNSServer: ***forward request
18:11:01 DNSServer: -> DNS response from higher level
 

WEYHEYYY!!!!!!

Restarted 'just to make sure' and hot diggety trailers shows my PMS folders!!!!

YEAHHHH!!!!! :)

Awesome!!

Thanks everyone for their input, its very much appreciated I am going to go an have a play with it now!

So it was a bad trailers.pem? See my autostart function you will probably like it, 2nd option in my signature below. Automatically runs PMS without user input @ boot.

Yes must have been one of those 3 files had an issue, I remember highlighting the text to the end as well, but I must have missed off a character or something?

Ya you need to click and hold it till the end of the code its kinda hidden on the page, easy mistake I did it as well like I said. I wish it would of failed but it still generates a bad trailer.pem I was pulling my hair out for an hour till I noticed it was an incomplete copy and paste. Looks like the guy just updated his site as well so you can tell the code is longer lol.

:rolleyes: Ha Ha! Thanks again.