Stucked in accesing trailers

Hi there.

I would like to thank you all for the great job you are doing for the ATV owners.

I have been doing all the steps you have in the forum, in the step by step guide, I have been surfing the web (mostly this forum) to search people with the same issue Im having but I had no luck.

I have an ATV3 with 5.3 firmware and a Mac Mini executing 10.6.8 OSX and I cannot get PlexConnect working. I always get the "Accesing trailers" message and after a while it says "Unavailable try again later". I dont know what Im doing wrong because I think I did everything I found with no result... I created the certificates with no problem and even I changed the path to be absolute (of course I copied the cer file in the right place)

 

I post you my log to see if there is someone who can help me:

 

16:36:27 PlexConnect: started: 16:36:27
16:36:27 Settings: getsetting enable_plexconnect_autodetect=True
16:36:27 PlexConnect: IP_self: 192.168.1.42
16:36:27 Settings: getsetting enable_dnsserver=True
16:36:27 DNSServer: started: 16:36:27
16:36:27 Settings: getsetting port_dnsserver=53
16:36:27 Settings: getsetting ip_dnsmaster=202.122.23.22
16:36:27 Settings: getsetting prevent_atv_update=True
16:36:27 DNSServer: ***
16:36:27 DNSServer: DNSServer: Serving DNS on port 53.
16:36:27 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.1.42
16:36:27 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
16:36:27 DNSServer: forward other to higher level DNS: 202.122.23.22
16:36:27 DNSServer: ***
16:36:27 WebServer: started: 16:36:27
16:36:27 Settings: getsetting ip_webserver=0.0.0.0
16:36:27 Settings: getsetting port_webserver=80
16:36:27 Settings: getsetting port_ssl=443
16:36:28 Settings: getsetting certfile=/Users/Phrancis/PlexConnect/assets/certificates/trailers.pem
16:36:28 WebServer: ***
16:36:28 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
16:36:28 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
16:36:28 WebServer: ***
16:36:28 ATVSettings: init class CATVSettings
16:36:28 ATVSettings: load settings
16:36:28 Settings: getsetting enable_plexgdm=True
16:36:28 PlexGDM: ***
16:36:28 PlexGDM: looking up Plex Media Server
16:36:28 PlexGDM: ***
16:36:28 PlexGDM: Sending discovery message: M-SEARCH * HTTP/1.0
16:36:28 PlexGDM: Received data from ('192.168.1.42', 32414)
16:36:28 PlexGDM: Data received:
 HTTP/1.0 200 OK
Content-Type: plex/media-server
Resource-Identifier: 66e6413376e3a25043c760946e50f9c29402437d
Name: Phrancis
Port: 32400
Updated-At: 1378045022
Version: 0.9.3.4-397e914
Content-Length: 523
 
<?xml version="1.0" encoding="UTF-8"?>
 
16:36:29 PlexGDM: servers discovered: 1
16:36:29 PlexGDM: Phrancis 192.168.1.42:32400
16:36:30 XMLConverter: PlexGDM - PMS: 192.168.1.42:32400
16:36:30 ATVSettings: setOption: update pms_uuid to ('66e6413376e3a25043c760946e50f9c29402437d',)
16:36:47 DNSServer: DNS request received!
16:36:47 DNSServer: Source: ('192.168.1.40', 55511)
16:36:47 DNSServer: Domain: trailers.apple.com
16:36:47 DNSServer: ***intercept request
16:36:47 DNSServer: -> DNS response: 192.168.1.42
16:36:48 WebServer: http request header:
Host: trailers.apple.com
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: es;q=0.9, en;q=0.8
Cookie: s_vi=[CS]v1|28F9775005011C20-400016032000FD75[CE]
Connection: keep-alive
X-Apple-TV-Resolution: 1080
X-Apple-TV-Version: 5.3
User-Agent: iTunes-AppleTV/5.3 (3; 8GB; dt:12)
 
16:36:48 WebServer: http request path:
/appletv/us/js/application.js
16:36:48 Localize: aTVLanguage: en
16:36:48 WebServer: cleaned path:
/appletv/us/js/application.js
16:36:48 WebServer: request options:
{'aTVLanguage': 'en'}

16:36:48 WebServer: serving application.js

 

Thanks to everyone.

 

PD: Before the recent Apple update I had no problems running it, the only difference is that I have now entered in the cfg the unblock-us DNS.

