Plexconnect setup "Trailers not available right now"

I have read all the install instructions on the forum.

 

I have also followed all instructions over here http://langui.sh/2013/08/27/appletv-ssl-plexconnect/

 

I feel I have done everything correct, but I still get the message that "Trailers are not available right now. Try again later."

 

Would appreciate some help very much. Thanks in advance. Here's the terminal log:

 

 

 

PlexConnect: started: 21:35:45
PlexConnect: ***
PlexConnect: PlexConnect
PlexConnect: Press ENTER to shut down.
PlexConnect: ***
PlexConnect: started: 21:35:45
PlexConnect: IP_self: 10.0.1.2
PlexGDM: ***
PlexGDM: looking up Plex Media Server
PlexGDM: ***
PlexGDM: servers discovered: 1
PlexConnect: PMS: 10.0.1.2:32400
DNSServer: started: 21:35:46
DNSServer: ***
DNSServer: Starting up.
DNSServer: intercept trailers.apple.com: 10.0.1.2
DNSServer: forward other to higher level DNS: 8.8.8.8
DNSServer: ***
WebServer: started: 21:35:46
WebServer: ***
WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
WebServer: ***
DNSServer: DNS request received!
DNSServer: Source: ('10.0.1.3', 54509)
DNSServer: Domain: trailers.apple.com
DNSServer: ***intercept request
DNSServer: -> DNS response: 10.0.1.2

Download the latest Plexconnect from github. I don’t see the 443 port in your log.

Thanks for your quick answer. I just downloaded the latest PlexConnect version from their website in a .zip file. Created the folder myself. Do you have a link for me where I can learn how to download stuff from Github? Have been looking for it for a while but its not clear to me how it works or what application(s) to use. This is probably a stupid question but thanks for helping me anyways.

Replaced the Plexconnect files with the new ones from Github, hope I did it right. I still get the error about Trailers not being available. The log changed though, and here is some extra information first: iMac ip address : 10.0.1.2
aTV ip address: 10.0.1.3

Router ip address: 10.0.1.1

Set the aTV DNS manually to 10.0.1.2

Last log:

21:52:22 PlexConnect: ***
21:52:22 PlexConnect: PlexConnect
21:52:22 PlexConnect: Press CTRL-C to shut down.
21:52:22 PlexConnect: ***
21:52:22 Settings: add section PlexConnect
21:52:22 Settings: add option logpath=.
21:52:22 Settings: add option enable_dnsserver=True
21:52:22 Settings: add option ip_webserver=0.0.0.0
21:52:22 Settings: add option prevent_atv_update=True
21:52:22 Settings: add option enable_plexconnect_autodetect=True
21:52:22 Settings: add option port_pms=32400
21:52:22 Settings: add option port_webserver=80
21:52:22 Settings: add option ip_plexconnect=0.0.0.0
21:52:22 Settings: add option certfile=./assets/certificates/trailers.pem
21:52:22 Settings: add option ip_dnsmaster=8.8.8.8
21:52:22 Settings: add option loglevel=Normal
21:52:22 Settings: add option ip_pms=192.168.178.10
21:52:22 Settings: add option enable_plexgdm=True
21:52:22 Settings: add option port_ssl=443
21:52:22 PlexConnect: started: 21:52:22
21:52:22 PlexConnect: IP_self: 10.0.1.2
21:52:22 DNSServer: started: 21:52:22
21:52:22 DNSServer: ***
21:52:22 DNSServer: Starting up.
21:52:22 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 10.0.1.2
21:52:22 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
21:52:22 DNSServer: forward other to higher level DNS: 8.8.8.8
21:52:22 DNSServer: ***
21:52:22 WebServer: started: 21:52:22
21:52:22 WebServer: ***
21:52:22 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
21:52:22 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
21:52:22 WebServer: ***
21:52:22 PlexGDM: ***
21:52:22 PlexGDM: looking up Plex Media Server
21:52:22 PlexGDM: ***
21:52:23 PlexGDM: servers discovered: 1
21:52:23 XMLConverter: PlexGDM - PMS: 10.0.1.2:32400
21:52:40 DNSServer: DNS request received!
21:52:40 DNSServer: Source: ('10.0.1.3', 52379)
21:52:40 DNSServer: Domain: trailers.apple.com
21:52:40 DNSServer: ***intercept request
21:52:40 DNSServer: -> DNS response: 10.0.1.2
 
Thanks again!

Use the absolute path in the settings.cfg file. For example: User/username/Documents/PlexConnect/assets/certificates/trailers.pem and run the PlexConnect.py as root. It works for me.

Thanks maikburd, another piece of the puzzle. Not the complete solution however, the problem still persists. I still get the message "trailers not available". Suggestions are welcome! Thanks

