Trailers not available. Try Again Later. iMAC

Hi there,

I have spent hours upon hours looking for a resolution and tweeking my setup but alas still no joy, so last resort before I ditch it and go back to Boxee. 

 

AppleTV 3rd Gen - 5.2.1 (6025) 192.168.1.118, DNS set to 192.168.1.108 (iMac running PMS)

iMAC - OSX v10.8.5 - IP: 192.168.1.108. PMS tested with iPAD running fine.

Python 2.7.2

PMS Version: 0.9.8.6

 

 

LOG FOR STARTING PLEXCONNET

=============================

 

unknown-a8:20:66:1d:ad:9e:plexconnect Lee$ sudo ./PlexConnect.py
Password:
23:20:21 PlexConnect: ***
23:20:21 PlexConnect: PlexConnect
23:20:21 PlexConnect: Press CTRL-C to shut down.
23:20:21 PlexConnect: ***
23:20:21 PlexConnect: started: 23:20:21
23:20:21 PlexConnect: IP_self: 192.168.1.108
23:20:21 DNSServer: started: 23:20:21
23:20:21 DNSServer: ***
23:20:21 DNSServer: DNSServer: Serving DNS on port 53.
23:20:21 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.1.108
23:20:21 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
23:20:21 DNSServer: forward other to higher level DNS: 8.8.8.8
23:20:21 DNSServer: ***
23:20:21 WebServer: started: 23:20:21
23:20:21 WebServer: ***
23:20:21 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
23:20:21 WebServer: ***
23:20:21 PlexGDM: ***
23:20:21 PlexGDM: looking up Plex Media Server
23:20:21 PlexGDM: ***
23:20:21 WebServer: started: 23:20:21
23:20:21 WebServer: ***
23:20:21 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
23:20:21 WebServer: ***
23:20:22 PlexGDM: servers discovered: 1
23:20:22 XMLConverter: PlexGDM - PMS: 192.168.1.108:32400
23:23:17 DNSServer: DNS request received!
23:23:17 DNSServer: Source: ('192.168.1.118', 50257)
23:23:17 DNSServer: Domain: ax.init-cdn.itunes.apple.com.akadns.net
23:23:17 DNSServer: ***forward request
23:23:17 DNSServer: -> DNS response from higher level
23:23:17 DNSServer: DNS request received!
23:23:17 DNSServer: Source: ('192.168.1.118', 55520)
23:23:17 DNSServer: Domain: p40-buy.itunes.apple.com.akadns.net
23:23:17 DNSServer: ***forward request
23:23:17 DNSServer: -> DNS response from higher level
23:23:20 DNSServer: DNS request received!
23:23:20 DNSServer: Source: ('192.168.1.118', 56493)
23:23:20 DNSServer: Domain: trailers.apple.com
23:23:20 DNSServer: ***intercept request
23:23:20 DNSServer: -> DNS response: 192.168.1.108
 

I followed the instructions to create the certificate file using Apple Configurator without issue (big green tick), pasted the certificate and the other two files just in case in to the below assets/certificate folder.

 

 

SETTINGS.CFG FILE
=================
[PlexConnect]
port_pms = 32400
ip_pms = 192.168.1.108
 
port_webserver = 80
ip_webserver = 0.0.0.0
port_ssl = 443
enable_webserver_ssl = True
 
ip_plexconnect = 192.168.1.108
certfile = /Users/Lee/PlexConnect/assets/certificates/trailers.pem
 
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 8.8.8.8
 
loglevel = Normal
logpath = .
 
enable_plexgdm = True
 
prevent_atv_update = True
 
enable_plexconnect_autodetect = True
 
No joy whatsoever, any help is going to be very much appreciated.
 
Regards.

read my signature I use it all day on a mac 24/7 no issues. If you run sudo ./plexconnect.py does it work on your appletv? Has it ever worked?

does https://192.168.1.108 give you a cert error or does it say cannot connect to server at that port.

In your settings.cfg file, change logging to High, delete your PlexConnect.log and restart plexconnect, and then paste the contents of the file for us to see.

Sometimes, little things can sneak through without you knowing. This will help us find them.

Thanks for the response guys.

Monsieur Lette:

When I navigate to https://192.168.1.108 on the server where PMS is running i get the message:

"Safari an't verify the identity of the website "192.168.1.108" The certificate for this website is invalid. You might be connecting to a website that is pretending to be "192.168.1.108", which could put your confidential information at risk. Would you like to connect anyhow?"

I view the certificate and in red it states: "This root certificate is not trusted", I then have the option to trust Always or never and continue.

I clicked Trust Always and continued, I then get the followingresponse in Safar:

"Error Response.

Error Code 403.

Message: Not serving Client 192.168.1.108

Error Code Explanation: 403 = forbidden request - authorization will not help"

MightyMackinac:

Changed logging to High and restarted, contents below:

unknown-a8:20:66:1d:ad:9e:plexconnect Lee$ sudo ./PlexConnect.py
Password:
10:09:51 PlexConnect: ***
10:09:51 PlexConnect: PlexConnect
10:09:51 PlexConnect: Press CTRL-C to shut down.
10:09:51 PlexConnect: ***
10:09:51 PlexConnect: started: 10:09:51
10:09:51 PlexConnect: IP_self: 192.168.1.108
10:09:51 DNSServer: started: 10:09:51
10:09:51 DNSServer: ***
10:09:51 DNSServer: DNSServer: Serving DNS on port 53.
10:09:51 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.1.108
10:09:51 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
10:09:51 DNSServer: forward other to higher level DNS: 8.8.8.8
10:09:51 DNSServer: ***
10:09:51 WebServer: started: 10:09:51
10:09:51 WebServer: ***
10:09:51 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
10:09:51 WebServer: ***
10:09:51 PlexGDM: ***
10:09:51 PlexGDM: looking up Plex Media Server
10:09:51 PlexGDM: ***
10:09:51 WebServer: started: 10:09:51
10:09:51 WebServer: ***
10:09:51 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
10:09:51 WebServer: ***
10:09:52 PlexGDM: servers discovered: 1
10:09:52 XMLConverter: PlexGDM - PMS: 192.168.1.108:32400
10:13:46 DNSServer: DNS request received!
10:13:46 DNSServer: Source: ('192.168.1.118', 55097)
10:13:46 DNSServer: Domain: ax.init.itunes.apple.com
10:13:46 DNSServer: ***forward request
10:13:46 DNSServer: -> DNS response from higher level
10:13:46 DNSServer: DNS request received!
10:13:46 DNSServer: Source: ('192.168.1.118', 52914)
10:13:46 DNSServer: Domain: p40-buy.itunes.apple.com
10:13:46 DNSServer: ***forward request
10:13:47 DNSServer: -> DNS response from higher level
10:13:49 DNSServer: DNS request received!
10:13:49 DNSServer: Source: ('192.168.1.118', 60012)
10:13:49 DNSServer: Domain: itunes.apple.com
10:13:49 DNSServer: ***forward request
10:13:49 DNSServer: -> DNS response from higher level
10:13:49 DNSServer: DNS request received!
10:13:49 DNSServer: Source: ('192.168.1.118', 60827)
10:13:49 DNSServer: Domain: 16-courier.push.apple.com
10:13:49 DNSServer: ***forward request
10:13:49 DNSServer: -> DNS response from higher level

Something seems odd. I have the same setup as you, PMS running on my iMac.  Also have plexconnect running there as well.  Two aTV3s and both are working fine with the setup.  Here is my settings.cfg:

[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 = ./assets/certificates/trailers.pem
ip_dnsmaster = 8.8.8.8
loglevel = Normal
ip_pms = 192.168.178.10
enable_plexgdm = True
port_ssl = 443

Plexconnect detailed log after restart.

==============================

14:02:32 PlexConnect: started: 14:02:32
14:02:32 Settings: getsetting enable_plexconnect_autodetect=True
14:02:32 PlexConnect: IP_self: 192.168.1.108
14:02:32 Settings: getsetting enable_dnsserver=True
14:02:32 DNSServer: started: 14:02:32
14:02:32 Settings: getsetting port_dnsserver=53
14:02:32 Settings: getsetting ip_dnsmaster=8.8.8.8
14:02:32 Settings: getsetting prevent_atv_update=True
14:02:32 DNSServer: ***
14:02:32 DNSServer: DNSServer: Serving DNS on port 53.
14:02:32 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.1.108
14:02:32 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
14:02:32 DNSServer: forward other to higher level DNS: 8.8.8.8
14:02:32 DNSServer: ***
14:02:33 WebServer: started: 14:02:33
14:02:33 Settings: getsetting ip_webserver=0.0.0.0
14:02:33 Settings: getsetting port_webserver=80
14:02:33 WebServer: ***
14:02:33 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
14:02:33 WebServer: ***
14:02:33 ATVSettings: init class CATVSettings
14:02:33 ATVSettings: load settings
14:02:33 Settings: getsetting enable_plexgdm=True
14:02:33 PlexGDM: ***
14:02:33 PlexGDM: looking up Plex Media Server
14:02:33 PlexGDM: ***
14:02:33 PlexGDM: Sending discovery message: M-SEARCH * HTTP/1.0
14:02:33 PlexGDM: Received data from ('192.168.1.108', 32414)
14:02:33 PlexGDM: Data received:
 HTTP/1.0 200 OK
Content-Type: plex/media-server
Resource-Identifier: 022d299320f9ada442ea1c55c06388879c2d1ee3
Name: Office-Mac
Port: 32400
Updated-At: 1379997963
Version: 0.9.8.6.175-88ffbb2
 
 
14:02:33 Settings: getsetting enable_webserver_ssl=True
14:02:33 WebServer: started: 14:02:33
14:02:33 Settings: getsetting ip_webserver=0.0.0.0
14:02:33 Settings: getsetting port_webserver=80
14:02:33 Settings: getsetting port_ssl=443
14:02:33 Settings: getsetting certfile=/Users/Lee/PlexConnect/assets/certificates/trailers.pem
14:02:33 Settings: getsetting certfile=/Users/Lee/PlexConnect/assets/certificates/trailers.pem
14:02:33 WebServer: ***
14:02:33 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
14:02:33 WebServer: ***
14:02:34 PlexGDM: servers discovered: 1
14:02:34 PlexGDM: Office-Mac 192.168.1.108:32400
14:02:34 XMLConverter: PlexGDM - PMS: 192.168.1.108:32400
14:02:34 ATVSettings: setOption: update pms_uuid to ('022d299320f9ada442ea1c55c06388879c2d1ee3',)

Since you are getting the cert error then that means your mac is serving up https requrests correctly and that plexconnect is correctly installed.  I am wondering if your issue is due to you running 5.2.1 firmware. 

5.2.1 is fine - having it on my own.

In the latest log you don't get ANY DNS request... did you reset aTV to automatic DNS?

5.2.1 is fine - having it on my own.

In the latest log you don't get ANY DNS request... did you reset aTV to automatic DNS?

hey baa, did you come across plex not starting(accessing trailers) after waking atv from sleep? the problem started this morning on ios6. the only fix is to restart atv.thanks

Hi Baa, I double checked and the aTV DNS is still set to 192.168.1.108. I stopped and restarted plexconnect and you can see below DNS requests:

unknown-a8:20:66:1d:ad:9e:plexconnect Lee$ sudo ./PlexConnect.py
Password:
21:23:32 PlexConnect: ***
21:23:32 PlexConnect: PlexConnect
21:23:32 PlexConnect: Press CTRL-C to shut down.
21:23:32 PlexConnect: ***
21:23:32 PlexConnect: started: 21:23:32
21:23:32 PlexConnect: IP_self: 192.168.1.108
21:23:32 DNSServer: started: 21:23:32
21:23:32 DNSServer: ***
21:23:32 DNSServer: DNSServer: Serving DNS on port 53.
21:23:32 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.1.108
21:23:32 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
21:23:32 DNSServer: forward other to higher level DNS: 8.8.8.8
21:23:32 DNSServer: ***
21:23:32 WebServer: started: 21:23:32
21:23:32 WebServer: ***
21:23:32 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
21:23:32 WebServer: ***
21:23:32 PlexGDM: ***
21:23:32 PlexGDM: looking up Plex Media Server
21:23:32 PlexGDM: ***
21:23:32 WebServer: started: 21:23:32
21:23:32 WebServer: ***
21:23:32 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
21:23:32 WebServer: ***
21:23:33 PlexGDM: servers discovered: 1
21:23:33 XMLConverter: PlexGDM - PMS: 192.168.1.108:32400
21:23:51 DNSServer: DNS request received!
21:23:51 DNSServer: Source: ('192.168.1.118', 56299)
21:23:51 DNSServer: Domain: trailers.apple.com
21:23:51 DNSServer: ***intercept request
21:23:51 DNSServer: -> DNS response: 192.168.1.108
21:24:16 DNSServer: DNS request received!
21:24:16 DNSServer: Source: ('192.168.1.118', 51607)
21:24:16 DNSServer: Domain: p40-buy.itunes.apple.com.akadns.net
21:24:16 DNSServer: ***forward request
21:24:16 DNSServer: -> DNS response from higher level
 

Is there any other information anyone needs to help me resolve this? What happens if I cannot get this resolved in the forums, can I  raise a case with Plex directly?

This has to be something silly I have missed out, work your magic guys. :o)