Your Unblockus address is incorrect. It should be 208 at the beginning not 202.

I fixed the wrong DNS. I get the same.

Here you have my cfg file:

[PlexConnect]
port_pms = 32400
port_webserver = 80
ip_plexconnect = 0.0.0.0
certfile = /Users/Phrancis/PlexConnect/assets/certificates/trailers.pem
ip_dnsmaster = 208.122.23.22
ip_pms = 192.168.1.42
loglevel = Normal
logpath = .
enable_dnsserver = True
enable_plexgdm = True
port_ssl = 443
ip_webserver = 0.0.0.0
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = True
 
 
Thanks for helping me.

Try rebooting everything now. Unplug the ATV for ten seconds and then plug it back in, quit Plex Media Server and Plexconnect. Restart PMS, once it is running restart Plexconnect.

One more thought. Where is the Plexconnect folder exactly. It says Users/Phrancis/Plexconnect. So it is in the Home folder with Library, Documents, etc?

I restarted everything and it’s not working either.

Yes, it’s at the same level as library, documents… Is that a problem??

Just in case I have just moved it to another location and I had no luck. I also edited the cer location.

Download today’s Plexconnect github build. It has a certfile location check built in. Lets see if that is the issue first. And then check to make sure it’s using Python 2.7.

Update: yes, I can see from your log that the certfile check was successful

I have everything up to date. I installed everything like 2 hours ago. I run “git pull” and it says so.

And you have Python 2.7 installed and running Plexconnect?

Python 3.3 I have

Omg I thought I should have at least 2.7 and I didn’t mind using 3.3. I’m going to test with another version…

Well I don’t think Plexconnect works with Python 3. It says on github that it is not supported. Also when testing all this make sure you are using terminal and sudo rather than the Applescript or some other helper.

Hey. Thanks a lot!! My fault for misunderstanding this.


I can access to my library now.


Now I have the same problem I had 1 month ago when I tried it. Every content I try to play gives me this “It’s been an error on loading this content. Try again later” (I’m translating directly from Spanish)


When I tried it last month I only could play one movie and I left it because I understand this is not an official product. Anyway I couldn’t understand that people were loving it and I couldn’t even play a TV Show.


What can it be?

What would I do? Initially, I would update PMS, re-analyze library content, deep scan, etc. Then I would ask what format the files are in to see if that is the issue.

Amazing! It works. I had to update Plex Media Server and now everything works smoothly.


Thank you very much!

Cheers!

I hope somebody can help me. 

I'm doing all the things but without luck.

