PlexConnect not working even after new ATV work around

  • Your ATV model (2 or 3) and firmware version (found under the ATV settings > general > about > Apple TV software): ATV 3 5.3(6105)

  • The DNS server set on the ATV (found under the ATV settings > general > network > DNS): 10.0.1.30

  • The device and operating system (including version number) that PlexConnect is installed on: Intel Core 13 3.07GHz Shuttle PC 8GB RAM 64bit Windows 7 Ultimate SP1

  • The local IP address of the device that PlexConnect is installed on: 10.0.1.30

  • The device and operating system (including version number) that the Plex media server (PMS) is installed on: Same machine PlexConnect is running on Intel Core 13 3.07GHz Shuttle PC 8GB RAM 64bit Windows 7 Ultimate SP1

  • The Plex media server (PMS) version number you are running (**do not put 'latest'**): Version 0.9.7.28

  • The local IP address of the device that the Plex media server (PMS) is installed on: 10.0.1.30

  • The PlexConnect version number. If using Github source then a time and date of download (look at the creation date of the folder) and if you are using any testing branch e.g. the Elan/PlexInc one. 8/29/2013 10:43AM

The content of your 'Settings.cfg' file (if you do not have this file you are running an old version, please update) [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 = Normalip_pms = 192.168.178.10
enable_plexgdm = True
port_ssl = 443
ip_pms = 192.168.178.10
 
My ATV has the newest update that killed the normal work-around for PlexConnect. I've followed the steps in Paul Kehrer's guide on creating a new profile and loaded it onto the ATV using Configurator, I downloaded the newest build of PlexConnect, I have Python 2.7 running on my Windows 7 box.
When I go to 'Trailers' on my ATV, I get the "Trailers is unavailable. Try again later" error message.
Could running PlexConnect and Plex Media Server on the same box be causing the issue?
Any help would be greatly appreciated.

I am not sure, but shouldn't your "ip_pms = 192.168.178.10" be "ip_pms = 10.0.1.30"?

Also, I assume, but you didn't mention in your description, that you did create the "certificates" folder and put the actual cert inside it manually?


  • Your ATV model (2 or 3) and firmware version (found under the ATV settings > general > about > Apple TV software): ATV 3 5.3(6105)

  • The DNS server set on the ATV (found under the ATV settings > general > network > DNS): 10.0.1.30

  • The device and operating system (including version number) that PlexConnect is installed on: Intel Core 13 3.07GHz Shuttle PC 8GB RAM 64bit Windows 7 Ultimate SP1

  • The local IP address of the device that PlexConnect is installed on: 10.0.1.30

  • The device and operating system (including version number) that the Plex media server (PMS) is installed on: Same machine PlexConnect is running on Intel Core 13 3.07GHz Shuttle PC 8GB RAM 64bit Windows 7 Ultimate SP1

  • The Plex media server (PMS) version number you are running (**do not put 'latest'**): Version 0.9.7.28

  • The local IP address of the device that the Plex media server (PMS) is installed on: 10.0.1.30

  • The PlexConnect version number. If using Github source then a time and date of download (look at the creation date of the folder) and if you are using any testing branch e.g. the Elan/PlexInc one. 8/29/2013 10:43AM
The content of your 'Settings.cfg' file (if you do not have this file you are running an old version, please update) [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 = Normalip_pms = 192.168.178.10
enable_plexgdm = True
port_ssl = 443
ip_pms = 192.168.178.10

My ATV has the newest update that killed the normal work-around for PlexConnect. I've followed the steps in Paul Kehrer's guide on creating a new profile and loaded it onto the ATV using Configurator, I downloaded the newest build of PlexConnect, I have Python 2.7 running on my Windows 7 box.
When I go to 'Trailers' on my ATV, I get the "Trailers is unavailable. Try again later" error message.
Could running PlexConnect and Plex Media Server on the same box be causing the issue?
Any help would be greatly appreciated.


Make sure the certfile path is correct. That is the most common problem. To test open a browser and enter this address https://10.0.1.30:443 if the certfile path is correct you should get a warning that the certificate can't be verified. If not check and fix the path and try again.

He has plexgdm as true so the IP shouldn’t be an issue. I would make sure the trailers.pem file is in the correct place and also try using an absolute certfile path to see if that helps.

This may just be a forum paste issue, but make sure loglevel = Normalip_pms = 192.168.178.10 is actually over two line like this;

loglevel = Normal

ip_pms = 192.168.178.10

My money is on the pathway...I used absolute address c:\plexconnect etc...

My money is on the pathway...I used absolute address c:\plexconnect etc...

I changed the path the the absolute path, now my settings 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-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
 
I have the trailers.pem file living in the certificated folder. I get more of a read-out in my log file, but still nothing on my ATV.
 
Here's what the new log file says:
17:10:10 PlexConnect: started: 17:10:10
17:10:10 PlexConnect: IP_self: 10.0.1.30
17:10:10 DNSServer: started: 17:10:10
17:10:10 DNSServer: ***
17:10:10 DNSServer: Starting up.
17:10:10 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 10.0.1.30
17:10:10 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
17:10:10 DNSServer: forward other to higher level DNS: 8.8.8.8
17:10:10 DNSServer: ***
17:10:10 WebServer: started: 17:10:10
17:10:10 WebServer: ***
17:10:10 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
17:10:10 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
17:10:10 WebServer: ***
17:10:10 PlexGDM: ***
17:10:10 PlexGDM: looking up Plex Media Server
17:10:10 PlexGDM: ***
17:10:11 PlexGDM: servers discovered: 1
17:10:11 XMLConverter: PlexGDM - PMS: 10.0.1.30:32400
17:10:12 DNSServer: DNS request received!
17:10:12 DNSServer: Source: ('10.0.1.3', 59454)
17:10:12 DNSServer: Domain: ax.init.itunes.apple.com
17:10:12 DNSServer: ***forward request
17:10:12 DNSServer: -> DNS response from higher level
17:10:12 DNSServer: DNS request received!
17:10:12 DNSServer: Source: ('10.0.1.3', 50831)
17:10:12 DNSServer: Domain: itunes.apple.com
17:10:12 DNSServer: ***forward request
17:10:13 DNSServer: -> DNS response from higher level
17:10:18 DNSServer: DNS request received!
17:10:18 DNSServer: Source: ('10.0.1.3', 50715)
17:10:18 DNSServer: Domain: a3.mzstatic.com
17:10:18 DNSServer: ***forward request
17:10:18 DNSServer: -> DNS response from higher level
17:10:18 DNSServer: DNS request received!
17:10:18 DNSServer: Source: ('10.0.1.3', 60675)
17:10:18 DNSServer: Domain: a2.mzstatic.com
17:10:18 DNSServer: ***forward request
17:10:18 DNSServer: -> DNS response from higher level
 
Thanks for all the help folks!

I got everything to work fine with the work around...suddenly during a movie the whole thing stopped.

When i now click on trailers al it says is: Trailers Not Available. Try again Later.

10 mins later:

It works now - you have to make sure you settings.cfg has a full path


  • Your ATV model (2 or 3) and firmware version (found under the ATV settings > general > about > Apple TV software): ATV 3 5.3(6105)



  • The DNS server set on the ATV (found under the ATV settings > general > network > DNS): 10.0.1.30



  • The device and operating system (including version number) that PlexConnect is installed on: Intel Core 13 3.07GHz Shuttle PC 8GB RAM 64bit Windows 7 Ultimate SP1



  • The local IP address of the device that PlexConnect is installed on: 10.0.1.30



  • The device and operating system (including version number) that the Plex media server (PMS) is installed on: Same machine PlexConnect is running on Intel Core 13 3.07GHz Shuttle PC 8GB RAM 64bit Windows 7 Ultimate SP1



  • The Plex media server (PMS) version number you are running (**do not put 'latest'**): Version 0.9.7.28



  • The local IP address of the device that the Plex media server (PMS) is installed on: 10.0.1.30



  • The PlexConnect version number. If using Github source then a time and date of download (look at the creation date of the folder) and if you are using any testing branch e.g. the Elan/PlexInc one. 8/29/2013 10:43AM


The content of your 'Settings.cfg' file (if you do not have this file you are running an old version, please update) [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 = Normalip_pms = 192.168.178.10
enable_plexgdm = True
port_ssl = 443
ip_pms = 192.168.178.10
 
My ATV has the newest update that killed the normal work-around for PlexConnect. I've followed the steps in Paul Kehrer's guide on creating a new profile and loaded it onto the ATV using Configurator, I downloaded the newest build of PlexConnect, I have Python 2.7 running on my Windows 7 box.
When I go to 'Trailers' on my ATV, I get the "Trailers is unavailable. Try again later" error message.
Could running PlexConnect and Plex Media Server on the same box be causing the issue?
Any help would be greatly appreciated.

I restarted PlexConnect and it works now!

Thanks for the help, I hope it continues to work.

Hey guys,

sadly I have still the same problem as evanconklin : (

evanconklin, how did you restart PlexConnect, just by restarting the computer/mac? If I'm doing that I still get the message "Trailers is unavailable. Try again later".

ake sure the certfile path is correct. That is the most common problem. To test open a browser and enter this address https://10.0.1.30:443 if the certfile path is correct you should get a warning that the certificate can't be verified. If not check and fix the path and try again.

evanconklin, if you go in your browser for the https://10.0.1.30:443 address, does something happens? If I go on my equivalent address in chrome I just get a SSL connection error.

Best regards,

schiroko

EDIT:

Just in case here 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
 
 
 
EDIT #2:
 
changed
 
certfile = ./assets/certificates/trailers.pem
 
to the full path 
 
certfile = /Users/schiroko/Desktop/PlexConnect/assets/certificates/trailers.pem
 
and it worked : )

Yes, Im not sure hoe Macs work with pathways, but if you dont have a environmential system pathway ie; temp = c:\windows emp, it appears the absolute pathway is required...

Ok, so I may be a bit of a terminal noob here, but any help would be appreciated. I’ve followed all the steps upto ‘Updating & Configuring Plex Connect’. I’ve moved the trailers.pem file to the new directory as per the instructions. Where I’m a little confused is the adding new lines to the configuration. From what I understand, I just need to open terminal, go to the folder with PlexConnect (type cd and drag and drop folder) and then type sudo ./PlexConnect.py & everything should work.

I’ve done all this and I get the output in terminal, but when I click on trailer, I get the ‘Trailers is unavailable. Try again later’ message. What am I doing wrong?

Here’s the output code from Terminal:

21:46:22 PlexConnect: started: 21:46:22
21:46:22 PlexConnect: ***
21:46:22 PlexConnect: PlexConnect
21:46:22 PlexConnect: Press ENTER to shut down.
21:46:22 PlexConnect: ***
21:46:22 PlexConnect: IP_self: 10.0.1.24
21:46:22 PlexConnect: started: 21:46:22
21:46:22 PlexGDM: ***
21:46:22 PlexGDM: looking up Plex Media Server
21:46:22 PlexGDM: ***
21:46:23 PlexGDM: servers discovered: 1
21:46:23 PlexConnect: PMS: 10.0.1.24:32400
21:46:23 DNSServer: started: 21:46:23
21:46:23 DNSServer: ***
21:46:23 DNSServer: Starting up.
21:46:23 DNSServer: intercept trailers.apple.com: 10.0.1.24
21:46:23 DNSServer: forward other to higher level DNS: 8.8.8.8
21:46:23 DNSServer: ***
21:46:23 WebServer: started: 21:46:23
21:46:23 WebServer: ***
21:46:23 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
21:46:23 WebServer: ***
21:46:38 DNSServer: DNS request received!
21:46:38 DNSServer: Source: (’10.0.1.25′, 52167)
21:46:38 DNSServer: Domain: p21-buy.itunes.apple.com.akadns.net
21:46:38 DNSServer: ***forward request
21:46:38 DNSServer: -> DNS response from higher level
21:46:39 DNSServer: DNS request received!
21:46:39 DNSServer: Source: (’10.0.1.25′, 55700)
21:46:39 DNSServer: Domain: trailers.apple.com
21:46:39 DNSServer: ***intercept request
21:46:39 DNSServer: -> DNS response: 10.0.1.24

Also, here are the contents of my settings.cfg file:

[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 = 80port_ssl = 443
certfile = /Applications/PlexConnect-0.1-iOS-pre5.1/assets/certificates/trailers.pem
 

Thanks!

Are you using an up-to-date version of Plexconnect? Your folder in the certfile path says 0.1 which is ancient. There is also no 443 port in your log.

I followed the instructions on http://langui.sh. Where can I get the latest version and install it?

https://codeload.github.com/iBaa/PlexConnect/zip/master

Thanks! I downloaded it, installed it as per instructions and now when I run Terminal, this is what I get:

23:34:37 PlexConnect: ***
23:34:37 PlexConnect: PlexConnect
23:34:37 PlexConnect: Press CTRL-C to shut down.
23:34:37 PlexConnect: ***
23:34:37 PlexConnect: started: 23:34:37
23:34:37 PlexConnect: IP_self: 10.0.1.24
23:34:37 DNSServer: started: 23:34:37
23:34:37 DNSServer: Failed to create socket on UDP port 53: [Errno 48] Address already in use
23:34:37 PlexConnect: DNSServer not alive. Shutting down.
23:34:37 PlexConnect: Shutting down.
23:34:37 PlexConnect: shutdown

And this is what my settings file looks like now:

[PlexConnect]
logpath = .
enable_dnsserver = True
ip_webserver = 0.0.0.0
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = True
port_pms = 32400
port_webserver = 80
ip_plexconnect = 0.0.0.0
certfile = Applications/PlexConnect-master/assets/certificates/trailers.pem
ip_dnsmaster = 8.8.8.8
loglevel = Normal
ip_pms = 192.168.178.10
enable_plexgdm = True
port_ssl = 443
 

Any ideas?

Prior instance of Plexconnect hasn’t shutdown properly. Kill all Python processes in Activity Monitor (I am assuming you are on a Mac) and restart. Also, your certfile path is neither the settings.cfg default nor an absolute path, make it one or the other.

And I've gone into Activity Monitor & quit the python process. Now, when I go there, there's no python process listed. And I still get the same error message in the terminal log.

Fix the certfile path, now.

Ok, I'm restarting the Mac now. As far as the absolute path goes, how do I do that? My Plex Connect folder is in my Applications folder. 

And thanks for all the help. Seriously.