Please provide the contents of your settings.cfg file as well as operating system info.
I did. Nothing happened.
I use windows 8. I think this guide is for mac or iphone.
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.
Hello.. I tried installing and updated my settings.cfg but still Trailers not available.
This is how my settings file and plex connect look like.
Checked the port and dont see a problem.
[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 = 192.168.1.2
certfile = C:\PlexConnect\PlexConnect-master\assets\certificates railers.pem
ip_dnsmaster = 8.8.8.8
loglevel = Normal
ip_pms = 192.168.178.10
enable_plexgdm = True
port_ssl = 443
00:25:34 PlexConnect: ***
00:25:34 PlexConnect: PlexConnect
00:25:34 PlexConnect: Press CTRL-C to shut down.
00:25:34 PlexConnect: ***
00:25:34 PlexConnect: started: 00:25:34
00:25:34 PlexConnect: IP_self: 192.168.1.2
00:25:34 DNSServer: started: 00:25:34
00:25:34 DNSServer: ***
00:25:34 DNSServer: Starting up.
00:25:34 DNSServer: intercept: ['trailers.apple.com',
168.1.2
00:25:34 DNSServer: restrain: ['mesu.apple.com', 'appl
.apple.com.edgesuite.net'] => 127.0.0.1
00:25:34 DNSServer: forward other to higher level DNS:
00:25:34 DNSServer: ***
00:25:35 WebServer: started: 00:25:35
00:25:35 WebServer: ***
00:25:35 WebServer: WebServer: Serving HTTP on 0.0.0.0
00:25:35 WebServer: WebServer: Serving HTTPS on 0.0.0.
00:25:35 WebServer: ***
00:25:35 PlexGDM: ***
00:25:35 PlexGDM: looking up Plex Media Server
00:25:35 PlexGDM: ***
00:25:36 PlexGDM: servers discovered: 1
00:25:36 XMLConverter: PlexGDM - PMS: 192.168.1.2:3240
00:25:43 DNSServer: DNS request received!
00:25:43 DNSServer: Source: ('192.168.1.100', 62845)
00:25:43 DNSServer: Domain: phobos.apple.com
00:25:43 DNSServer: ***forward request
00:25:43 DNSServer: -> DNS response from higher level
00:25:43 DNSServer: DNS request received!
00:25:43 DNSServer: Source: ('192.168.1.100', 60277)
00:25:43 DNSServer: Domain: phobos.apple.com
00:25:43 DNSServer: ***forward request
00:25:43 DNSServer: -> DNS response from higher level
00:25:43 DNSServer: DNS request received!
00:25:43 DNSServer: Source: ('192.168.1.100', 54014)
00:25:43 DNSServer: Domain: phobos.apple.com.akadns.ne
00:25:43 DNSServer: ***forward request
00:25:43 DNSServer: -> DNS response from higher level
00:25:43 DNSServer: DNS request received!
00:25:43 DNSServer: Source: ('192.168.1.100', 50611)
00:25:43 DNSServer: Domain: ax.init.itunes.apple.com
00:25:43 DNSServer: ***forward request
00:25:43 DNSServer: -> DNS response from higher level
00:25:44 DNSServer: DNS request received!
00:25:44 DNSServer: Source: ('192.168.1.100', 56256)
00:25:44 DNSServer: Domain: a771.da1.akamai.net
00:25:44 DNSServer: ***forward request
00:25:44 DNSServer: -> DNS response from higher level
00:25:44 DNSServer: DNS request received!
00:25:44 DNSServer: Source: ('192.168.1.100', 57872)
00:25:44 DNSServer: Domain: itunes.apple.com
00:25:44 DNSServer: ***forward request
00:25:44 DNSServer: -> DNS response from higher level
00:25:44 DNSServer: DNS request received!
00:25:44 DNSServer: Source: ('192.168.1.100', 56166)
00:25:44 DNSServer: Domain: itunes.apple.com
00:25:44 DNSServer: ***forward request
00:25:44 DNSServer: -> DNS response from higher level
00:25:44 DNSServer: DNS request received!
00:25:44 DNSServer: Source: ('192.168.1.100', 53333)
00:25:44 DNSServer: Domain: e673.g.akamaiedge.net
00:25:44 DNSServer: ***forward request
00:25:44 DNSServer: -> DNS response from higher level
00:25:45 DNSServer: DNS request received!
00:25:45 DNSServer: Source: ('192.168.1.100', 64792)
00:25:45 DNSServer: Domain: configuration.apple.com
00:25:45 DNSServer: ***forward request
00:25:45 DNSServer: -> DNS response from higher level
00:25:45 DNSServer: DNS request received!
00:25:45 DNSServer: Source: ('192.168.1.100', 52955)
00:25:45 DNSServer: Domain: configuration.apple.com
00:25:45 DNSServer: ***forward request
00:25:45 DNSServer: -> DNS response from higher level
00:25:46 DNSServer: DNS request received!
00:25:46 DNSServer: Source: ('192.168.1.100', 63364)
00:25:46 DNSServer: Domain: e5153.b.akamaiedge.net
00:25:46 DNSServer: ***forward request
00:25:46 DNSServer: -> DNS response from higher level
Hello.. I tried installing and updated my settings.cfg but still Trailers not available.
This is how my settings file and plex connect look like.
Checked the port and dont see a problem.
[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 = 192.168.1.2
certfile = C:\PlexConnect\PlexConnect-master\assets\certificates railers.pem
ip_dnsmaster = 8.8.8.8
loglevel = Normal
ip_pms = 192.168.178.10
enable_plexgdm = True
port_ssl = 44300:25:34 PlexConnect: ***
00:25:34 PlexConnect: PlexConnect
00:25:34 PlexConnect: Press CTRL-C to shut down.
00:25:34 PlexConnect: ***
00:25:34 PlexConnect: started: 00:25:34
00:25:34 PlexConnect: IP_self: 192.168.1.2
00:25:34 DNSServer: started: 00:25:34
00:25:34 DNSServer: ***
00:25:34 DNSServer: Starting up.
00:25:34 DNSServer: intercept: ['trailers.apple.com',
168.1.2
00:25:34 DNSServer: restrain: ['mesu.apple.com', 'appl
.apple.com.edgesuite.net'] => 127.0.0.1
00:25:34 DNSServer: forward other to higher level DNS:
00:25:34 DNSServer: ***
00:25:35 WebServer: started: 00:25:35
00:25:35 WebServer: ***
00:25:35 WebServer: WebServer: Serving HTTP on 0.0.0.0
00:25:35 WebServer: WebServer: Serving HTTPS on 0.0.0.
00:25:35 WebServer: ***
00:25:35 PlexGDM: ***
00:25:35 PlexGDM: looking up Plex Media Server
00:25:35 PlexGDM: ***
00:25:36 PlexGDM: servers discovered: 1
00:25:36 XMLConverter: PlexGDM - PMS: 192.168.1.2:3240
Open Firefox or any other browser and enter this https://192.168.1.2:443 if you get a box asking to accept the certificate your trailers.pem path is correct if not change it. I think on python the slash has to be a forward slash / instead of backslash \ in the path.
Unfortunately, It did not ask me to accept the certificate in firefox.
And I'm using windows. Do the slashes still bend forward.??
Unfortunately, It did not ask me to accept the certificate in firefox.
And I'm using windows. Do the slashes still bend forward.??
The path is crucial. Move the certificates folder to the root of the computer (It doesn't have to be in the assets folder). And adjust the path in the settings.cfg and restart plexconnect
Changed the file to C: and also changed the path but no luck. Trailers are not available.
[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: railers.pem
ip_dnsmaster = 8.8.8.8
loglevel = Normal
ip_pms = 192.168.178.10
enable_plexgdm = True
port_ssl = 443
Changed the file to C: and also changed the path but no luck. Trailers are not available.
[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: railers.pem
ip_dnsmaster = 8.8.8.8
loglevel = Normal
ip_pms = 192.168.178.10
enable_plexgdm = True
port_ssl = 443
Change the certpath to c:/trailers.pem
Changed to c:/trailers.pem but no luck.
Wondering if it has to do anything with the certificate.
Nevermind about the openssl. My issue is finally fixed by adding atv.plexconnect to my DNS. I knew I wasn’t missing something. That simply wasn’t documented anywhere that it needed to be done. But someone figured it out in the comments http://langui.sh/2013/08/27/appletv-ssl-plexconnect/...
Nevermind about the openssl. My issue is finally fixed by adding atv.plexconnect to my DNS. I knew I wasn’t missing something. That simply wasn’t documented anywhere that it needed to be done. But someone figured it out in the comments http://langui.sh/2013/08/27/appletv-ssl-plexconnect/...
I got bit by same problem. At some point the developer started using atv.plexconnect to connect. If you use the DNS intercept with plexconnect, it works great. If you are using different DNS or an apache vhost setup, you need to account for atv.plexconnect. Good job figuring it out - gold star for you.
Nevermind about the openssl. My issue is finally fixed by adding atv.plexconnect to my DNS. I knew I wasn’t missing something. That simply wasn’t documented anywhere that it needed to be done. But someone figured it out in the comments [/size]http://langui.sh/2013/08/27/appletv-ssl-plexconnect/...
Hmm ... perhaps that is my issue also. How do you add atv.plexconnect to the DNS?
Philip
Changed to c:/trailers.pem but no luck.
Wondering if it has to do anything with the certificate.
What's your setup like? Win/Mac? Any special equipment/hardware? Any exotic software? More data=better.
Hmm ... perhaps that is my issue also. How do you add atv.plexconnect to the DNS?
Philip
That's why I urge people to be specific when explaining their issue and open a new thread as oppose to bumping someone else's. Someone most likely has solved the problem before. We maybe helping someone's win8 issue and you come in with a question and the assumption will be you're on win8 as well.
I also still have this issue. It will be very interesting to see what the problem turns out to be...OS X 10.8.4Python 2.7.2Latest git pullMy desktop mac's ip is 192.168.2.13It runs everything but the DNS. I use DNSCrypt on my Mac, so to avoid the port conflict for already having DNS running, I point the AppleTVs to my Verizon FiOS router and I use it's DNS to redirect. This all worked fine before the SSL stuff.Here are my settings:logpath = .enable_dnsserver = Falseip_webserver = 192.168.2.13prevent_atv_update = Trueenable_plexconnect_autodetect = Falseport_pms = 32400port_webserver = 80ip_plexconnect = 192.168.2.13certfile = /Applications/PlexConnect/assets/certificates/trailers.pemip_dnsmaster = 208.67.220.220loglevel = Normalip_pms = 192.168.2.13enable_plexgdm = Falseport_ssl = 443When I launch PlexConnect, I get:sudo ./PlexConnect.py14:37:26 PlexConnect: ***14:37:26 PlexConnect: PlexConnect14:37:26 PlexConnect: Press CTRL-C to shut down.14:37:26 PlexConnect: ***14:37:26 PlexConnect: started: 14:37:2614:37:26 PlexConnect: IP_self (from settings): 192.168.2.1314:37:26 WebServer: started: 14:37:2614:37:26 WebServer: ***14:37:26 WebServer: WebServer: Serving http on 192.168.2.13 port 80.14:37:26 WebServer: WebServer: Serving https on 192.168.2.13 port 443.14:37:26 WebServer: ***14:37:26 XMLConverter: PlexGDM off - PMS from settings: 192.168.2.13:32400When I connect via Safari to http on 192.168.2.13 port 80 and https on 192.168.2.13 port 443, I get for both:Error responseError code 403.Message: Not Serving Client 192.168.2.13.Error code explanation: 403 = Request forbidden -- authorization will not help.When I connect via Firefox to https it gives me the warning about the untrusted connection and I can see the details of the certificate.When I try to connect via Apple TV, the PlexConnect log adds:15:17:09 WebServer: serving application.jsBut then nothing else. And the AppleTVs say "Trailers not available right now". Would be so awesome if there was some debug logging that told us what it wanted next and wasn't getting...This is for an AppleTV 2 and 3. Both have had the profile added successfully. The commands to create the certificates were copied and pasted directly from the instructions. All I can currently think is that it has something to do with the way the certificates were created. Maybe I upgraded openssl at some point in the past and it's no longer the default? I have OpenSSL 1.0.1e 11 Feb 2013. Maybe I updated to that via MacPorts? I think so...What versions of OpenSSL do others have who have this working?Actually, I tried the connect via Firefox to https last (since I saw it suggested in the thread). After doing that and going back and looking at the log, I see:Exception happened during processing of request from ('192.168.2.13', 50933)Traceback (most recent call last):File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 582, in process_request_threadself.finish_request(request, client_address)File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 323, in finish_requestself.RequestHandlerClass(request, client_address, self)File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 639, in __init__self.handle()File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 343, in handleself.handle_one_request()File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 313, in handle_one_requestself.raw_requestline = self.rfile.readline(65537)File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 476, in readlinedata = self._sock.recv(self._rbufsize)File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 232, in recvreturn self.read(buflen)File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 151, in readreturn self._sslobj.read(len)SSLError: [Errno 1] _ssl.c:1354: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown caAm going to investigate this for further leads.Thanks,Ken
I am having the EXACT SAME response on my 3 Apple TV's! Anyone have any ideas?
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:
Nevermind about the openssl. My issue is finally fixed by adding atv.plexconnect to my DNS. I knew I wasn’t missing something. That simply wasn’t documented anywhere that it needed to be done. But someone figured it out in the comments http://langui.sh/2013/08/27/appletv-ssl-plexconnect/...
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!
Hi @wsweijland, yes, this is also for mac users. I'm a mac user. The link was simply to the instructions on languish. And all there was to add which fixed my problem was adding atv.plexconnect to my DNS since I was using my own DNS server. From your logs, you seem to be using the default PlexConnect DNS server, so you shouldn't need to do the extra step that fixed it for me...
Nevermind about the openssl. My issue is finally fixed by adding atv.plexconnect to my DNS. I knew I wasn’t missing something. That simply wasn’t documented anywhere that it needed to be done. But someone figured it out in the comments http://langui.sh/2013/08/27/appletv-ssl-plexconnect/...
Oh, come on...
http://forums.plexapp.com/index.php/topic/70611-plexconnect-changelog/?p=443807
12th of August?
Yeah, it was NOT on the google main page...
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.