20:27:40 PlexConnect: started: 20:27:40
20:27:40 PlexConnect: IP_self: 192.168.1.163
20:27:40 DNSServer: started: 20:27:40
20:27:40 DNSServer: ***
20:27:40 DNSServer: DNSServer: Serving DNS on port 53.
20:27:40 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.1.163
20:27:40 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
20:27:40 DNSServer: forward other to higher level DNS: 8.8.8.8
20:27:40 DNSServer: ***
20:27:40 WebServer: started: 20:27:40
20:27:40 WebServer: ***
20:27:40 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
20:27:40 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
20:27:40 WebServer: ***
20:27:40 PlexGDM: ***
20:27:40 PlexGDM: looking up Plex Media Server
20:27:40 PlexGDM: ***
20:27:40 DNSServer: DNS request received!
20:27:40 DNSServer: Source: ('192.168.1.200', 49652)
20:27:40 DNSServer: Domain: push.apple.com
20:27:40 DNSServer: ***forward request
20:27:40 DNSServer: -> DNS response from higher level
20:27:40 DNSServer: DNS request received!
20:27:40 DNSServer: Source: ('192.168.1.200', 53096)
20:27:40 DNSServer: Domain: 48-courier.push.apple.com
20:27:40 DNSServer: ***forward request
20:27:40 DNSServer: -> DNS response from higher level
20:27:41 DNSServer: DNS request received!
20:27:41 DNSServer: Source: ('192.168.1.200', 51924)
20:27:41 DNSServer: Domain: mesu.apple.com
20:27:41 DNSServer: ***restrain request
20:27:41 DNSServer: -> DNS response: 192.168.1.163
20:27:41 DNSServer: DNS request received!
20:27:41 DNSServer: Source: ('192.168.1.200', 61538)
20:27:41 DNSServer: Domain: setup.icloud.com
20:27:41 DNSServer: ***forward request
20:27:41 PlexGDM: servers discovered: 1
20:27:41 XMLConverter: PlexGDM - PMS: 192.168.1.163:32400
20:27:41 DNSServer: -> DNS response from higher level
20:27:41 DNSServer: DNS request received!
20:27:41 DNSServer: Source: ('192.168.1.200', 62943)
20:27:41 DNSServer: Domain: aia.entrust.net
20:27:41 DNSServer: ***forward request
20:27:41 DNSServer: -> DNS response from higher level
20:27:42 DNSServer: DNS request received!
20:27:42 DNSServer: Source: ('192.168.1.200', 62879)
20:27:42 DNSServer: Domain: init-p01st.push.apple.com
20:27:42 DNSServer: ***forward request
20:27:42 DNSServer: -> DNS response from higher level
20:27:42 DNSServer: DNS request received!
20:27:42 DNSServer: Source: ('192.168.1.200', 53228)
20:27:42 DNSServer: Domain: 1-courier.push.apple.com
20:27:42 DNSServer: ***forward request
20:27:42 DNSServer: -> DNS response from higher level
20:27:42 DNSServer: DNS request received!
20:27:42 DNSServer: Source: ('192.168.1.200', 59893)
20:27:42 DNSServer: Domain: us-courier.push-apple.com.akadns.net
20:27:42 DNSServer: ***forward request
20:27:42 DNSServer: -> DNS response from higher level
20:27:43 DNSServer: DNS request received!
20:27:43 DNSServer: Source: ('192.168.1.200', 52783)
20:27:43 DNSServer: Domain: time.apple.com
20:27:43 DNSServer: ***forward request
20:27:43 DNSServer: -> DNS response from higher level
20:27:43 DNSServer: DNS request received!
20:27:43 DNSServer: Source: ('192.168.1.200', 63457)
20:27:43 DNSServer: Domain: data.iana.org
20:27:43 DNSServer: ***forward request
20:27:43 DNSServer: -> DNS response from higher level
20:27:45 DNSServer: DNS request received!
20:27:45 DNSServer: Source: ('192.168.1.200', 54199)
20:27:45 DNSServer: Domain: 38-courier.push.apple.com
20:27:45 DNSServer: ***forward request
20:27:45 DNSServer: -> DNS response from higher level
20:27:45 DNSServer: DNS request received!
20:27:45 DNSServer: Source: ('192.168.1.200', 56238)
20:27:45 DNSServer: Domain: us-courier.push-apple.com.akadns.net
20:27:45 DNSServer: ***forward request
20:27:45 DNSServer: -> DNS response from higher level
20:27:46 DNSServer: DNS request received!
20:27:46 DNSServer: Source: ('192.168.1.200', 61756)
20:27:46 DNSServer: Domain: ax.init.itunes.apple.com
20:27:46 DNSServer: ***forward request
20:27:46 DNSServer: -> DNS response from higher level
20:27:46 DNSServer: DNS request received!
20:27:46 DNSServer: Source: ('192.168.1.200', 57576)
20:27:46 DNSServer: Domain: itunes.apple.com
20:27:46 DNSServer: ***forward request
20:27:46 DNSServer: -> DNS response from higher level
20:27:47 DNSServer: DNS request received!
20:27:47 DNSServer: Source: ('192.168.1.200', 57469)
20:27:47 DNSServer: Domain: configuration.apple.com
20:27:47 DNSServer: ***forward request
20:27:47 DNSServer: -> DNS response from higher level
20:27:47 DNSServer: DNS request received!
20:27:47 DNSServer: Source: ('192.168.1.200', 56934)
20:27:47 DNSServer: Domain: a2.mzstatic.com
20:27:47 DNSServer: ***forward request
20:27:48 DNSServer: -> DNS response from higher level
20:27:48 DNSServer: DNS request received!
20:27:48 DNSServer: Source: ('192.168.1.200', 64918)
20:27:48 DNSServer: Domain: p35-buy.itunes.apple.com
20:27:48 DNSServer: ***forward request
20:27:48 DNSServer: -> DNS response from higher level
20:27:48 DNSServer: DNS request received!
20:27:48 DNSServer: Source: ('192.168.1.200', 55710)
20:27:48 DNSServer: Domain: a5.mzstatic.com
20:27:48 DNSServer: ***forward request
20:27:48 DNSServer: -> DNS response from higher level
20:27:48 DNSServer: DNS request received!
20:27:48 DNSServer: Source: ('192.168.1.200', 59686)
20:27:48 DNSServer: Domain: a1.mzstatic.com
20:27:48 DNSServer: ***forward request
20:27:48 DNSServer: -> DNS response from higher level
20:27:48 DNSServer: DNS request received!
20:27:48 DNSServer: Source: ('192.168.1.200', 57528)
20:27:48 DNSServer: Domain: a4.mzstatic.com
20:27:48 DNSServer: ***forward request
20:27:48 DNSServer: -> DNS response from higher level
20:27:48 DNSServer: DNS request received!
20:27:48 DNSServer: Source: ('192.168.1.200', 58094)
20:27:48 DNSServer: Domain: a3.mzstatic.com
20:27:48 DNSServer: ***forward request
20:27:48 DNSServer: -> DNS response from higher level
20:27:52 DNSServer: DNS request received!
20:27:52 DNSServer: Source: ('192.168.1.200', 60350)
20:27:52 DNSServer: Domain: init.itunes.apple.com
20:27:52 DNSServer: ***forward request
20:27:52 DNSServer: -> DNS response from higher level
20:27:52 DNSServer: DNS request received!
20:27:52 DNSServer: Source: ('192.168.1.200', 52471)
20:27:52 DNSServer: Domain: e673.g.akamaiedge.net
20:27:52 DNSServer: ***forward request
20:27:52 DNSServer: -> DNS response from higher level
20:27:53 DNSServer: DNS request received!
20:27:53 DNSServer: Source: ('192.168.1.200', 53730)
20:27:53 DNSServer: Domain: pd-nk.itunes.apple.com
20:27:53 DNSServer: ***forward request
20:27:53 DNSServer: -> DNS response from higher level
20:28:26 DNSServer: DNS request received!
20:28:26 DNSServer: Source: ('192.168.1.200', 49443)
20:28:26 DNSServer: Domain: trailers.apple.com
20:28:26 DNSServer: ***intercept request
20:28:26 DNSServer: -> DNS response: 192.168.1.163
20:28:34 DNSServer: DNS request received!
20:28:34 DNSServer: Source: ('192.168.1.200', 61937)
20:28:34 DNSServer: Domain: a771.da1.akamai.net
20:28:34 DNSServer: ***forward request
20:28:34 DNSServer: -> DNS response from higher level
20:30:49 DNSServer: DNS request received!
20:30:49 DNSServer: Source: ('192.168.1.200', 52667)
20:30:49 DNSServer: Domain: bookkeeper.itunes.apple.com
20:30:49 DNSServer: ***forward request
20:30:49 DNSServer: -> DNS response from higher level
20:30:49 DNSServer: DNS request received!
20:30:49 DNSServer: Source: ('192.168.1.200', 61039)
20:30:49 DNSServer: Domain: upp.itunes.apple.com
20:30:49 DNSServer: ***forward request
20:30:49 DNSServer: -> DNS response from higher level
20:32:44 DNSServer: DNS request received!
20:32:44 DNSServer: Source: ('192.168.1.200', 53945)
20:32:44 DNSServer: Domain: mesu.apple.com
20:32:44 DNSServer: ***restrain request
20:32:44 DNSServer: -> DNS response: 192.168.1.163
 
 
[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
 
prevent_atv_update = True

I restarted plex Connect , this is the log :

20:40:35 PlexConnect: started: 20:40:35
20:40:35 PlexConnect: IP_self: 192.168.1.163
20:40:35 DNSServer: started: 20:40:35
20:40:35 DNSServer: ***
20:40:35 DNSServer: DNSServer: Serving DNS on port 53.
20:40:35 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.1.163
20:40:35 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
20:40:35 DNSServer: forward other to higher level DNS: 8.8.8.8
20:40:35 DNSServer: ***
20:40:35 WebServer: started: 20:40:35
20:40:35 WebServer: ***
20:40:35 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
20:40:35 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
20:40:35 WebServer: ***
20:40:35 PlexGDM: ***
20:40:35 PlexGDM: looking up Plex Media Server
20:40:35 PlexGDM: ***
20:40:36 PlexGDM: servers discovered: 1
20:40:36 XMLConverter: PlexGDM - PMS: 192.168.1.163:32400

To summarise, my mistakes were:

  • Version 3.3 of Python (2.7 is the one)
  • I didn’t have the PMS updated.


    The post is so large and it wasn’t a big deal.