Plexconnect setup "Trailers not available right now"

I've been trying everything and finally got it to work today.

I use plexconnect on win7, with wireless connection to ATV3. 

Today was the third time I installed the certificate to my atv, and I made sure that I saw that the key was confirmed installed in Iphone config. utility's log. (Had to wait a minute or so after I saw the "remove" button).

I also got the latest plexconnect by running the command "cd plexconnect" and then "git pull" in Git shell. (This will then install in my documents folder on c: by default I think). 

I then made sure that "port_ssl = 443" and "certfile = ./assets/certificates/trailers.pem" was in the cfg. I used the default path and did not switch to \ like many others talk about.

Hope this will help! 

I also got a question:

Is there a way to make sure that future updates will not be installed in my atv3?

I only use it for plex and nothing else really. 

Plexconnect already will stop actual firmware updates from happening but what occurred last week was not a firmware update. Apple changed the URLs that the trailers.app used to communicate with, from http to secure https. This cannot be stopped by Plexconnect.

Well... what did I ask in Post 53, other thread?

"PlexConnect's WebServer doesn't get the request to serve application.js - Are you running a firewall, blocking port 443? Is there any port forwarding in your router? A virtual machine that could interfere? Anything that would stop aTV to send a https request to PlexConnect?" 

I'm running the typical Mac firewall. The firewall was on two nights ago, when everything ran fine. Now on/off does not make a difference. Also in settings Plex DLNA Server, Plex Media Server and Plex.app are allowed incoming connections.

I run LittleSnitch. Which also ran two nights ago. Also PlexConnect (all Plex related entries) have full permission to do as they please.

No forwarding on my router. Running a TimeCapsule out of the box.

No virtual machine running.

What else could interfere with with aTV sending https requests?

When I google "TimeCapsule" and "ports" I keep stumbling across "bridge mode". And yes, that's activated (but was, again, when everything went well). Can that have anything to do with it?

@kolbu

I'm exactly on the same page except I did not execute gitpull. Can you please elaborate on this.

Is Python 2.7 a must have? Been running on unRaid which has Python 2.6.5 and I get the dreaded trailers unavailable message. 

2.6 has some known issues - eg. in PrePlayScreen you won't get the data for actors and such, but a ((VAL-UNKNOWN)) or something.

I don't know about other issues with the latest code base - though. I don't think 2.6 is the reason for it... but you never know :-).

((ERROR: VAL)) if i remember correctly

Ok, so I just installed Python 2.7.3 and PlexConnect worked straight away!

So in addition to the new PlexConnect instructions I downloaded Python 2.7.3 for slackware. I copied this to /boot/packages and ran:

installpkg /boot/packages/python-2.7.3-i686-5PTr.txz

then started Plexconnect and voila. 

Prior to updating Python my PlexConnect log was hanging on "WebServer: serving application.js".

Good to know.

Smorn82,

The path varies depending on the Operating system being used Linux/Mac like / while windows normally like \ (I say normally because some people have reported that they had to use /)

Thanks, i finally got it to work.

My mistake:

I installed Openssl 64 instead of 32. I got the 64 bit operating system and thought I needed to match that. Anyway I installed the regular Openssl 32 as described and followed the instructions in the forum listed under 'Third party clients'/ 'Apple TV-PlexConnect'/'Windows specific instructions for creating and installing the ssl cert.' After I re-installed everything it worked.