got the same problem on my synology too..:((

]

I'm am f*cking desperate about this problem! Can someone please give us the FIX for this??

Thanks for your quick answer. I just downloaded the latest PlexConnect version from their website in a .zip file. Created the folder myself. Do you have a link for me where I can learn how to download stuff from Github? Have been looking for it for a while but its not clear to me how it works or what application(s) to use. This is probably a stupid question but thanks for helping me anyways.

When on Baa`s github page on right hand side , you can either download as zip or clone to desktop. You can click on clone to desktop and it will ask you to download needed app which you can download from app store. Then after that go back to Baa s page and clone to desktop , it will copy that folder using app to your comp (just to start over, delete older folders and zips). And in future it will keep in sync with whatever new they add. have app running or run everyday and sync the commits. 

Now after u get the folder. create a certificates folder in assets folder. and copy your certificate that you created earlier there.  Also just see in your settings.cfg these two lines are present -> port_ssl = 443 ; certfile = ./assets/certificates/trailers.pem

and also make sure when copying certificate, copy trailers.pem file into certificates folder which you created in assets folder.

I'm am f*cking desperate about this problem! Can someone please give us the FIX for this??

what steps u have taken so far?

If anyone has failed to try this (because I certainly didn't think of it right away), I would strongly suggest updating your Plex Media Server.  PlexConnect worked fine yesterday, and in reading wtf was wrong with it I saw that the issue was the Trailers app connecting on an https connection instead of an http.  I was having the same problem as the OP, and hunting around for a solution.  A few minutes ago, I noticed that I am not running the newest version of Plex Media Server.  Checking the changelog I saw that in the last few iterations they have added support for https.

EDIT: Sadly it didn't work for me, but perhaps it will for someone else, so I'll leave this here.

Thanks maikburd, another piece of the puzzle. Not the complete solution however, the problem still persists. I still get the message "trailers not available". Suggestions are welcome! Thanks

Can you post your log again.  The last one did not show it trying to create the webserver on port 443 like the latest code should. 

Did you restart plexconnect.py after replacing all the files (A silly question I know)?

I am also having issues with the trailers being unavailable after completely blowing out my PlexConnect setup and going step by step.

Here is my config:

[PlexConnect]
port_pms = 32400
port_webserver = 80
ip_plexconnect = 10.104.51.150
certfile = /trailers.pem  (I put it in the root for ease of use)
ip_dnsmaster = 10.104.51.1
ip_pms = 10.104.51.150
loglevel = Normal
logpath = .
enable_dnsserver = True
enable_plexgdm = False
ip_webserver = 10.104.51.150
prevent_atv_update = True
port_ssl = 443
enable_plexconnect_autodetect = True
 
Here is my log and where it hangs:
 
20:19:25 PlexConnect: started: 20:19:25
20:19:25 PlexConnect: IP_self: 10.104.51.150
20:19:25 DNSServer: started: 20:19:25
20:19:25 DNSServer: ***
20:19:25 DNSServer: Starting up.
20:19:25 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 10.104.51.150
20:19:25 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesu$
20:19:25 DNSServer: forward other to higher level DNS: 10.104.51.1
20:19:25 DNSServer: ***
20:19:25 WebServer: started: 20:19:25
20:19:25 WebServer: ***
20:19:25 WebServer: WebServer: Serving HTTP on 10.104.51.150 port 80.
20:19:25 WebServer: WebServer: Serving HTTPS on 10.104.51.150 port 443.
20:19:25 WebServer: ***
20:19:25 XMLConverter: PlexGDM off - PMS from settings: 10.104.51.150:32400
20:19:35 DNSServer: DNS request received!
20:19:35 DNSServer: Source: ('10.104.51.5', 54362)
20:19:35 DNSServer: Domain: p43-buy.itunes.apple.com.akadns.net
20:19:35 DNSServer: ***forward request
20:19:36 DNSServer: -> DNS response from higher level
20:19:36 DNSServer: DNS request received!
20:19:36 DNSServer: Source: ('10.104.51.5', 59580)
20:19:36 DNSServer: Domain: trailers.apple.com
20:19:36 DNSServer: ***intercept request
20:19:36 DNSServer: -> DNS response: 10.104.51.150
20:19:36 WebServer: serving application.js

can u guys double check and confirm your trailer.pem file is in correct place and path to it is not altered by you and if its altered then make sure path is correct.

can u guys double check and confirm your trailer.pem file is in correct place and path to it is not altered by you and if its altered then make sure path is correct.

Yes, I have done this.

I was having the same trouble. This procedure fixed mine. I removed the profile from aTV. I set the DNS back to automatic and made sure the real trailers app was working normally. I then reinstalled the profile and set the DNS back to manual using your host computers IP. I'm also using the explicit path to the cert which may or may not be necessary but I already had it edited trying to solve the problem so I left it. On the Mac, and in my case only, it's /Users/yourusername/PlexConnect/assets/certificates/trailers.pem Don't forget the starting forward slash. 

If you're on windows its best to place the drive letter in the path as well:

c: railers.pem

I would suggest keeping it in the default as specified in settings.cfg and then only change it if it doesn't work.

There's speculation regarding the use of backslash or slash in windows so try both ways just in case.  And reboot all devices to clear any funkiness in between changes (not necessary in my experience but can't hurt if you're at the end of your rope - you'd be surprised how much this really helps).

Just adding my example. I'd done all the steps (I'm on Mac) but no luck until I restarted the computer with PMS + PlexConnect on it. Still not sure why that made a difference (I'd already restarted PlexConnect multiple times unsuccessfully), but it did!

What version of the AppleTV OS are you all running? 

 http://www.iphonehacks.com/2013/08/apple-tv-update-breaks-plexconnect-hack.html

When on Baa`s github page on right hand side , you can either download as zip or clone to desktop. You can click on clone to desktop and it will ask you to download needed app which you can download from app store. Then after that go back to Baa s page and clone to desktop , it will copy that folder using app to your comp (just to start over, delete older folders and zips). And in future it will keep in sync with whatever new they add. have app running or run everyday and sync the commits. 

Now after u get the folder. create a certificates folder in assets folder. and copy your certificate that you created earlier there.  Also just see in your settings.cfg these two lines are present -> port_ssl = 443 ; certfile = ./assets/certificates/trailers.pem

and also make sure when copying certificate, copy trailers.pem file into certificates folder which you created in assets folder.

Thanks xp03zd! Got that up and running now.

If anyone has failed to try this (because I certainly didn't think of it right away), I would strongly suggest updating your Plex Media Server.  PlexConnect worked fine yesterday, and in reading wtf was wrong with it I saw that the issue was the Trailers app connecting on an https connection instead of an http.  I was having the same problem as the OP, and hunting around for a solution.  A few minutes ago, I noticed that I am not running the newest version of Plex Media Server.  Checking the changelog I saw that in the last few iterations they have added support for https.

EDIT: Sadly it didn't work for me, but perhaps it will for someone else, so I'll leave this here.

Just dit the update, another piece of the puzzle. Still get the "Trailers not available"...

Can you post your log again.  The last one did not show it trying to create the webserver on port 443 like the latest code should. 

Did you restart plexconnect.py after replacing all the files (A silly question I know)?

Did restart plexconnect after replacing the files. Posted a new log below. Thanks!

can u guys double check and confirm your trailer.pem file is in correct place and path to it is not altered by you and if its altered then make sure path is correct.

File is in the correct place and path is correct. Thank you.

What version of the AppleTV OS are you all running? 

 http://www.iphonehacks.com/2013/08/apple-tv-update-breaks-plexconnect-hack.html

Running version 5.3 (6105). I am aware of the issue in your link, but these steps http://langui.sh/201...sl-plexconnect/ should make it work correctly again, even on the latest update.

Here is the latest log:

09:09:15 PlexConnect: ***
09:09:15 PlexConnect: PlexConnect
09:09:15 PlexConnect: Press CTRL-C to shut down.
09:09:15 PlexConnect: ***
09:09:15 PlexConnect: started: 09:09:15
09:09:15 PlexConnect: IP_self: 10.0.1.2
09:09:15 DNSServer: started: 09:09:15
09:09:15 DNSServer: ***
09:09:15 DNSServer: Starting up.
09:09:15 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 10.0.1.2
09:09:15 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
09:09:15 DNSServer: forward other to higher level DNS: 8.8.8.8
09:09:15 DNSServer: ***
09:09:15 WebServer: started: 09:09:15
09:09:16 WebServer: ***
09:09:16 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
09:09:16 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
09:09:16 WebServer: ***
09:09:16 PlexGDM: ***
09:09:16 PlexGDM: looking up Plex Media Server
09:09:16 PlexGDM: ***
09:09:17 PlexGDM: servers discovered: 1
09:09:17 XMLConverter: PlexGDM - PMS: 10.0.1.2:32400
09:09:58 DNSServer: DNS request received!
09:09:58 DNSServer: Source: ('10.0.1.3', 57054)
09:09:58 DNSServer: Domain: ax.init.itunes.apple.com
09:09:58 DNSServer: ***forward request
09:09:58 DNSServer: -> DNS response from higher level
09:09:59 DNSServer: DNS request received!
09:09:59 DNSServer: Source: ('10.0.1.3', 59416)
09:09:59 DNSServer: Domain: itunes.apple.com
09:09:59 DNSServer: ***forward request
09:09:59 DNSServer: -> DNS response from higher level
09:10:12 DNSServer: DNS request received!
09:10:12 DNSServer: Source: ('10.0.1.3', 54407)
09:10:12 DNSServer: Domain: trailers.apple.com
09:10:12 DNSServer: ***intercept request
09:10:12 DNSServer: -> DNS response: 10.0.1.2
09:10:12 WebServer: serving application.js
09:10:22 WebServer: serving application.js