# So close ... another Trailers is unavailable ....

**URL:** <https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628>\
**Category:** Apps & Creations\
**Created:** [January 11, 2014, 1:15am UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628 "2014-01-11T01:15:03Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kteach](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kteach/32/82680_2.png) [@Kteach](https://forums.plex.tv/u/Kteach)\
**Post date:** [January 11, 2014, 1:15am UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/1 "2014-01-11T01:15:03Z")

</div>

I have a plex media server installed on a linux box that works to lots of clients. I have an ATV 3 the seems to be good, and a Windows 7 client running plexconnect. I thought I followed all the install guides properly and it does pass through DNS requests when doing various activities now on my ATV. However, when I try to hit Trailers I get the dreaded "Trailers is unavailable. Try again Later". On the console it just says "intercept request" and goes nowhere. Here is all the detail, I hope someone can help. Thanks.

&nbsp;

ATV model and firmware version: ATV3 and 6.0.2 (6646.81.1)&nbsp;

The DNS server set on the ATV : 192.168.28.31

The local IP of PlexConnect is installed on: 192.168.28.31

The device and OS PlexConnect is installed on: Computer running Windows 7 x64 Pro

The device and OS Plex media server is installed on: Computer running Fedora 19

The Plex media server version: 0.9.8.14

The local IP of Plex media server is installed on: 192.168.28.10

The PlexConnect version number: 0.3.1+

The contents of your 'Settings.cfg' file:&nbsp;

&nbsp;

[PlexConnect]

port\_pms = 32400

port\_webserver = 80

ip\_plexconnect = 192.168.28.31

certfile = ./assets/certificates/trailers.pem

ip\_dnsmaster = 8.8.8.8

loglevel = High

enable\_dnsserver = True

logpath = .

ip\_pms = 192.168.28.10

enable\_plexgdm = False

hosttointercept = trailers.apple.com

port\_ssl = 443

enable\_webserver\_ssl = True

prevent\_atv\_update = True

port\_dnsserver = 53

enable\_plexconnect\_autodetect = False

&nbsp;

I have attached my log file. Any tips? Thanks.

---

<div class="post-metadata">

**Author:** ![drewbie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/drewbie/32/6262_2.png) [@drewbie](https://forums.plex.tv/u/drewbie)\
**Post date:** [January 11, 2014, 1:36am UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/2 "2014-01-11T01:36:53Z")

</div>

Is that log node you restarted plex connect with log level = High?  
  
  
Given the rest of plexconnect is working it sounds like it might be an issue with the certificate on the ATV.   
  
  
Did you download the right version if OpenSSL for your windows machine?  
  
  
Did the profile save correctly onto the ATV?

---

<div class="post-metadata">

**Author:** ![Kteach](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kteach/32/82680_2.png) [@Kteach](https://forums.plex.tv/u/Kteach)\
**Post date:** [January 11, 2014, 2:19am UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/3 "2014-01-11T02:19:17Z")

</div>

That could be it. I installed this&nbsp;[Win32 OpenSSL v1.0.1f Light](http://slproweb.com/download/Win32OpenSSL_Light-1_0_1f.exe)&nbsp;and now I see that the site offers&nbsp;[Win64 OpenSSL v1.0.1f Light](http://slproweb.com/download/Win64OpenSSL_Light-1_0_1f.exe)&nbsp;My windows client running plexconnect is a Windows 7 x64 Pro client so perhaps it needs the Win64 software. I will uninstall and try again. The directions I was following the profile install can be found here:

[https://github.com/iBaa/PlexConnect/wiki/Install-Guide-AppleTV-Ethernet](https://github.com/iBaa/PlexConnect/wiki/Install-Guide-AppleTV-Ethernet)

I did exactly what was asked and I thought it worked. I will report back if anything changes when I try the Win64 OpenSSL software.

---

<div class="post-metadata">

**Author:** ![Kteach](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kteach/32/82680_2.png) [@Kteach](https://forums.plex.tv/u/Kteach)\
**Post date:** [January 11, 2014, 2:56am UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/4 "2014-01-11T02:56:01Z")

</div>

So that did not help. I installed the Win64 version then ran these codes to create the certificates:

Create a Certificate

C:\OpenSSL-Win64\bin\openssl.exe req -new -nodes -newkey rsa:2048 -out C: railers.pem -keyout C: railers.key -x509 -days 7300 -subj "/C=US/CN=trailers.apple.com" -config C:\OpenSSL-Win64\bin\openssl.cfg

Next I ran this

C:\OpenSSL-Win64\bin\openssl.exe x509 -in C: railers.pem -outform der -out C: railers.cer

Finally I ran this

type C: railers.key \>\> C: railers.pem

You can see I simply edited to reflect the Win64 version. All codes ran fine and created the necessary files. I copied them and placed them in the correct directories. I then ran Plexconnect.py again and installed the certificate using the "Ethernet" method and profile creation specified here [https://github.com/iBaa/PlexConnect/wiki/Install-Guide-AppleTV-Ethernet](https://github.com/iBaa/PlexConnect/wiki/Install-Guide-AppleTV-Ethernet). I still have the same problem. I have included the log again. This one seems to have a little more detail. Odd since I specified loglevel = High for a while.

Any other thoughts?

---

<div class="post-metadata">

**Author:** ![drewbie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/drewbie/32/6262_2.png) [@drewbie](https://forums.plex.tv/u/drewbie)\
**Post date:** [January 11, 2014, 2:59am UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/5 "2014-01-11T02:59:01Z")

</div>

Dont see the updated log.

---

<div class="post-metadata">

**Author:** ![Kteach](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kteach/32/82680_2.png) [@Kteach](https://forums.plex.tv/u/Kteach)\
**Post date:** [January 11, 2014, 3:02am UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/6 "2014-01-11T03:02:30Z")

</div>

Sorry. I just edited and attached. I thought I had added it.

---

<div class="post-metadata">

**Author:** ![drewbie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/drewbie/32/6262_2.png) [@drewbie](https://forums.plex.tv/u/drewbie)\
**Post date:** [January 11, 2014, 5:24am UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/7 "2014-01-11T05:24:05Z")

</div>

Noithign specific is jumping out at me, so I wonder if the Profile has not added successfully?

If you go into the Add Profile section on the ATV do you see the profile? (I added mine using the old USB method so not sure if it shows details of not for the Network version).

when adding it via the network way you are tying "[http://IP\_Address/trailers.cer](https://forums.plex.tv/trailers.cer)" (without the quotes)?

I am leaning towards a certificate issue because there is nothing in the log trying to actually connect to Plex as of yet.

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [January 11, 2014, 9:34am UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/8 "2014-01-11T09:34:44Z")

</div>

Did you delete the old cert profile from the ATV before loading the new one, if you did not it will likely not work.

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [January 11, 2014, 12:00pm UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/9 "2014-01-11T12:00:58Z")

</div>

...there seems to be an issue with \*some\* instances of Python on Windows, where the concatenated certfile path doesn't fully work out. Strange thing is, it works fine for the python based testing algorithm, as well as for serving the file to aTV.  
But somehow it seems to fail with the actual configuration in the Socket server... maybe, because it is calling C background functions?

I implemented some quick cleaning of the path string... if described was your issue, the latest changes might help. Grab the latest from github and give it a try!

---

<div class="post-metadata">

**Author:** ![Kteach](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kteach/32/82680_2.png) [@Kteach](https://forums.plex.tv/u/Kteach)\
**Post date:** [January 11, 2014, 4:48pm UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/10 "2014-01-11T16:48:29Z")

</div>

I will try the latest from github. Drewbie I was not trying "[http://IP\_Address/trailers.cer](https://forums.plex.tv/trailers.cer "External link")". Rather I was putting in&nbsp;"[http://trailers.apple.com/trailers.cer](http://trailers.apple.com/trailers.cer)" as instructed in the ApplyTV Ethernet guide. In the Profile area of my ATV it says.

Status: trailers.apple.com

received: 01/10/14

payload: certificate

It seems like it loaded properly.

f00b4r, I did delete the old profile before loading in the new profile. Likewise, I deleted all traces of the old certificate and Win32\_OpenSSL before installing Win64\_OpenSSL and generating a new certificate.&nbsp;

---

<div class="post-metadata">

**Author:** ![Kteach](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kteach/32/82680_2.png) [@Kteach](https://forums.plex.tv/u/Kteach)\
**Post date:** [January 11, 2014, 5:25pm UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/11 "2014-01-11T17:25:05Z")

</div>

Unfortunately Baa, that did not seem to do anything. I feel like I'm so close. Clearly my ATV is using the Plexconnect machine for DNS. It is successful in reaching it, and it responds for all requests. Then, when the Plexconnect machine receives the call for trailers.apple.com it knows to intercept and I imagine redirect to my Plex box with the cert that says "I'm trailers.apple.com", but it just appears to stop. Any other ideas to try?

I have included my log again from this morning's try.

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [January 11, 2014, 5:40pm UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/12 "2014-01-11T17:40:15Z")

</div>

...just because I have seen issues with it in the past:

- What's the path/directory you have PlexConnect living in?

- Edit Settings.cfg and modify the "certfile =" to the absolute path, in Win style - "like C:\Programs\...\PlexConnect\assets\..."

---

<div class="post-metadata">

**Author:** ![Kteach](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kteach/32/82680_2.png) [@Kteach](https://forums.plex.tv/u/Kteach)\
**Post date:** [January 11, 2014, 6:14pm UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/13 "2014-01-11T18:14:23Z")

</div>

I have PlexConnect living at the root of my C: drive. So I edited the Settings.cfg file to read an absolute path. I then removed the profile from the ATV. I added a profile, this time using&nbsp;[http://192.168.28.31/trailers.cer](http://trailers.apple.com/trailers.cer)&nbsp;time is the local IP of the computer running PlexConnect. Apple ATV accepted this, but automatically renamed the profile "trailers.apple.com". I see that as a positive thing. It also clearly shows the received day as today so again, it looks like it is receiving a certificate properly.

I then ran PlexConnect and tested various apps on the ATV, like Netflix. All good and the DNS requests show up in the CMD window on the machine running PlexConnect. Then tried Trailers and same response. Nothing.

This is how I specified the absolute path in Settings.cfg:

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

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [January 11, 2014, 7:02pm UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/14 "2014-01-11T19:02:24Z")

</div>

Do you have another computer in the LAN?

What do you get when browsing to&nbsp;192.168.28.31:80 and&nbsp;192.168.28.31:443?

I don't know what it is with that Microsoft stuff...

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [January 12, 2014, 11:23am UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/15 "2014-01-12T11:23:10Z")

</div>

Oh. This is stupid. The changes to solve your issue were not yet synced to github.

I will push it now... any chance for another try (with fresh data from github)?

---

<div class="post-metadata">

**Author:** ![Kteach](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kteach/32/82680_2.png) [@Kteach](https://forums.plex.tv/u/Kteach)\
**Post date:** [January 13, 2014, 12:28am UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/16 "2014-01-13T00:28:48Z")

</div>

Yes! Yes! That worked. The change you made worked for me. So to recap, I have a Linux (Fedora 19) box running Plex (0.9.8.14). I also have a Windows 7 x 64 machine running PlexConnect (0.3.1) and I can stream media wonderfully to my ATV3 (iOS 6.0.2 (6646.81.1)).

&nbsp;

I only watched 5 minutes, but the show looked clear and smooth on my TV. Thanks so much, this is amazing!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 21, 2019, 12:59am UTC](https://forums.plex.tv/t/so-close-another-trailers-is-unavailable/53628/17 "2019-12-21T00:59:54Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