Monsieur Latte, how would I go about changing the firmware, I intentionally didnt upgrade when asked as I thought newer would be worse, do you reckon upgrade it via update maybe? 

I can view content from iPads fine, I have not tested from the iPhone but assume its ok (I dont want to pay for the iPhone app just in case I dont get this running), the aTV is the sole purpose of getting Plex so I can move away from Boxee Box which eats masses of memory when left running on the iMac.

Note that YouTube works fine.

Unplugged power for 60 seconds without switching it off.

Powered back on, I can see requests to apple regarding config etc.

21:46:00 DNSServer: Domain: p40-buy.itunes.apple.com
21:46:00 DNSServer: ***forward request
21:46:00 DNSServer: -> DNS response from higher level
21:46:00 DNSServer: DNS request received!
21:46:00 DNSServer: Source: ('192.168.1.118', 50503)
21:46:00 DNSServer: Domain: configuration.apple.com
21:46:00 DNSServer: ***forward request

Tested trailers:

Same error: "Trailers is unavailable. Try again later"

Am thinking about upgrading aTV.... Hmm... Any thoughts?

do the upgrade.

I ran into this exact problem until a few days ago. Is the certificate file actually installed on the machine you are running plexconnect on? This problem would not let me get it work at all until I actually installed the certificate and ran everything from my server.

Ok MightyMackinac here goes........

I have set DNS to configure automatically, and have requested aTV be updated, its running now with  "about 1 minute to go".

Will report back shortly....

Whilst I was waiting for the aTV update I was having a nose around and thought I would try and update PMS.

I got the error: "Plex Media Server can't be updated when it's running from a read-only volume like a disk image or an optical drive. Move Plex Media Server to your Applications folder, relaunch it from there, and try again."

I dont know if it matters but I decided to scrub it and relaunch the xxx.dmg file and this time save it to the 'Applications' folder.

Will test once the aTV update has finished....

Ok updated aTV to 6.0 (6646.65).

Reverted DNS back to that of my PMS MAC 192.168.1.108

After some initial issues with certificate no longer being where it should be as I had removed and reinstalled PMS to the applications folder, I now have PlexConnect running again as per below:

Detailed log shows the following:
 
22:43:48 PlexConnect: started: 22:43:48
22:43:48 Settings: getsetting enable_plexconnect_autodetect=True
22:43:48 PlexConnect: IP_self: 192.168.1.108
22:43:48 Settings: getsetting enable_dnsserver=True
22:43:48 DNSServer: started: 22:43:48
22:43:48 Settings: getsetting port_dnsserver=53
22:43:48 Settings: getsetting ip_dnsmaster=8.8.8.8
22:43:48 Settings: getsetting prevent_atv_update=false
22:43:48 DNSServer: ***
22:43:48 DNSServer: DNSServer: Serving DNS on port 53.
22:43:48 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.1.108
22:43:48 DNSServer: restrain: [] => 127.0.0.1
22:43:48 DNSServer: forward other to higher level DNS: 8.8.8.8
22:43:48 DNSServer: ***
22:43:49 WebServer: started: 22:43:49
22:43:49 Settings: getsetting ip_webserver=0.0.0.0
22:43:49 Settings: getsetting port_webserver=80
22:43:49 WebServer: ***
22:43:49 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
22:43:49 WebServer: ***
22:43:49 ATVSettings: init class CATVSettings
22:43:49 ATVSettings: load settings
22:43:49 Settings: getsetting enable_plexgdm=True
22:43:49 PlexGDM: ***
22:43:49 PlexGDM: looking up Plex Media Server
22:43:49 PlexGDM: ***
22:43:49 PlexGDM: Sending discovery message: M-SEARCH * HTTP/1.0
22:43:49 PlexGDM: Received data from ('192.168.1.108', 32414)
22:43:49 PlexGDM: Data received:
 HTTP/1.0 200 OK