Adjusted my settings.cfg showing (I am running Windows and '\' works for me)...

certfile = C:\PlexConnect-XML_templates\assets\certificates railers.pem
port_ssl = 443
 
...and it worked. 
 
In addition I created a .bat file to have plex starting automatically every time I start my pc. In addition I have it running in the background automatically as I hate to see the window. 
 
Thanks to all...

I also lost PlexConnect after the ATV3 update, i was able to bring it back following the steps that everyone mentions here but in my case i had a few things miss configure, i was trying not to use port 80 since my qnap was already using it for something else, i see some of you use 0.0.0.0 for that but i used the qnap ip where the pms is running as well. Here my configuration file.

path = .
enable_dnsserver = True
ip_webserver = 192.168.2.20
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = True
port_pms = 32400
port_webserver = 80
ip_plexconnect = 192.168.2.20
certfile = ./assets/certificates/trailers.pem
ip_dnsmaster = 8.8.8.8
loglevel = Normal
ip_pms = 192.168.2.20
enable_plexgdm = True
port_ssl = 443
 
 
Before i used port 80 i was getting the error trailer not available but Netflix was working and everything else, once i change the port to 80 everything was back to normal, if it helps anyone i also update the plex server to the latest version on my qnap. Thanks for everyone who posted their setups that made it easier for me to fix it.

Ok, so I just installed Python 2.7.3 and PlexConnect worked straight away!

So in addition to the new PlexConnect instructions I downloaded Python 2.7.3 for slackware. I copied this to /boot/packages and ran:

installpkg /boot/packages/python-2.7.3-i686-5PTr.txz

then started Plexconnect and voila. 

Prior to updating Python my PlexConnect log was hanging on "WebServer: serving application.js".

FYI, check out this plugin, will make your PlexConnect life 1000 times better on unRAID:

http://lime-technology.com/forum/index.php?topic=29193.0

works like a charm.

FYI, check out this plugin, will make your PlexConnect life 1000 times better on unRAID:

http://lime-technology.com/forum/index.php?topic=29193.0

works like a charm.

thanks for the heads up!

I had the same problem and it fix updating python to 2.7.5. I have Mac Osx 10.6.8 and ATV 2º gen.

A whole sunday morning but at least it woks ok.

Thanks for everybody helps.

I FINALLY got my files to show up on the AppleTV, but when I click a file I get "Trailers is unavailable. Try again later." ARG!!! This is ridiculous!

[PlexConnect]
port_pms = 32400
ip_dnsmaster = 8.8.8.8
loglevel = Normal
prevent_atv_update = True
enable_plexconnect_autodetect = True
enable_dnsserver = True
ip_pms = 192.168.2.5
enable_plexgdm = True
port_ssl = 443
port_webserver = 80
certfile = C:\Program Files (x86)\Plex\Plex Media Server\PlexConnect-XML_templates\assets\certificates	railers.pem

This is windows 7,

21:37:57 PlexConnect: ***

21:37:57 PlexConnect: PlexConnect
21:37:57 PlexConnect: Press CTRL-C to shut down.
21:37:57 PlexConnect: ***
21:37:57 Settings: add option logpath=.
21:37:57 Settings: add option ip_webserver=0.0.0.0
21:37:57 Settings: add option port_dnsserver=53
21:37:57 Settings: add option ip_plexconnect=0.0.0.0
21:37:57 PlexConnect: started: 21:37:57
21:37:57 PlexConnect: IP_self: 192.168.2.5
21:37:58 DNSServer: started: 21:37:58
21:37:58 DNSServer: ***
21:37:58 DNSServer: DNSServer: Serving DNS on port 53.
21:37:58 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.
168.2.5
21:37:58 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld
.apple.com.edgesuite.net'] => 127.0.0.1
21:37:58 DNSServer: forward other to higher level DNS: 8.8.8.8
21:37:58 DNSServer: ***
21:37:58 WebServer: started: 21:37:58
21:37:58 WebServer: started: 21:37:58
21:37:58 WebServer: ***
21:37:58 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
21:37:58 WebServer: ***
21:37:58 PlexGDM: ***
21:37:58 PlexGDM: looking up Plex Media Server
21:37:58 PlexGDM: ***
21:37:58 WebServer: ***
21:37:58 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
21:37:58 WebServer: ***
21:37:59 PlexGDM: servers discovered: 1
21:37:59 XMLConverter: PlexGDM - PMS: 192.168.2.5:32400
21:38:21 DNSServer: DNS request received!
21:38:21 DNSServer: Source: ('192.168.2.3', 51411)
21:38:21 DNSServer: Domain: atv.plexconnect
21:38:21 DNSServer: ***intercept request
21:38:21 DNSServer: -> DNS response: 192.168.2.5
21:38:22 DNSServer: DNS request received!
21:38:22 DNSServer: Source: ('192.168.2.3', 51411)
21:38:22 DNSServer: Domain: atv.plexconnect
21:38:22 DNSServer: ***intercept request
21:38:22 DNSServer: -> DNS response: 192.168.2.5
21:38:25 DNSServer: DNS request received!
21:38:25 DNSServer: Source: ('192.168.2.3', 51411)
21:38:25 DNSServer: Domain: atv.plexconnect
21:38:25 DNSServer: ***intercept request
21:38:25 DNSServer: -> DNS response: 192.168.2.5
21:38:34 DNSServer: DNS request received!
21:38:34 DNSServer: Source: ('192.168.2.3', 51411)
21:38:34 DNSServer: Domain: atv.plexconnect
21:38:34 DNSServer: ***intercept request
21:38:34 DNSServer: -> DNS response: 192.168.2.5
21:38:56 DNSServer: DNS request received!
21:38:56 DNSServer: Source: ('192.168.2.3', 57374)
21:38:56 DNSServer: Domain: trailers.apple.com
21:38:56 DNSServer: ***intercept request
21:38:56 DNSServer: -> DNS response: 192.168.2.5
21:38:57 DNSServer: DNS request received!
21:38:57 DNSServer: Source: ('192.168.2.3', 57374)
21:38:57 DNSServer: Domain: trailers.apple.com
21:38:57 DNSServer: ***intercept request
21:38:57 DNSServer: -> DNS response: 192.168.2.5
21:39:00 DNSServer: DNS request received!
21:39:00 DNSServer: Source: ('192.168.2.3', 57374)
21:39:00 DNSServer: Domain: trailers.apple.com
21:39:00 DNSServer: ***intercept request
21:39:00 DNSServer: -> DNS response: 192.168.2.5
21:39:01 DNSServer: DNS request received!
21:39:01 DNSServer: Source: ('192.168.2.3', 51411)
21:39:01 DNSServer: Domain: atv.plexconnect
21:39:01 DNSServer: ***intercept request
21:39:01 DNSServer: -> DNS response: 192.168.2.5
21:39:01 Localize: aTVLanguage: en
21:39:01 ATVLogger: loadAndSwapURL (override): http://atv.plexconnect/library/me
tadata/786/children
21:39:01 Localize: aTVLanguage: en
21:39:01 ATVLogger: loadAndSwapURL (override): http://atv.plexconnect/library/se
ctions/1&PlexConnectUDID=C0KJ71JWDRHN
21:39:01 Localize: aTVLanguage: en
21:39:01 ATVLogger: loadURL (override): http://atv.plexconnect/library/sections/
1
21:39:02 Localize: aTVLanguage: en
21:39:02 WebServer: serving application.js
21:39:02 Localize: aTVLanguage: en
21:39:02 WebServer: serving .xml: /PlexConnect.xml
21:39:02 ATVSettings: add section 007
21:39:02 Localize: aTVLanguage: en
21:39:02 WebServer: serving  C:\Program Files (x86)\Plex\Plex Media Server\PlexC
onnect-XML_templates\assets\js\utils.js
21:39:02 Localize: aTVLanguage: en
21:39:02 ATVLogger: loadItem: Library
21:39:02 Localize: aTVLanguage: en
21:39:02 WebServer: serving .xml: /library/sections
21:39:02 ATVSettings: add section C0KJ71JWDRHN
21:39:02 Localize: aTVLanguage: en
21:39:02 WebServer: serving  C:\Program Files (x86)\Plex\Plex Media Server\PlexC
onnect-XML_templates\assets\js\utils.js
21:39:03 Localize: aTVLanguage: en
21:39:03 WebServer: serving .xml: /library/sections/1/recentlyAdded
21:39:06 Localize: aTVLanguage: en
21:39:06 ATVLogger: loadURL (override): http://atv.plexconnect/library/sections/
1
21:39:06 Localize: aTVLanguage: en
21:39:06 WebServer: serving .xml: /library/sections/1
21:39:07 Localize: aTVLanguage: en
21:39:07 WebServer: serving  C:\Program Files (x86)\Plex\Plex Media Server\PlexC
onnect-XML_templates\assets\js\utils.js
21:39:07 Localize: aTVLanguage: en
21:39:07 WebServer: serving  C:\Program Files (x86)\Plex\Plex Media Server\PlexC
onnect-XML_templates\assets\js\updateXML.js
21:39:07 Localize: aTVLanguage: en
21:39:07 ATVLogger: 1
21:39:07 Localize: aTVLanguage: en
21:39:07 ATVLogger: On Deck
21:39:07 Localize: aTVLanguage: en
21:39:07 WebServer: serving .xml: /library/sections/1
21:39:08 Localize: aTVLanguage: en
21:39:08 WebServer: serving  C:\Program Files (x86)\Plex\Plex Media Server\PlexC
onnect-XML_templates\assets\js\utils.js
21:39:08 Localize: aTVLanguage: en
21:39:08 WebServer: serving  C:\Program Files (x86)\Plex\Plex Media Server\PlexC
onnect-XML_templates\assets\js\scrobble.js
21:39:13 Localize: aTVLanguage: en
21:39:13 ATVLogger: loadURL (override): http://atv.plexconnect/library/metadata/
9&PlexConnect=EpisodePrePlay
21:39:13 Localize: aTVLanguage: en
21:39:13 WebServer: serving .xml: /library/metadata/9
21:41:09 DNSServer: DNS request received!
21:41:09 DNSServer: Source: ('192.168.2.3', 50199)
21:41:09 DNSServer: Domain: atv.plexconnect
21:41:09 DNSServer: ***intercept request
21:41:09 DNSServer: -> DNS response: 192.168.2.5
21:41:10 DNSServer: DNS request received!
21:41:10 DNSServer: Source: ('192.168.2.3', 50199)
21:41:10 DNSServer: Domain: atv.plexconnect
21:41:10 DNSServer: ***intercept request
21:41:10 DNSServer: -> DNS response: 192.168.2.5
21:41:13 DNSServer: DNS request received!
21:41:13 DNSServer: Source: ('192.168.2.3', 50199)
21:41:13 DNSServer: Domain: atv.plexconnect
21:41:13 DNSServer: ***intercept request
21:41:13 DNSServer: -> DNS response: 192.168.2.5
21:41:22 DNSServer: DNS request received!
21:41:22 DNSServer: Source: ('192.168.2.3', 50199)
21:41:22 DNSServer: Domain: atv.plexconnect
21:41:22 DNSServer: ***intercept request
21:41:22 DNSServer: -> DNS response: 192.168.2.5
21:41:49 DNSServer: DNS request received!
21:41:49 DNSServer: Source: ('192.168.2.3', 50199)
21:41:49 DNSServer: Domain: atv.plexconnect
21:41:49 DNSServer: ***intercept request
21:41:49 DNSServer: -> DNS response: 192.168.2.5
21:41:49 Localize: aTVLanguage: en
21:41:49 ATVLogger: loadAndSwapURL (override): http://atv.plexconnect/library/se
ctions/1&PlexConnectUDID=C0KJ71JWDRHN
21:41:49 Localize: aTVLanguage: en
21:41:49 WebServer: serving .xml: /library/sections/1
21:41:49 Localize: aTVLanguage: en
21:41:49 WebServer: serving  C:\Program Files (x86)\Plex\Plex Media Server\PlexC
onnect-XML_templates\assets\js\utils.js
21:41:50 Localize: aTVLanguage: en
21:41:50 WebServer: serving  C:\Program Files (x86)\Plex\Plex Media Server\PlexC
onnect-XML_templates\assets\js\updateXML.js
21:41:50 Localize: aTVLanguage: en
21:41:50 ATVLogger: 1
21:41:50 Localize: aTVLanguage: en
21:41:50 ATVLogger: On Deck
21:41:50 Localize: aTVLanguage: en
21:41:50 WebServer: serving .xml: /library/sections/1
21:41:51 Localize: aTVLanguage: en
21:41:51 WebServer: serving  C:\Program Files (x86)\Plex\Plex Media Server\PlexC
onnect-XML_templates\assets\js\utils.js
21:41:51 Localize: aTVLanguage: en
21:41:51 WebServer: serving  C:\Program Files (x86)\Plex\Plex Media Server\PlexC
onnect-XML_templates\assets\js\scrobble.js
21:42:13 Localize: aTVLanguage: en
21:42:14 ATVLogger: loadURL (override): http://atv.plexconnect/library/metadata/
710/children&PlexConnect=Season
21:42:14 Localize: aTVLanguage: en
21:42:14 WebServer: serving .xml: /library/metadata/710/children
21:42:14 Localize: aTVLanguage: en
21:42:14 WebServer: serving  C:\Program Files (x86)\Plex\Plex Media Server\PlexC
onnect-XML_templates\assets\js\utils.js
21:42:14 Localize: aTVLanguage: en
21:42:14 WebServer: serving  C:\Program Files (x86)\Plex\Plex Media Server\PlexC
onnect-XML_templates\assets\js\scrobble.js
21:42:16 Localize: aTVLanguage: en
21:42:16 ATVLogger: loadURL (override): http://atv.plexconnect/library/metadata/
711&PlexConnect=EpisodePrePlay
21:42:16 Localize: aTVLanguage: en
21:42:16 WebServer: serving .xml: /library/metadata/711

Neo, 

I'm not sure if it's the same on Windows, but I believe the cert file is supposed to be inside the PlexConnect folder like this: 

C:\PlexConnect-master\assets\certificates railers.pem

I would install PlexConnect so the path is simpler than what you have. 

I FINALLY got my files to show up on the AppleTV, but when I click a file I get "Trailers is unavailable. Try again later." ARG!!! This is ridiculous!

[PlexConnect]
port_pms = 32400
ip_dnsmaster = 8.8.8.8
loglevel = Normal
prevent_atv_update = True
enable_plexconnect_autodetect = True
enable_dnsserver = True
ip_pms = 192.168.2.5
enable_plexgdm = True
port_ssl = 443
port_webserver = 80
certfile = C:\Program Files (x86)\Plex\Plex Media Server\PlexConnect-XML_templates\assets\certificates	railers.pem

This is windows 7,

Neo,

I have seen issues reported on the forum about issues with older ATV firmware and the pre-play screen, what version are you running?

If you click the play button while on the list does the show play?

elstreif,

The trailers.pem file can be where ever as long as it actually matches what is in your settings.cfg file, that being said it looks to me like Neo actually has the file in the standard location of .assets\certificates railers.pem its just Neo's assets\certificates railers.pem is located in C:\Program Files (x86)\Plex\Plex Media Server\PlexConnect-XML_templates\ and not C:\PlexConnect-master

After updating the aTV, it works. Thank you.

Any chance of telling which aTV firmware version did NOT work?

Guys I need to mention that some of the Webserver IP settings I see posted here are not correct as far as I can see.

At least 0.0.0.0 or 127.0.0.1 did not work for me, and Baa's instructions for setting your settings.cfg do not explain this.

So, Set your Webserver IP (which is for PlexConnect ) to the same as your PMS web IP address, assuming its on the same machine. Otherwise make sure each machine is referenced specifically by its IP. 

Also make sure your DNS server is pointing to your Router and not 8.8.8.8

make sure your PMS IP = your PMS web IP address as well.

To test the PlexConnect Webserver open a browser and point it at your PMS IP address in your settings.cfg. for me its 192.168.2.7:32400 (my mac's IP running PMS Connect and PMS web server.

Then you should see a load of XML returned. If you don't your webserver is either not running or clashing with another webserver on port 80 or you have a firewall issue.

This is my settings.cfg file running PMS 0.9.8.6 which works fine with the latest GitHub pull of the PlexConnect files. Do the pull and don't use the Zip.

So install GIThub. Its worth it.

[PlexConnect]
logpath = .
enable_dnsserver = True
ip_webserver = 192.168.2.7
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = True
port_pms = 32400
port_webserver = 80
ip_plexconnect = 192.168.2.7
certfile = /Users/ochapple/Downloads/PlexConnect/PlexConnect/assets/certificates/trailers.pem
ip_dnsmaster = 192.168.2.1
loglevel = High
ip_pms = 192.168.2.7
enable_plexgdm = True
port_ssl = 443
 
 
You don't have to have loglevel set to High, I did this for debugging the problem so you can set it back to Normal if you like once you're up and running.
Note my explicit reference to my trailers.pem file.
Hope that helps guys
Ollie