Content-Type: plex/media-server
Resource-Identifier: 022d299320f9ada442ea1c55c06388879c2d1ee3
Name: Office-Mac
Port: 32400
Updated-At: 1380058819
Version: 0.9.8.6.175-88ffbb2
 
 
22:43:49 Settings: getsetting enable_webserver_ssl=True
22:43:49 WebServer: started: 22:43:49
22:43:49 Settings: getsetting ip_webserver=0.0.0.0
22:43:49 Settings: getsetting port_webserver=80
22:43:49 Settings: getsetting port_ssl=443
22:43:49 Settings: getsetting certfile=./assets/certificates/trailers.pem
22:43:49 Settings: getsetting certfile=./assets/certificates/trailers.pem
22:43:49 WebServer: ***
22:43:49 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
22:43:49 WebServer: ***
22:43:50 PlexGDM: servers discovered: 1
22:43:50 PlexGDM: Office-Mac 192.168.1.108:32400
22:43:50 XMLConverter: PlexGDM - PMS: 192.168.1.108:32400
22:43:50 ATVSettings: setOption: update pms_uuid to ('022d299320f9ada442ea1c55c06388879c2d1ee3',)
22:44:14 DNSServer: DNS request received!
22:44:14 DNSServer: Source: ('192.168.1.118', 57330)
22:44:14 DNSServer: Domain: bookkeeper.itunes.apple.com
22:44:14 DNSServer: ***forward request
22:44:14 DNSServer: -> DNS response from higher level
22:44:15 DNSServer: DNS request received!
22:44:15 DNSServer: Source: ('192.168.1.118', 51139)
22:44:15 DNSServer: Domain: upp.itunes.apple.com
22:44:15 DNSServer: ***forward request
22:44:15 DNSServer: -> DNS response from higher level
22:45:14 DNSServer: DNS request received!
22:45:14 DNSServer: Source: ('192.168.1.118', 53615)
22:45:14 DNSServer: Domain: p40-buy.itunes.apple.com
22:45:14 DNSServer: ***forward request
22:45:14 DNSServer: -> DNS response from higher level
22:45:20 DNSServer: DNS request received!
22:45:20 DNSServer: Source: ('192.168.1.118', 52433)
22:45:20 DNSServer: Domain: trailers.apple.com
22:45:20 DNSServer: ***intercept request
22:45:20 DNSServer: -> DNS response: 192.168.1.108
 

Raising an issue with PlexInc wouldn't help - this is a "third party client".

Regarding your log: I still say, that there is something between your aTV and PlexConnect machine blocking https requests.

How does a third device (iPad?) react when browsing https://192.168.1.108?

Plex Star, you are right they were unable to assist.

I tried using an iPad and connecting to the address https://192.168.1.108 and it gave me another error regarding certificate and when I selected 'accept' the page would not open, when I tried again I got the same error code 403 as when I try navigating to that address on the iMAC which hosts PMS.

"Error Response.

Error Code 403.

Message: Not serving Client 192.168.1.81 (This is the iPads IP)

Error Code Explanation: 403 = forbidden request - authorization will not help"

 

When I look at the more details of the certificate it show that its issued by apple.trailers.com, RSA Encryption.

 

It also mentions that the certificate is not valid before 2013-09-23 and not valid after 2033-09-18

 

Do you think running through the certificate creation stage would be beneficial? 

 

I tried on my iPhone and get the same error except the IP address is that of the iPhone, so it looks like its setup ok, each of the errors state that the specific IP is not being served, where in the config file does it dictate which IP 'is being served', can I hardcode it or at least confirm its correct?

 

Or maybe even change it as a test to that of the iPad or iPhone to see what happens.