Plex Logo

Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update

Update: PlexConnect on Windows: How To Hijack iMovie Theatre Or WSJ Instead Of Trailers App
Update: PlexConnect Running On Apple TV 6.2 Update
Update: OpenPlex App Installs And Manages PlexConnect on Mac OS X
Update: PlexConnect Running on Apple TV 7.0 Beta 1 And Mac OS X 10.10 Yosemite
Update: PlexConnect Running On Apple TV 6.1.1 Update
Update: Plex On Apple TV Without PlexConnect Or Jailbreak via AirPlay
Update: PlexConnect Running On Apple TV 6.1 Update
Update:  PlexConnect Running On Apple TV 6.0 Update

Plex LogoI’ve already reported about that PlexConnect still works on Apple TV Software 6.0 Beta (5.4 Seed 3, iOS 7) after the silent update from August, 27, 2013 and how to fix PlexConnect to get it running again on Apple TV 2 or Apple TV 3. However, getting PlexConnect installed on a Windows system like windows 7, 8 or 8.1 is a little bit tricky. Although Paul Kehrer published immediately a tweak to get PlexConnect working again on Apple TV 2 and 3, a lot of people are reporting about installation is failing, especially on Windows systems. The most common problem there is to get the certificate or profile correctly installed on the Apple TV. In the following I give you a simple step-by-step guide to get PlexConnect running again on Windows 7, 8 and 8.1. For installing PlexConnect on Mac OS X follow the fix described on the post ‘PlexConnect still works on Apple TV Software 6.0 Beta (5.4 Seed 3, iOS 7) after the silent update‘.

I conducted the installation on my Acer Aspire 1810T (64-bit) running on Windows 8.1 with Windows 8 Media Center installed. This fix should work for Windows 7 and 8 as well.

Step 1: Prepare your Windows system!

  • Download and install the latest Python version 2.7.6 (“Python 2.7.6 Windows Installer”) for your windows system (Do not install in any case versions 3.X nor “Python 2.7.6 Windows X86-64 Installer”!).
  • Download and install Win32 OpenSSL Win32 v1.0.2d (Nor the light version, neither Win64 version!). If Microsoft Visual C++ 2008 Redistributable Package (x64) is missing for installing OpenSSL, then download it from here. You need to install the version dated 11/29/2007!
  • Download and install iPhone Configuration Utility.
  • Download and extract the Plex Media Server, version 0.9.8.6.175.
  • First, delete all previous files of older PlexConnect versions from your Windows PC. Then download and extract the latest PlexConnect ZIP-file from Github (Do not download from PlexConnect.org!) to the folder C:\PlexConnect (create the folder, if it doesn’t exist).
  • Create the folder C:\Cert on your Windows root directory. Download the batch file ‘cert.create.bat‘ and copy the file into C:\Cert

    cert.create.bat 

    ATV Cert Create trailer.der
    ATV Cert Create trailer.der
    cert.create.bat
    Version: 1.0
    358.0 B
    4303 Downloads
    Details

  • Note: Some people face problems with ‘trailers.der‘. They got the error message ‘ValueError: unknown url type: /trailers.der‘ instead. In this case use the alternate file ‘cert.create-2.bat‘ which creates a ‘trailer.cer‘ file instead of a ‘trailers.der‘ file (Kudos to commentator Mark!). If you downloaded ‘cert.create-2.bat‘, you should change the command in step 2 to ‘cert.create-2‘: 

    cert.create-2.bat 

    ATV Cert Create trailers.cer
    ATV Cert Create trailers.cer
    cert.create-2.bat
    Version: 1.0
    358.0 B
    2053 Downloads
    Details

Step 2: Getting started to create the profile for Apple TV!

  • Open the windows Explorer and navigate to C:\Cert, left click on the screen below the name of cert.create.bat, so that no files are highlighted!
  • Press the shift key and right click on the screen. You will see the following Windows open:
Source: miApple.me

Source: miApple.me

 

  • Now click on ‘Open Command Window Here‘ and the command prompt will open and start at the folder C:\Cert.
  • Run the cert.create.bat (alternate retype all the commands in the cert.create.txt file). The folder C:\Cert should now contain 5 files: .rnd, cert.create.bat, trailers.der, trailers.key and trailers.pem. And a window ‘Certificate‘ opens automatically:
Source: miApple.me

Source: miApple.me

 

  • Click on the button ‘Install Certificate…‘, then click twice on ‘Next’ and at the ending on ‘Finish’. you should get the message ‘The import was successful‘.
  • Close the command prompt window and click on the ‘Certificate‘ the ‘OK‘ button now!
  • Go to C:\Cert select and copy the files .rnd, trailers.der, trailers.key and trailers.pem, navigate to C:\PlexConnect where you have extracted the PlexConnect ZIP-file on your Windows PC.
  • Go to the folder C:\PlexConnect\assets and create a subfolder named ‘certificates‘.
  • Go to the newly created folder C:\PlexConnect\assets\certificates and paste the copy of the files .rnd, trailers.der, trailers.key and trailers.pem.

Step 3: Installing the Certificate Profile on your Apple TV

Update: A more convenient way: PlexConnect: Installling Certificates On Apple TV Without USB

  • Start the iPhone Configuration Utility. You should find the iPCU.exe file there: C:Program Files (x86)\iPhone Configuration Utility and click on ‘Configuration Profiles‘. Then click on ‘New+‘.
  • Give it a Name and Identifier (I suggest one word without any special characters).
Source: miApple.me

Source: miApple.me

 

  • Scroll down and click on ‘Credentials‘, click on ‘Configure‘ and scroll down to find the certificate you just created and installed. It is named ‘trailers.apple.com‘. Click on it and then click ‘OK‘:
Source: miApple.me

Source: miApple.me

 

  • Now plug in your Apple TV 2 or 3 to a power source, wait till the light stops flashing and then connect it to the Windows PC via a micro USB cable. Wait till your Apple TV is recognized by your PC and the iPhone Configuration Utility program.
  • Click on your device and then the Configuration Profiles tab.
  • Click the install button. Wait till this button will have changed from ‘Install‘ to ‘Remove‘!
Source: miApple.me

Source: miApple.me

 

  • Close the iPhone Configuration Utility and disconnect the Apple TV from the computer and connect the Apple TV to your TV.
  • Change the DNS of your Apple TV to the IP-address of your Windows PC on which is Plex Media Server is running, following the part ‘Configuring your ATV’ of guide on github.

Step 4: Finish!

  • Restart PlexConnect.py from C:\PlexConnect.
  • Go to your Apple TV and try the Trailers it should be working now. you should see the following:
Source: miApple.me

Source: miApple.me

 

Note: Normally, you should not need to make any changes in the settings.cfg file of PlexConnect. I used the unchanged PlexConnect files!

If you followed this installation guide step-by-step PlexConnect on your Windows 7, 8 or 8.1 PC should be fixed after the silent Apple TV update and should now work again on your Apple TV 2 or Apple TV 3! Does it? Let us know and comment! Does it not? Let me know and I try to help you!

Stay tuned! 😉

About 

Hi there,

my name is Gee Are and I’m the founder and owner of this blog called miApple.me.

miApple.me - Blogger and Online-Journalist. Applemaniac - Keen On Apple Products! Technomaniac - Your Problem Solver For Microsoft And Apple Related Issues!

Grown up with a Commodore C64 and Basic in the 80's. More than twenty years of experience with Windows PCs. Since 2011 keen on Apple and Apple products.

I post about my personal Microsoft and Apple products and problems on miApple.me. I provide solutions to problems people are faced with.

    Find more about me on:
  • facebook
  • flickr
  • googleplus
  • linkedin
  • pinterest
  • skype
  • twitter
  • youtube
193 replies
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Paul,

      test it. But meanwhile I think that there’s something, in general, wrong with your permissions on your Windows PC. Do you have Windows 8 running? Do you have administrator rights?

      Cheers,
      Gee Are

      Reply
  1. marjo
    marjo says:

    super !!
    fonctionne pour moi alors que la première version n’avait même pas fonctionné (ou peut-être qu’Apple était passé par là avant…).
    en tout cas, maintenant j’ai accès à tous mes médias.
    super !!!
    enfin mon apple tv 3 va me servir ! car il faut avouer que sans ça, je n’en vois pas trop l’intérêt…

    Reply
    • Lex
      Lex says:

      Bonsoir, sa fais une semaine que je test plein de truc chaque soir, sur mon apple TV 3 en 6.0.2.
      Je sais que y’a de gens que sa fonctionne sous 6.0.2 donc le problème il est ou :S
      Svp si une personne aimerais ce faire 5 Euro (10$ Canadien) Via paypal, Pour me trouver le problème via TeamViewer ou autres. Contactez moi sur alex.bergeron94@icloud.com merci,

      Reply
  2. Bubakhon
    Bubakhon says:

    Thanks for the detailed instruction… everything went very smooth, no error or anything, however ATV3 says “trailers not available, try later”?

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Bubakhon,

      there must be something wrong if you got this error message. I can only recommend to start to process from the very beginning. Did you use the batch file for producing the cert files? This is the most common failure.

      Cheers,
      Gee Are

      Reply
  3. Bubakhon
    Bubakhon says:

    Hi Gee Are,
    Thanks for your prompt response. yes I did use the batch file to create the cert file. following is what I get when I run PlexConnect::

    13:01:11 PlexConnect: started: 13:01:11
    13:01:11 PlexConnect: IP_self: 192.168.1.5
    13:01:12 DNSServer: started: 13:01:12
    13:01:12 DNSServer: ***
    13:01:12 DNSServer: DNSServer: Serving DNS on 192.168.1.5 port 53.
    13:01:12 DNSServer: intercept: [‘trailers.apple.com’, ‘atv.plexconnect’] => 192.168.1.5
    13:01:12 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld.apple.com.edgesuite.net’] => 127.0.0.1
    13:01:12 DNSServer: forward other to higher level DNS: 192.168.1.1
    13:01:12 DNSServer: ***
    13:01:12 WebServer: started: 13:01:12
    13:01:12 WebServer: ***
    13:01:12 WebServer: WebServer: Serving HTTP on 192.168.1.5 port 80.
    13:01:12 WebServer: ***
    13:01:12 PlexGDM: ***
    13:01:12 PlexGDM: looking up Plex Media Server
    13:01:12 PlexGDM: ***
    13:01:12 WebServer: started: 13:01:12
    13:01:12 WebServer: ***
    13:01:12 WebServer: WebServer: Serving HTTPS on 192.168.1.5 port 443.
    13:01:12 WebServer: ***
    13:01:13 PlexGDM: servers discovered: 1
    13:01:13 XMLConverter: PlexGDM – PMS: 192.168.1.5:32400
    13:01:20 DNSServer: DNS request received!
    13:01:20 DNSServer: Source: (‘192.168.1.7’, 63011)
    13:01:20 DNSServer: Domain: init.itunes.apple.com
    13:01:20 DNSServer: ***forward request
    13:01:20 DNSServer: -> DNS response from higher level
    13:01:20 DNSServer: DNS request received!
    13:01:20 DNSServer: Source: (‘192.168.1.7’, 60778)
    13:01:20 DNSServer: Domain: xp.apple.com
    13:01:20 DNSServer: ***forward request
    13:01:21 DNSServer: -> DNS response from higher level
    13:01:21 DNSServer: DNS request received!
    13:01:21 DNSServer: Source: (‘192.168.1.7’, 53274)
    13:01:21 DNSServer: Domain: itunes.apple.com
    13:01:21 DNSServer: ***forward request
    13:01:21 DNSServer: -> DNS response from higher level
    13:04:43 DNSServer: DNS request received!
    13:04:43 DNSServer: Source: (‘192.168.1.7’, 56489)
    13:04:43 DNSServer: Domain: trailers.apple.com
    13:04:43 DNSServer: ***intercept request
    13:04:43 DNSServer: -> DNS response: 192.168.1.5

    Also, in my ATV, I have change the DNS to 192.168.1.5 from “192.168.1.1” . Also, following is my batch file content:
    C:\OpenSSL-Win32\bin\openssl.exe req -new -nodes -newkey rsa:2048 -out C:.\trailers.pem -keyout C:.\trailers.key -x509 -days 7300 -subj “/C=US/CN=trailers.apple.com” -config C:\OpenSSL-Win32\bin\openssl.cfg

    C:\OpenSSL-Win32\bin\openssl.exe x509 -in C:.\trailers.pem -outform der -out C:.\trailers.der

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

    trailers.der

    I greatly appreciate any help on this.

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Bubakhon,

      at the first time, I got the same output: Your certificate is either not properly installed or located at the wrong place on your PC. Repeat the part of creating and installing the certificate (delete all of the previous cert files from your PC before). Further more, you need to use exactly the software versions mentioned in step 1!

      Cheers,
      Gee Are

      Reply
      • Doug Shatto
        Doug Shatto says:

        Gee Are,

        I tried to get the OpenSSL file and Visual C++ files you mention but they’re no longer available. Is there another source that I can get them from? The reason I ask is I’m getting the “trailers not available” error. Thanks for your help.

        Reply
  4. Bubakhon
    Bubakhon says:

    Hi, thanks again for a quick response….
    I went back & deleted everything and started all over….same result :-(
    My path to trailers.pem is “C:\PlexConnect\assets\certificates\”

    is it possible my port 80 being used by other prgm? if yes, how can I change it?

    Thx,
    Bubakhon

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Bubakhon.

      all created files in c:\cert must remain there, meaning you should copy the trailers.pem to C:\PlexConnect\assets\certificates\ and not move it!

      Regarding the ports, port 443 is important, too. Have a look into your router settings, there must be something like ‘port forwarding’ in connection with the different IP adresses your devices are using. Check in your router if there are devices using the ports 80 and 443. what kind of router are you using?

      However, I think it is a certificate issue.

      Cheers,
      Gee Are

      Reply
  5. Bubakhon
    Bubakhon says:

    I have the “frontier” router…
    Actually, I went ahead and reset my router to factory setting…
    checked port forwarding, don’t see port 80 or 443 being used by any application

    What could be wrong with my certificate? By the way, when I unziped the PlexConnect, the certificate directory was already there and there is file name “certificates” already there which is a text file. Do I need to do anything with this?

    very frustrating now,

    Regards,
    -Bubakhon

    Reply
  6. bubakhon
    bubakhon says:

    Hi Gee Are,

    You were correct, fixed the certificate path and it’s all up and running. Thanks for all your help.

    I was able to add Channels , created a Movie & TV shows section in my library however I don’t know how to add contents to theses sections from the web/internet. Any idea?

    Regards,
    -Abe

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Bubakhon,

      that’s great! Sorry for not reaching miApple.me, but my hoster alfahosting.de got massive problems. My blog couldn’t be reached for 14,5 hours! However, miApple.me is back again!

      Regarding your question to add content from the web, go to My Plex (https://my.plexapp.com/queue/help) and add the bookmark ‚Plex it’ to your browser. Then go to the website where the content is you want to add and click on the bookmark ‘Plex it’. The content should now be added to your ‘My Plex’.

      Cheers,
      Gee Are

      Reply
    • Angelo
      Angelo says:

      Hi bubakon,

      Could you tell me what path did you finally use for the certificate? I have this feeling that I could have the same troubles you had.

      Greetings,

      Angelo

      Reply
    • Dave
      Dave says:

      Can’t download the bat files. Why does it keep asking for a user name and password. If I need to join something to get the downloads how do I do that or where does the download files exist.

      Reply
  7. bubakhon
    bubakhon says:

    Hi Gee Are,

    Glad to see miApple.me is back, this is a very ressourceful site…keep up the good work !

    After “plex’ing” it and adding it to “my plex”, how do I view on my TV? Where do they show up on plex lib?

    Regards.
    Bubakhon

    Reply
  8. Sanjay
    Sanjay says:

    Hi

    I followed all instruction but unable to install profile on apple tv 3. in iPhone configuration utility install button is appearing but when I click it remain same. I waited long to convert in remove sign but nothing happen….please advice

    Sanjay

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Sanjay,

      there are two common reasons for not getting profiles installed on an Apple TV
      – using a ‘wrong’ micro-USB cable, e.g. I’ve got one which doesn’t work, using another cable worked (I don’t know why the one works and the other not, you have to try it)
      – if you previously tried to get PlexConnect running on your Apple TV before and you changed the DNS to ‘manual’ you should which back to ‘automatic’ and after that try installing the profile again.

      Cheers,
      Gee Are

      Reply
  9. Sanjay
    Sanjay says:

    following error shown in console log
    causing not installing profile on apple tv
    :25 Apple-TV AppleTV[16] : T:[Main] BRSystemLog : Failed to setup time: Error Domain=com.apple.time Code=1 “Error from timed” UserInfo=0x4a7470 {NSLocalizedDescription=Error from timed}
    Jan 1 05:30:28 Apple-TV mc_mobile_tunnel[67] : (Note ) MC: mc_mobile_tunnel starting.
    Jan 1 05:30:28 Apple-TV mc_mobile_tunnel[67] : (Note ) MC: mc_mobile_tunnel shutting down.
    Jan 1 05:30:30 Apple-TV softwareupdated[34] : 3ede3d98 : Cleaning up unused prepared updates
    Jan 1 05:30:31 Apple-TV timed[29] : (Error) CoreTime: Can’t set time zone to nil!
    Jan 1 05:30:34 Apple-TV mc_mobile_tunnel[68] : (Note ) MC: mc_mobile_tunnel starting.
    Jan 1 05:30:34 Apple-TV profiled[21] : (Note ) MC: Profile -a-p-p-l-e-t-v-f-i-a-x -q-u-e-u-e-d -f-o-r -i-n-s-t-a-l-l-a-t-i-o-n-.
    Jan 1 05:30:34 Apple-TV mc_mobile_tunnel[68] : (Note ) MC: mc_mobile_tunnel shutting down.
    Jan 1 05:31:03 Apple-TV wifid[27] : WiFi:[-978307136.422117]: Client apsd set type to background application
    Jan 1 05:31:03 Apple-TV wifid[27] : WiFi:[-978307136.419230]: Enable WoW requested by “apsd”
    Jan 1 05:31:25 Apple-TV mc_mobile_tunnel[71] : (Note ) MC: mc_mobile_tunnel starting.
    Jan 1 05:31:25 Apple-TV profiled[21] : (Note ) MC: Profile -a-p-p-l-e-t-v-f-i-a-x -q-u-e-u-e-d -f-o-r -i-n-s-t-a-l-l-a-t-i-o-n-.
    Jan 1 05:31:25 Apple-TV mc_mobile_tunnel[71] : (Note ) MC: mc_mobile_tunnel shutting down.
    Jan 1 05:31:27 Apple-TV mc_mobile_tunnel[72] : (Note ) MC: mc_mobile_tunnel starting.
    Jan 1 05:31:27 Apple-TV profiled[21] : (Note ) MC: Profile -c-o-m-.-a-p-p-l-e-t-v-f-i-x -q-u-e-u-e-d -f-o-r -i-n-s-t-a-l-l-a-t-i-o-n-.
    Jan 1 05:31:27 Apple-TV mc_mobile_tunnel[72] : (Note ) MC: mc_mobile_tunnel shutting down.

    Reply
  10. Leonardo Marques
    Leonardo Marques says:

    It works! Thanks a lot, Gee!
    Just one question: Should I run PlexConnect.py every time I want connect apple TV to Plex?
    Thanks in advance.
    Leo

    Reply
  11. Adam
    Adam says:

    When I get to the part where I have to enter this command:

    “type C:.\trailers.key >> C:.\trailers.pem”

    I get an error that reads that .key isn’t recognized. What do I do to fix this?

    P.S. I’m doing this on a Win7 machine.

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Adam,

      it seems that there is something wrong with your OpenSSL installation. Please, check that OpenSSL is in the root directory and you didn’t change anything (folder names, etc…). Did you install the right version as I mentioned? Deinstall and reinstall OpenSSL and try again.

      Cheers,
      Gee Are

      Reply
  12. Angelo
    Angelo says:

    Hi Gee Are,

    I’m pretty sure I have done everything you explain. But my aTV3 keeps sending me this message when I try to open Trailers: “Trailers not available. Try later.”

    When I run PlexConnect python file, I get this :

    PlexConnect : ***
    PlexConnect : PlexConnect
    PlexConnect : Press ENTER to shut down.
    PlexConnect : ***
    PlexConnect : IP_self: 192.168.1.2
    PlexGDM : ***
    PlexGDM : looking up Plex Media Server
    PlexGDM : ***
    PlexGDM : servers discovered: 1
    DNSServer : ***
    DNSServer : Starting up.
    DNSServer : intercept trailers.apple.com: 192.168.1.2
    DNSServer : forward other to higher level DNS: 8.8.8.8
    DNSServer : ***
    WebServer : ***
    WebServer : WebServer: Serving HTTP on 0.0.0.0 port 80.
    WebServer : ***

    And when I try to access to Trailers I get this message on the python:

    DNSServer : DNS request received!
    DNSServer : Source: (‘192.168.1.33’, 55637)
    DNSServer : Domain: trailers.apple.com
    DNSServer : ***intercept request
    DNSServer : -> DNS response: 192.168.1.2

    And after a while i get:

    DNSServer : DNS request received!
    DNSServer : Source: (‘192.168.1.33’, 49921)
    DNSServer : Domain: iphonesubmissions.apple.com
    DNSServer : ***forward request
    DNSServer : -> DNS response from higher level

    The file “trailers.pem” is located at C:\PlexConnect\assets\certificates

    The files “cert.create.bat” “.rnd” “trailers.der” “trailers.key” “trailers.pem” are located at C:\Cert

    I hope you can detect what is wrong here. By the way I’m using Windows 8 pro with media center and I have the firewall deactivated (just for now, to make sure that isn´t interfering).

    Thank you very much for taking the time to help people like me that clearly doesn’t do very well at these kind of things hahah.

    Reply
  13. Angelo
    Angelo says:

    More info:

    Python version: 2.7.5
    Plex Media Center version: 0.9.8.10.215
    Open SSL version: Win32 v1.0.1e
    iPhone Configuration Utility version: 3.6.2

    I downloaded the certificate and the PlexConnect files from the links that you give.

    Thanks!

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Angelo,

      in most cases for problems with PlexConnect the source of that is the certificate. Hence, check the certificate on your Apple TV. Connect it via micro-USB cable ro your Windows PC (wait till the light of the Apple TV stops blinking and start the iPhone configuration utility and look for the certificate. You should have a ‘remove’ in the line of the certificate. If not, there should be ‘install’ (click on it).

      But before this, reboot your PC and unplug the Apple TV from power supply and try again: First start Plex on your PC, then start PlexConnect and after that restart your Apple TV.

      Cheers,
      Gee Are

      Reply
      • Angelo
        Angelo says:

        Did everything as you told me, but still not functioning. There are some things that grab my attention I would like to ask:

        1) When I executed the setup for Open SSL it told me that it will not function properly without Microsoft Visual C++ 2008 redistributable (even when I have installed it). Is this generating a problem? Cause I have the impression that, despite of the message, my Open SSL is working whithout any trouble, as I could follow every step you described.

        2) The first time I ran PlexConnect python file it generated a bunch of compiled python files with the same names of the python files on the folder. So now, what PlexConnect file do I have to open to get this to work, the pytohn one or the compiled python one?

        3) I read something about some micro usb cables just doesn’t work. Im using a cable that came with my Blackberry. Could this be the problem? (Notest that my computer DOES detect the ATV3 when I use this cable and i can perform everything you listed. But maybe.. I don’t know.. It just won’t save the changes I make on my aTV)

        4) “WebServer: Serving HTTP on 0.0.0.0 port 80.” Isn’t weird that is is serving on 0.0.0.0 shouldn’t it be on the IP of my serving computer?

        I appreciate your help. Sorry for being such a newbie on this things. I just want to get this done.

        Reply
        • Gee Are Pabst
          Gee Are Pabst says:

          Hi Angelo,

          to answer your questions:

          1) I’ve got exactly the same message after upgrading from Windows 8.1 Pro Preview to the final version of Windows 8.1 Pro. But I had created the cert file before upgrading. Now I tried it again and got a failure message regarding that OpenSSL cannot process a file. The cert file was created though, but it will not work. This means your problem is the creating of a correct working cert file! You should resolve the ‘Microsoft Visual C++ 2008 redistributable’ issue. I will have a look into this, too. And I will come back as soon as I found a solution…

          2) The generation of such files is a correct behaviour. You have to start PlexConnect by double-clicking the file ‘plexconnect.py’.

          3) That’s true, I experienced this also. If your Apple TV is recognized by the iPhone configuration utility you’ve got a properly working micro-USB-cable.

          4) No, you shouldn’t (despite you’ve got your own DNS server). 0.0.0.0 is the address of the Google DNS server. Works perfectly.

          Cheers,
          Gee Are

          Reply
            • Angelo
              Angelo says:

              Thank you Gee Are, it worked like a charm!

              Now I did’t have trouble installing OpenSSL. But after doing everything again it just gave me the same results as before.

              DNS request received!
              Source: (‘192.168.1.33’, 57149)
              Domain: trailers.apple.com
              ***intercept request
              -> DNS response: 192.168.1.2

              What else could be wrong with the certificate?

              Reply
              • Gee Are Pabst
                Gee Are Pabst says:

                Did you install the correct certificate? I’m asking this because you must now have 2: The wrong one from your first trial and (at least) a second one after installing OpenSSL properly. Go to iPhone configuration utility and look for the two certificates…..

                Reply
  14. Jason
    Jason says:

    Worked a treat, the only change I had to make was to edit settings.cfg to change IP address from 0.0.0.0 to my local machine IP.

    Now to add some channels!

    Reply
  15. Eran Vosk
    Eran Vosk says:

    hello,

    it didnt work from the step PlexConnect: Installling Certificates On Apple TV Without USB.
    im using windows 7 ultimate.

    18:44:46 WebServer: serving .xml: /trailers.der
    —————————————-
    Exception happened during processing of request from (‘192.168.1.100’, 49384)
    Traceback (most recent call last):
    File “C:\Python27\lib\SocketServer.py”, line 295, in _handle_request_noblock
    self.process_request(request, client_address)
    File “C:\Python27\lib\SocketServer.py”, line 321, in process_request
    self.finish_request(request, client_address)
    File “C:\Python27\lib\SocketServer.py”, line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
    File “C:\Python27\lib\SocketServer.py”, line 649, in __init__
    self.handle()
    File “C:\Python27\lib\BaseHTTPServer.py”, line 340, in handle
    self.handle_one_request()
    File “C:\Python27\lib\BaseHTTPServer.py”, line 328, in handle_one_request
    method()
    File “C:\PlexConnect\WebServer.py”, line 182, in do_GET
    XML = XMLConverter.XML_PMS2aTV(PMSaddress, self.path + args, options)
    File “C:\PlexConnect\XMLConverter.py”, line 346, in XML_PMS2aTV
    PMS = PlexAPI.getXMLFromPMS(PMS_baseURL, path, options, authtoken=auth_token
    )
    File “C:\PlexConnect\PlexAPI.py”, line 318, in getXMLFromPMS
    response = urllib2.urlopen(request, timeout=10)
    File “C:\Python27\lib\urllib2.py”, line 127, in urlopen
    return _opener.open(url, data, timeout)
    File “C:\Python27\lib\urllib2.py”, line 396, in open
    protocol = req.get_type()
    File “C:\Python27\lib\urllib2.py”, line 258, in get_type
    raise ValueError, “unknown url type: %s” % self.__original
    ValueError: unknown url type: /trailers.der
    —————————————-

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Eran,

      it seems to me that there is a failure with the Python installation and the creation of the cert file. Deinstall Python and reinstall it as ‘administrator’ and repeat the entire process to set up PlexConnect.

      Cheers,
      Gee Are

      Reply
      • Einar
        Einar says:

        I had the same problem when I downloaded the PlexConnect-master zip file.. however when if I choose PlexConnect-0.2 the “unknown url” error stopped. But now when I click trailer, it says unavailable

        Reply
        • Gee Are Pabst
          Gee Are Pabst says:

          Hi Einar,

          If you got ‘trailers unavailable’ then the certificate was not correctly created or was not installed properly in most cases. In the first case, Python was not correct installed, in the second case you have to install it again. Please, take care that all cert files have to be in two places:
          – C:\cert and
          – C:\PlexConnect\assets\certificates!
          Take care to use exactly this folder names.

          Cheers,
          Gee Are

          Reply
  16. Rafal
    Rafal says:

    Hi. I have problem to generate 5 files from cert.create.bat. I run command in C:\Cert like you said and just one file is generating: trailers.pem 0kb Would you help me with this small problem, please?

    Reply
  17. Paul Holt
    Paul Holt says:

    I have followed your instructions but when i goto trailers on my apple i get it is not available at the moment please try later

    what files do i need to send so you can check my settings

    Reply
  18. Paul Holt
    Paul Holt says:

    sorry for the length of dos screen but this is what i have

    13:31:42 DNSServer: Domain: e905.b.akamaiedge.net
    13:31:42 DNSServer: ***forward request
    13:31:42 DNSServer: -> DNS response from higher level
    13:31:47 DNSServer: DNS request received!
    13:31:47 DNSServer: Source: (‘192.168.0.10’, 57026)
    13:31:47 DNSServer: Domain: trailers.apple.com
    13:31:47 DNSServer: ***intercept request
    13:31:47 DNSServer: -> DNS response: 192.168.0.17
    13:31:53 DNSServer: DNS request received!
    13:31:53 DNSServer: Source: (‘192.168.0.10’, 54505)
    13:31:53 DNSServer: Domain: se.itunes.apple.com
    13:31:53 DNSServer: ***forward request
    13:31:53 DNSServer: -> DNS response from higher level
    13:31:53 DNSServer: DNS request received!
    13:31:53 DNSServer: Source: (‘192.168.0.10’, 54595)
    13:31:53 DNSServer: Domain: a3.mzstatic.com
    13:31:53 DNSServer: ***forward request
    13:31:53 DNSServer: -> DNS response from higher level
    13:31:53 DNSServer: DNS request received!
    13:31:53 DNSServer: Source: (‘192.168.0.10’, 63201)
    13:31:53 DNSServer: Domain: ocsp.verisign.net
    13:31:54 DNSServer: ***forward request
    13:31:54 DNSServer: -> DNS response from higher level
    13:31:54 DNSServer: DNS request received!
    13:31:54 DNSServer: Source: (‘192.168.0.10’, 57376)
    13:31:54 DNSServer: Domain: a2.mzstatic.com
    13:31:54 DNSServer: ***forward request
    13:31:54 DNSServer: -> DNS response from higher level
    13:31:54 DNSServer: DNS request received!
    13:31:54 DNSServer: Source: (‘192.168.0.10’, 63214)
    13:31:54 DNSServer: Domain: a4.mzstatic.com
    13:31:54 DNSServer: ***forward request
    13:31:54 DNSServer: -> DNS response from higher level
    13:31:54 DNSServer: DNS request received!
    13:31:54 DNSServer: Source: (‘192.168.0.10’, 60425)
    13:31:54 DNSServer: Domain: a1.mzstatic.com
    13:31:54 DNSServer: ***forward request
    13:31:54 DNSServer: -> DNS response from higher level
    13:31:56 DNSServer: DNS request received!
    13:31:56 DNSServer: Source: (‘192.168.0.10’, 60416)
    13:31:56 DNSServer: Domain: iphonesubmissions.apple.com
    13:31:56 DNSServer: ***forward request
    13:31:56 DNSServer: -> DNS response from higher level
    13:31:59 DNSServer: DNS request received!
    13:31:59 DNSServer: Source: (‘192.168.0.10’, 62353)
    13:31:59 DNSServer: Domain: ld-5.itunes.apple.com
    13:31:59 DNSServer: ***forward request
    13:32:00 DNSServer: -> DNS response from higher level
    13:32:00 DNSServer: DNS request received!
    13:32:00 DNSServer: Source: (‘192.168.0.10’, 49253)
    13:32:00 DNSServer: Domain: e905.b.akamaiedge.net
    13:32:00 DNSServer: ***forward request
    13:32:00 DNSServer: -> DNS response from higher level
    13:32:03 DNSServer: DNS request received!
    13:32:03 DNSServer: Source: (‘192.168.0.10’, 64621)
    13:32:03 DNSServer: Domain: a338.phobos.apple.com
    13:32:03 DNSServer: ***forward request
    13:32:04 DNSServer: -> DNS response from higher level
    13:32:48 DNSServer: DNS request received!
    13:32:48 DNSServer: Source: (‘192.168.0.10’, 57514)
    13:32:48 DNSServer: Domain: init.itunes.apple.com
    13:32:48 DNSServer: ***forward request
    13:32:48 DNSServer: -> DNS response from higher level
    13:32:49 DNSServer: DNS request received!
    13:32:49 DNSServer: Source: (‘192.168.0.10’, 57272)
    13:32:49 DNSServer: Domain: EVIntl-ocsp.verisign.com
    13:32:49 DNSServer: ***forward request
    13:32:49 DNSServer: -> DNS response from higher level
    13:32:49 DNSServer: DNS request received!
    13:32:49 DNSServer: Source: (‘192.168.0.10’, 55790)
    13:32:49 DNSServer: Domain: EVSecure-ocsp.verisign.com
    13:32:49 DNSServer: ***forward request
    13:32:50 DNSServer: -> DNS response from higher level
    13:32:50 DNSServer: DNS request received!
    13:32:50 DNSServer: Source: (‘192.168.0.10’, 50738)
    13:32:50 DNSServer: Domain: setup.icloud.com
    13:32:50 DNSServer: ***forward request
    13:32:51 DNSServer: -> DNS response from higher level
    13:32:51 DNSServer: DNS request received!
    13:32:51 DNSServer: Source: (‘192.168.0.10’, 60779)
    13:32:51 DNSServer: Domain: upp.itunes.apple.com
    13:32:51 DNSServer: ***forward request
    13:32:51 DNSServer: -> DNS response from higher level
    13:32:51 DNSServer: DNS request received!
    13:32:51 DNSServer: Source: (‘192.168.0.10’, 64652)
    13:32:51 DNSServer: Domain: bookkeeper.itunes.apple.com
    13:32:51 DNSServer: ***forward request
    13:32:52 DNSServer: -> DNS response from higher level
    13:32:52 DNSServer: DNS request received!
    13:32:52 DNSServer: Source: (‘192.168.0.10’, 53499)
    13:32:52 DNSServer: Domain: itunes.apple.com
    13:32:52 DNSServer: ***forward request
    13:32:52 DNSServer: -> DNS response from higher level
    13:32:52 DNSServer: DNS request received!
    13:32:52 DNSServer: Source: (‘192.168.0.10’, 49408)
    13:32:52 DNSServer: Domain: xp.apple.com
    13:32:52 DNSServer: ***forward request
    13:32:52 DNSServer: -> DNS response from higher level
    13:32:52 DNSServer: DNS request received!
    13:32:52 DNSServer: Source: (‘192.168.0.10’, 52246)
    13:32:52 DNSServer: Domain: e673.g.akamaiedge.net
    13:32:52 DNSServer: ***forward request
    13:32:52 DNSServer: -> DNS response from higher level
    13:32:52 DNSServer: DNS request received!
    13:32:52 DNSServer: Source: (‘192.168.0.10’, 61664)
    13:32:52 DNSServer: Domain: p20-buy.itunes.apple.com
    13:32:52 DNSServer: ***forward request
    13:32:52 DNSServer: -> DNS response from higher level
    13:32:59 DNSServer: DNS request received!
    13:32:59 DNSServer: Source: (‘192.168.0.10’, 60814)
    13:32:59 DNSServer: Domain: init-p01st.push.apple.com
    13:32:59 DNSServer: ***forward request
    13:32:59 DNSServer: -> DNS response from higher level
    13:32:59 DNSServer: DNS request received!
    13:32:59 DNSServer: Source: (‘192.168.0.10’, 60505)
    13:32:59 DNSServer: Domain: 31-courier.push.apple.com
    13:32:59 DNSServer: ***forward request
    13:32:59 DNSServer: -> DNS response from higher level
    13:33:01 DNSServer: DNS request received!
    13:33:01 DNSServer: Source: (‘192.168.0.10’, 50124)
    13:33:01 DNSServer: Domain: se.itunes.apple.com
    13:33:01 DNSServer: ***forward request
    13:33:01 DNSServer: -> DNS response from higher level
    13:33:01 DNSServer: DNS request received!
    13:33:01 DNSServer: Source: (‘192.168.0.10’, 49745)
    13:33:01 DNSServer: Domain: a3.mzstatic.com
    13:33:01 DNSServer: ***forward request
    13:33:01 DNSServer: -> DNS response from higher level
    13:33:01 DNSServer: DNS request received!
    13:33:01 DNSServer: Source: (‘192.168.0.10’, 58608)
    13:33:01 DNSServer: Domain: pd-nk.itunes.apple.com
    13:33:01 DNSServer: ***forward request
    13:33:02 DNSServer: -> DNS response from higher level
    13:33:02 DNSServer: DNS request received!
    13:33:02 DNSServer: Source: (‘192.168.0.10’, 57977)
    13:33:02 DNSServer: Domain: ld-5.itunes.apple.com
    13:33:02 DNSServer: ***forward request
    13:33:02 DNSServer: -> DNS response from higher level
    13:33:02 DNSServer: DNS request received!
    13:33:02 DNSServer: Source: (‘192.168.0.10’, 57562)
    13:33:02 DNSServer: Domain: configuration.apple.com
    13:33:02 DNSServer: ***forward request
    13:33:02 DNSServer: -> DNS response from higher level
    13:33:02 DNSServer: DNS request received!
    13:33:02 DNSServer: Source: (‘192.168.0.10’, 60757)
    13:33:02 DNSServer: Domain: a5.mzstatic.com
    13:33:02 DNSServer: ***forward request
    13:33:02 DNSServer: -> DNS response from higher level
    13:33:02 DNSServer: DNS request received!
    13:33:02 DNSServer: Source: (‘192.168.0.10’, 55561)
    13:33:02 DNSServer: Domain: a4.mzstatic.com
    13:33:02 DNSServer: ***forward request
    13:33:02 DNSServer: -> DNS response from higher level
    13:33:02 DNSServer: DNS request received!
    13:33:02 DNSServer: Source: (‘192.168.0.10’, 56100)
    13:33:02 DNSServer: Domain: a2.mzstatic.com
    13:33:02 DNSServer: ***forward request
    13:33:03 DNSServer: -> DNS response from higher level
    13:33:03 DNSServer: DNS request received!
    13:33:03 DNSServer: Source: (‘192.168.0.10’, 63135)
    13:33:03 DNSServer: Domain: a1.mzstatic.com
    13:33:03 DNSServer: ***forward request
    13:33:03 DNSServer: -> DNS response from higher level
    13:33:05 DNSServer: DNS request received!
    13:33:05 DNSServer: Source: (‘192.168.0.10’, 53648)
    13:33:05 DNSServer: Domain: trailers.apple.com
    13:33:05 DNSServer: ***intercept request
    13:33:05 DNSServer: -> DNS response: 192.168.0.17
    13:33:06 DNSServer: DNS request received!
    13:33:06 DNSServer: Source: (‘192.168.0.10’, 60069)
    13:33:06 DNSServer: Domain: e673.g.akamaiedge.net
    13:33:06 DNSServer: ***forward request
    13:33:06 DNSServer: -> DNS response from higher level
    13:33:09 DNSServer: DNS request received!
    13:33:09 DNSServer: Source: (‘192.168.0.10’, 63075)
    13:33:09 DNSServer: Domain: play.itunes.apple.com
    13:33:09 DNSServer: ***forward request
    13:33:09 DNSServer: -> DNS response from higher level
    13:33:09 DNSServer: DNS request received!
    13:33:09 DNSServer: Source: (‘192.168.0.10’, 62038)
    13:33:09 DNSServer: Domain: local
    13:33:09 DNSServer: ***forward request
    13:33:09 DNSServer: -> DNS response from higher level
    13:33:09 DNSServer: DNS request received!
    13:33:09 DNSServer: Source: (‘192.168.0.10’, 52751)
    13:33:09 DNSServer: Domain: local
    13:33:09 DNSServer: ***forward request
    13:33:10 DNSServer: -> DNS response from higher level
    13:33:10 DNSServer: Warning: DNS error (10054): An existing connection was forci
    bly closed by the remote host
    13:33:15 DNSServer: DNS request received!
    13:33:15 DNSServer: Source: (‘192.168.0.10’, 62757)
    13:33:15 DNSServer: Domain: init.ess.apple.com
    13:33:15 DNSServer: ***forward request
    13:33:15 DNSServer: -> DNS response from higher level
    13:33:15 DNSServer: DNS request received!
    13:33:15 DNSServer: Source: (‘192.168.0.10’, 64704)
    13:33:15 DNSServer: Domain: SVRSecure-G3-aia.verisign.com
    13:33:15 DNSServer: ***forward request
    13:33:20 DNSServer: DNS request received!
    13:33:20 DNSServer: Source: (‘192.168.0.10’, 64704)
    13:33:20 DNSServer: Domain: SVRSecure-G3-aia.verisign.com
    13:33:20 DNSServer: ***forward request
    13:33:21 DNSServer: -> DNS response from higher level
    13:33:21 DNSServer: DNS request received!
    13:33:21 DNSServer: Source: (‘192.168.0.10’, 64704)
    13:33:21 DNSServer: Domain: SVRSecure-G3-aia.verisign.com
    13:33:21 DNSServer: ***forward request
    13:34:00 DNSServer: DNS request received!
    13:34:00 DNSServer: Source: (‘192.168.0.10’, 58788)
    13:34:00 DNSServer: Domain: e673.g.akamaiedge.net
    13:34:00 DNSServer: ***forward request
    13:34:00 DNSServer: -> DNS response from higher level
    13:34:01 DNSServer: DNS request received!
    13:34:01 DNSServer: Source: (‘192.168.0.10’, 49759)
    13:34:01 DNSServer: Domain: ocsp.verisign.net
    13:34:01 DNSServer: ***forward request
    13:34:02 DNSServer: -> DNS response from higher level
    13:34:55 DNSServer: DNS request received!
    13:35:30 DNSServer: Source: (‘192.168.0.10’, 60884)
    13:35:30 DNSServer: Domain: mesu.apple.com
    13:35:30 DNSServer: ***restrain request
    13:35:30 DNSServer: -> DNS response: 192.168.0.17
    13:35:30 DNSServer: DNS request received!
    13:35:30 DNSServer: Source: (‘192.168.0.10’, 60884)
    13:35:30 DNSServer: Domain: mesu.apple.com
    13:35:30 DNSServer: ***restrain request
    13:35:30 DNSServer: -> DNS response: 192.168.0.17
    13:35:30 DNSServer: DNS request received!
    13:35:30 DNSServer: Source: (‘192.168.0.10’, 60884)
    13:35:30 DNSServer: Domain: mesu.apple.com
    13:35:30 DNSServer: ***restrain request
    13:35:30 DNSServer: -> DNS response: 192.168.0.17
    13:35:30 DNSServer: DNS request received!
    13:35:30 DNSServer: Source: (‘192.168.0.10’, 60884)
    13:35:30 DNSServer: Domain: mesu.apple.com
    13:35:30 DNSServer: ***restrain request
    13:35:30 DNSServer: -> DNS response: 192.168.0.17
    13:35:30 DNSServer: DNS request received!
    13:35:30 DNSServer: Source: (‘192.168.0.10’, 53553)
    13:35:30 DNSServer: Domain: mesu.apple.com
    13:35:30 DNSServer: ***restrain request
    13:35:30 DNSServer: -> DNS response: 192.168.0.17
    13:35:30 DNSServer: DNS request received!
    13:35:30 DNSServer: Source: (‘192.168.0.10’, 53553)
    13:35:30 DNSServer: Domain: mesu.apple.com
    13:35:30 DNSServer: ***restrain request
    13:35:30 DNSServer: -> DNS response: 192.168.0.17
    13:35:30 DNSServer: DNS request received!
    13:35:30 DNSServer: Source: (‘192.168.0.10’, 53553)
    13:35:30 DNSServer: Domain: mesu.apple.com
    13:35:30 DNSServer: ***restrain request
    13:35:30 DNSServer: -> DNS response: 192.168.0.17
    13:35:30 DNSServer: DNS request received!
    13:35:30 DNSServer: Source: (‘192.168.0.10’, 53553)
    13:35:30 DNSServer: Domain: mesu.apple.com
    13:35:30 DNSServer: ***restrain request
    13:35:30 DNSServer: -> DNS response: 192.168.0.17
    13:35:30 DNSServer: DNS request received!
    13:35:30 DNSServer: Source: (‘192.168.0.10’, 61719)
    13:35:30 DNSServer: Domain: mesu.apple.com
    13:35:30 DNSServer: ***restrain request
    13:35:30 DNSServer: -> DNS response: 192.168.0.17
    13:35:30 DNSServer: DNS request received!
    13:35:30 DNSServer: Source: (‘192.168.0.10’, 61719)
    13:35:30 DNSServer: Domain: mesu.apple.com
    13:35:30 DNSServer: ***restrain request
    13:35:30 DNSServer: -> DNS response: 192.168.0.17
    13:35:30 DNSServer: DNS request received!
    13:35:30 DNSServer: Source: (‘192.168.0.10’, 61719)
    13:35:30 DNSServer: Domain: mesu.apple.com
    13:35:30 DNSServer: ***restrain request
    13:35:30 DNSServer: -> DNS response: 192.168.0.17
    13:35:30 DNSServer: Warning: DNS error (10054): An existing connection was forci
    bly closed by the remote host
    13:35:30 DNSServer: Warning: DNS error (10054): An existing connection was forci
    bly closed by the remote host
    13:35:30 DNSServer: Warning: DNS error (10054): An existing connection was forci
    bly closed by the remote host
    13:35:30 DNSServer: Warning: DNS error (10054): An existing connection was forci
    bly closed by the remote host
    13:35:30 DNSServer: Warning: DNS error (10054): An existing connection was forci
    bly closed by the remote host
    13:35:30 DNSServer: Warning: DNS error (10054): An existing connection was forci
    bly closed by the remote host
    13:35:30 DNSServer: Warning: DNS error (10054): An existing connection was forci
    bly closed by the remote host
    13:35:30 DNSServer: Warning: DNS error (10054): An existing connection was forci
    bly closed by the remote host
    13:35:47 DNSServer: DNS request received!
    13:35:47 DNSServer: Source: (‘192.168.0.10’, 50524)
    13:35:47 DNSServer: Domain: ocsp.verisign.net
    13:35:47 DNSServer: ***forward request
    13:35:47 DNSServer: -> DNS response from higher level
    13:35:48 DNSServer: DNS request received!
    13:35:48 DNSServer: Source: (‘192.168.0.10’, 63256)
    13:35:48 DNSServer: Domain: upp.itunes.apple.com.akadns.net
    13:35:48 DNSServer: ***forward request
    13:35:48 DNSServer: -> DNS response from higher level

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Paul,

      it looks like your DNS you use with your Apple TV is in use by another service. Do you have an FTP server running, too? If so, stop the FTP server and try again. Further more, it seems that the certificate is not properly installed.

      If it does not help, here are some common mistakes made:
      – not using excatly the Python version mentioned in this post
      – the certificate files are not in the directory c:\cert
      – the certificate is not installed properly, try installing it again

      Please, take care that you followed EXACTLY the instruction in this post.

      Cheers,
      Gee Are

      Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Lex,

      to be able to help you, I need more information about your problem to get PlexConnect running.

      Did you exactly follow every single step in this work around?

      Cheers,
      Gee Are

      Reply
      • Lex
        Lex says:

        My version of my Apple TV 3 is 6.0.2. the problem is that when I open the trailer app. I get an error saying that I do not access to the trailer for the moment.

        Reply
    • Lex
      Lex says:

      That my problem My version of my Apple TV 3 is 6.0.2. the problem is that when I open the trailer app. I get an error saying that I do not access to the trailer for the moment.

      Reply
  19. Lex
    Lex says:

    18:33:31 PlexConnect: ***
    18:33:31 PlexConnect: PlexConnect
    18:33:31 PlexConnect: Press CTRL-C to shut down.
    18:33:31 PlexConnect: ***
    18:33:31 PlexConnect: started: 18:33:31
    18:33:31 PlexConnect: IP_self: 192.168.1.117
    18:33:31 DNSServer: started: 18:33:31
    18:33:31 DNSServer: ***
    18:33:31 DNSServer: DNSServer: Serving DNS on 192.168.1.117 port 53.
    18:33:31 DNSServer: intercept: [‘trailers.apple.com’, ‘atv.plexconnect’] => 192.
    168.1.117
    18:33:31 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld
    .apple.com.edgesuite.net’] => 127.0.0.1
    18:33:31 DNSServer: forward other to higher level DNS: 8.8.8.8
    18:33:31 DNSServer: ***
    18:33:31 WebServer: started: 18:33:31
    18:33:31 WebServer: ***
    18:33:31 WebServer: WebServer: Serving HTTP on 192.168.1.117 port 80.
    18:33:31 WebServer: ***
    18:33:31 WebServer: started: 18:33:31
    18:33:31 WebServer: ***
    18:33:31 WebServer: WebServer: Serving HTTPS on 192.168.1.117 port 443.
    18:33:31 WebServer: ***
    18:33:47 WebServer: serving .xml: /trailer.der
    —————————————-
    Exception happened during processing of request from (‘192.168.1.116’, 49318)
    Traceback (most recent call last):
    File “C:\Python27\lib\SocketServer.py”, line 295, in _handle_request_noblock
    self.process_request(request, client_address)
    File “C:\Python27\lib\SocketServer.py”, line 321, in process_request
    self.finish_request(request, client_address)
    File “C:\Python27\lib\SocketServer.py”, line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
    File “C:\Python27\lib\SocketServer.py”, line 649, in __init__
    self.handle()
    File “C:\Python27\lib\BaseHTTPServer.py”, line 340, in handle
    self.handle_one_request()
    File “C:\Python27\lib\BaseHTTPServer.py”, line 328, in handle_one_request
    method()
    File “C:\PlexConnect\WebServer.py”, line 182, in do_GET
    XML = XMLConverter.XML_PMS2aTV(PMSaddress, self.path + args, options)
    File “C:\PlexConnect\XMLConverter.py”, line 346, in XML_PMS2aTV
    PMS = PlexAPI.getXMLFromPMS(PMS_baseURL, path, options, authtoken=auth_token
    )
    File “C:\PlexConnect\PlexAPI.py”, line 318, in getXMLFromPMS
    response = urllib2.urlopen(request, timeout=10)
    File “C:\Python27\lib\urllib2.py”, line 127, in urlopen
    return _opener.open(url, data, timeout)
    File “C:\Python27\lib\urllib2.py”, line 396, in open
    protocol = req.get_type()
    File “C:\Python27\lib\urllib2.py”, line 258, in get_type
    raise ValueError, “unknown url type: %s” % self.__original
    ValueError: unknown url type: /trailer.der
    —————————————-
    18:33:48 DNSServer: DNS request received!
    18:33:48 DNSServer: Source: (‘192.168.1.116’, 64583)
    18:33:48 DNSServer: Domain: gs-loc.apple.com
    18:33:48 DNSServer: ***forward request
    18:33:48 DNSServer: -> DNS response from higher level
    18:33:49 DNSServer: DNS request received!
    18:33:49 DNSServer: Source: (‘192.168.1.116’, 60741)
    18:33:49 DNSServer: Domain: cl2.apple.com
    18:33:49 DNSServer: ***forward request
    18:33:49 DNSServer: -> DNS response from higher level
    18:33:49 DNSServer: DNS request received!
    18:33:49 DNSServer: Source: (‘192.168.1.116’, 61632)
    18:33:49 DNSServer: Domain: http://www.apple.com
    18:33:49 DNSServer: ***forward request
    18:33:49 DNSServer: -> DNS response from higher level
    18:33:51 DNSServer: DNS request received!
    18:33:51 DNSServer: Source: (‘192.168.1.116’, 50508)
    18:33:51 DNSServer: Domain: a4.mzstatic.com
    18:33:51 DNSServer: ***forward request
    18:33:51 DNSServer: -> DNS response from higher level
    18:34:01 DNSServer: DNS request received!
    18:34:01 DNSServer: Source: (‘192.168.1.116’, 55754)
    18:34:01 DNSServer: Domain: e2843.g.akamaiedge.net
    18:34:01 DNSServer: ***forward request
    18:34:01 DNSServer: -> DNS response from higher level
    18:34:04 DNSServer: DNS request received!
    18:34:04 DNSServer: Source: (‘192.168.1.116’, 50707)
    18:34:04 DNSServer: Domain: trailers.apple.com
    18:34:04 DNSServer: ***intercept request
    18:34:04 DNSServer: -> DNS response: 192.168.1.117

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Lex,

      the only advice I can give you, is to check the cert file installation again. If you can’t access the trailer, the reason lies always in a wrong cert file or wrong installation of the certificate.

      To check that the certificate is on your Apple TV: Go to settings, general and then to profiles: There should be ‘trailers.apple.com’ as a profile. If not, the certificate was not correctly installed.

      Cheers,
      Gee Are

      Reply
  20. Toni
    Toni says:

    I did everything like you said in the tutorial. When I click in trailers, AppleTv show me a message that say: “Trailers is unavailable. Try again later”
    Can you help me.

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Toni,

      the advice I can give you, is to check the cert file installation again. If you can’t access the trailer, the reason always lies in a wrong cert file or wrong installation of the certificate.

      To check that the certificate is on your Apple TV: Go to settings, general and then to profiles: There should be ‘trailers.apple.com’ as a profile. If not, the certificate was not correctly installed.

      Cheers,
      Gee Are

      Reply
  21. Daniel Castro
    Daniel Castro says:

    I am using AppleTV 3 with iOS 7.0.4
    I followed all the instructions but still can not connect to my plex server using the Trailers Channel.
    I created the pem and cert files, the PlexConnect start listening 80 and 443 because the cert file is inside assets\certificates, I run the IPhone Configuration Util to update AppleTV with the cert file I generate, I shutdown AppleTV and turn it on again, configure the DNS to point to my computer where Plex is running and yet it does not work.

    I did it 3 times and jumped to this tutorial that is much the same http://langui.sh/2013/08/27/appletv-ssl-plexconnect/

    09:32:37 PlexConnect: ***
    09:32:37 PlexConnect: PlexConnect
    09:32:37 PlexConnect: Press CTRL-C to shut down.
    09:32:37 PlexConnect: ***
    09:32:37 PlexConnect: started: 09:32:37
    09:32:37 PlexConnect: Version: 0.3.1
    09:32:37 PlexConnect: Python: 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500
    32 bit (Intel)]
    09:32:37 PlexConnect: Host OS: win32
    09:32:37 PlexConnect: IP_self: 192.168.1.106
    09:32:37 DNSServer: started: 09:32:37
    09:32:37 DNSServer: ***
    09:32:37 DNSServer: DNSServer: Serving DNS on 192.168.1.106 port 53.
    09:32:37 DNSServer: intercept: [‘trailers.apple.com’] => 192.168.1.106
    09:32:37 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld
    .apple.com.edgesuite.net’] => 127.0.0.1
    09:32:37 DNSServer: forward other to higher level DNS: 8.8.8.8
    09:32:37 DNSServer: ***
    09:32:37 WebServer: started: 09:32:37
    09:32:37 WebServer: ***
    09:32:37 WebServer: WebServer: Serving HTTP on 192.168.1.106 port 80.
    09:32:37 WebServer: ***
    09:32:37 WebServer: started: 09:32:37
    09:32:37 WebServer: ***
    09:32:37 WebServer: WebServer: Serving HTTPS on 192.168.1.106 port 443.
    09:32:37 WebServer: ***
    09:32:43 DNSServer: DNS request received!
    09:32:43 DNSServer: Source: (‘192.168.1.100’, 56234)
    09:32:43 DNSServer: Domain: a1.da1.akamai.net
    09:32:43 DNSServer: ***forward request
    09:32:43 DNSServer: -> DNS response from higher level

    Yet, nothing appears on my TV, only Trailers is unavailable. Try again later.

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Daniel,

      the cert files have to remain in the folder C:/Cert, too!

      And you should exactly follow my tutorial because it is a improved one compared to Paul Kehrer’s one.

      Cheers,
      Gee Are

      Reply
        • Daniel Castro
          Daniel Castro says:

          I changed to 2.7.5
          The Plex finished every processing task regarding library update.
          The certificate was created using the bat files supplied by the link present in this tutorial.

          Still can’t connect to my Plex using Trailers.

          21:10:36 PlexConnect: ***
          21:10:36 PlexConnect: PlexConnect
          21:10:36 PlexConnect: Press CTRL-C to shut down.
          21:10:36 PlexConnect: ***
          21:10:36 PlexConnect: started: 21:10:36
          21:10:36 PlexConnect: Version: 0.3.1
          21:10:36 PlexConnect: Python: 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500
          32 bit (Intel)]
          21:10:36 PlexConnect: Host OS: win32
          21:10:36 PlexConnect: IP_self: 192.168.1.106
          21:10:36 DNSServer: started: 21:10:36
          21:10:36 DNSServer: ***
          21:10:36 DNSServer: DNSServer: Serving DNS on 192.168.1.106 port 53.
          21:10:36 DNSServer: intercept: [‘trailers.apple.com’] => 192.168.1.106
          21:10:36 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld
          .apple.com.edgesuite.net’] => 127.0.0.1
          21:10:36 DNSServer: forward other to higher level DNS: 8.8.8.8
          21:10:36 DNSServer: ***
          21:10:37 WebServer: started: 21:10:37
          21:10:37 WebServer: ***
          21:10:37 WebServer: WebServer: Serving HTTP on 192.168.1.106 port 80.
          21:10:37 WebServer: ***
          21:10:37 WebServer: started: 21:10:37
          21:10:37 WebServer: ***
          21:10:37 WebServer: WebServer: Serving HTTPS on 192.168.1.106 port 443.
          21:10:37 WebServer: ***
          21:11:36 DNSServer: DNS request received!
          21:11:36 DNSServer: Source: (‘192.168.1.100’, 61530)
          21:11:36 DNSServer: Domain: p37-buy.itunes.apple.com.akadns.net
          21:11:36 DNSServer: ***forward request
          21:11:36 DNSServer: -> DNS response from higher level
          21:11:38 DNSServer: DNS request received!
          21:11:38 DNSServer: Source: (‘192.168.1.100’, 55445)
          21:11:38 DNSServer: Domain: trailers.apple.com
          21:11:38 DNSServer: ***intercept request
          21:11:38 DNSServer: -> DNS response: 192.168.1.106

          Reply
          • Gee Are Pabst
            Gee Are Pabst says:

            Hi Daniel,

            I can’t see the Plex Media Server in the protocol.

            Just a few questions to check:
            – Is the Plex Media Server running on your PC?
            – Did you ‘Press CTRL-C’ to shut down Plex Server and reboot your PC and Apple TV (just unplug it)?

            Then restart your PC, run Plex Media Server on your PC, start PlexConnect and then restart your Apple TV.

            It should look like this:


            00:38:13 DNSServer: DNS request received!
            00:38:13 DNSServer: Source: (‘192.168.178.41’, 63013)
            00:38:13 DNSServer: Domain: atv.plexconnect
            00:38:13 DNSServer: ***intercept request
            00:38:13 DNSServer: -> DNS response: 192.168.178.49
            00:38:13 WebServer: serving .xml: /PlexConnect.xml
            00:38:13 PlexAPI: ***
            00:38:13 PlexAPI: looking up Plex Media Server
            00:38:13 PlexAPI: ***
            00:38:14 PlexAPI: GDM: Servers discovered: 1
            00:38:14 PlexAPI: Servers (local+MyPlex): 1
            …..

            Cheers,
            Gee Are

            Reply
        • Daniel Castro
          Daniel Castro says:

          [PlexConnect]
          port_pms = 32400
          port_webserver = 80
          ip_plexconnect = 0.0.0.0
          certfile = ./assets/certificates/trailers.pem
          ip_dnsmaster = 201.17.0.85
          loglevel = High
          enable_dnsserver = True
          logpath = ./log
          ip_pms = 192.168.1.106
          enable_plexgdm = True
          hosttointercept = trailers.apple.com
          port_ssl = 443
          enable_webserver_ssl = True
          prevent_atv_update = True
          port_dnsserver = 53
          enable_plexconnect_autodetect = True

          The Log file with High output shows

          21:32:02 DNSServer: -> DNS response from higher level
          21:32:02 DNSServer: DNS request received!
          21:32:02 DNSServer: Source: (‘192.168.1.100’, 61783)
          21:32:02 DNSServer: Domain: a5.mzstatic.com
          21:32:02 DNSServer: ***forward request
          21:32:02 DNSServer: -> DNS response from higher level
          21:32:02 DNSServer: DNS request received!
          21:32:02 DNSServer: Source: (‘192.168.1.100’, 56788)
          21:32:02 DNSServer: Domain: init.ess.apple.com
          21:32:02 DNSServer: ***forward request
          21:32:02 DNSServer: -> DNS response from higher level
          21:32:03 DNSServer: DNS request received!
          21:32:03 DNSServer: Source: (‘192.168.1.100’, 53079)
          21:32:03 DNSServer: Domain: a1.mzstatic.com
          21:32:03 DNSServer: ***forward request
          21:32:03 DNSServer: -> DNS response from higher level
          21:32:03 DNSServer: DNS request received!
          21:32:03 DNSServer: Source: (‘192.168.1.100’, 60435)
          21:32:03 DNSServer: Domain: a4.mzstatic.com
          21:32:03 DNSServer: ***forward request
          21:32:03 DNSServer: -> DNS response from higher level
          21:32:04 DNSServer: DNS request received!
          21:32:04 DNSServer: Source: (‘192.168.1.100’, 59487)
          21:32:04 DNSServer: Domain: trailers.apple.com
          21:32:04 DNSServer: ***intercept request
          21:32:04 DNSServer: -> DNS response: 192.168.1.106
          21:32:05 DNSServer: DNS request received!
          21:32:05 DNSServer: Source: (‘192.168.1.100’, 64685)
          21:32:05 DNSServer: Domain: SVRSecure-G3-aia.verisign.com
          21:32:05 DNSServer: ***forward request
          21:32:05 DNSServer: -> DNS response from higher level
          21:32:05 DNSServer: DNS request received!
          21:32:05 DNSServer: Source: (‘192.168.1.100’, 60293)
          21:32:05 DNSServer: Domain: init-p01st.push.apple.com
          21:32:05 DNSServer: ***forward request
          21:32:05 DNSServer: -> DNS response from higher level
          21:32:05 DNSServer: DNS request received!
          21:32:06 DNSServer: Source: (‘192.168.1.100’, 61990)
          21:32:06 DNSServer: Domain: 8-courier.push.apple.com
          21:32:06 DNSServer: ***forward request
          21:32:06 DNSServer: -> DNS response from higher level
          21:32:07 DNSServer: DNS request received!
          21:32:07 DNSServer: Source: (‘192.168.1.100’, 52235)
          21:32:07 DNSServer: Domain: play.itunes.apple.com
          21:32:07 DNSServer: ***forward request
          21:32:08 DNSServer: -> DNS response from higher level

          Reply
          • Gee Are Pabst
            Gee Are Pabst says:

            Hi Daniel,

            it must be something wrong with the certificate!

            – Deinstall the profile from the Apple TV.
            – Delete all PlexConnect files on your PC and reinstall it freshly.
            – Start creating the cert files again. Open the command prompt properly as mentioned in the post above: ‘Now click on ‘Open Command Window Here‘ and the command prompt will open and start at the folder C:\Cert.’
            – Install the profile following the post ‘PlexConnect: Installling Certificates On Apple TV Without US’

            Cheers,
            Gee Are

            Reply
  22. Daniel Castro
    Daniel Castro says:

    Just Updating…I made sure that the problem was not with certificate, so I entered on my Apple TV by Going to settings, general and then to profiles. There I found my Profile installed within AppleTV. The Profile identifier was trailers.apple.com (did it on IPhone Conf. Utility) and a Description so I could identify properly inside AppleTV because ATV shows only the name of the profile. Everything was correct. The certification inside Windows is tha same used by PlexConnect 0.3.1 and the same inside ATV.

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Daniel,

      if the problem still persists then the certificate is wrongly created. Did you use the correct Python version 2.7.5 mentioned above? Do not use the x64-version!

      Cheers,
      Gee Are

      Reply
  23. zach bollich
    zach bollich says:

    I have been unsuccessful. I noticed that as soon as I change the DNS on ATV to a manual static address different from the original automatically generated address, ATV is unable to communicate with netflix, the apple store etc.

    Does this mean that when Plex is configured these other sites are unavailable?

    When I assign the same ip address (as the ATV has by default 192.168.1.1) to the windows 7 machine then the windows machine can’t access the internet.

    Thank you for your help!

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Zach,

      it should work. I can see YouTube, flickr, Apple Events,…

      The default address 192.168.1.1 is the IP address of your router. Therefore, it is normal that changing the IP address of your Windows PC leads to no internet access of your PC.

      Do you have the correct IP address of your PC given to your Apple TV? If your PC is connected to WLAN and LAN, it has got 2 different IP addresses. Choose the LAN IP address first and try again.

      Cheers,
      Gee Are

      Reply
      • zach bollich
        zach bollich says:

        Thank you Gee Are,

        Your reply was very helpful. I have Plex running on two ATV’s in different parts of my house. Works great.

        I was obviously having a conceptual problem. Now that I understand that the windows computer has to be turned on, plex media center and python have to to be functioning. I was getting hung up on changing the DNS address on Apple tv and noticing that immediately ATV was unable to communicate with the internet. I have seen this same question on other forums and it went unanswered, probably because it appears to be a very stupid question!

        I have 2 other issues on which I need some advice. If you have time I would love to get your input.

        1. Plex media center starts automatically when I start the windows computer. Is it advisable and is there a way to start plexconnect automatically? (Apologies if this is another basic question)
        2. I run PrivateInternet Access VPN and Vuze. Are there any modifications that should be made to allow Plexconnect to function when these are running?

        I read the instructions below on the Wiki about question 2 but when I edited the Settings.cfg file (maybe incorrectly) atv could no longer connect:

        Manual Override to PlexConnect’s IP
        In some environments PlexConnect is unable to figure out the local IP address of its host system. You can disable the auto detect feature by editing the following lines, specifying your local IP address.
        enable_plexconnect_autodetect = True
        ip_plexconnect = 0.0.0.0

        I changed the True to False and put in the same DNS address Instead of 0.0.0.0

        Thank you,

        Zach

        Reply
  24. Miji Lee
    Miji Lee says:

    Hi Gee Are,

    Great help with the many people who have succeeded from your tutorial. I too have been stuck and doing this for many hours for a few days now. I downloaded OpenSSL (different versions) also with Python and uninstalled/reinstalled several times with several files. I suspect that I have to delete some old certificates. I don’ t know how to copy the details of the PlexConnect screen but i have an “intercept” statements on the screen. Can you tell me how to use the Iphone Config Utility to find any other certificates? I can’t seem to figure it out. Thanks a lot.

    Reply
  25. Miji Lee
    Miji Lee says:

    Wow, you are fast Gee Are! Thanks so much for your help…I think you’ve aided many more people that haven’t bothered to post, but you are great! Actually, I went to: http://windows.microsoft.com/en-ca/windows-vista/view-or-manage-your-certificates since i run Windows 7 and found duplicate certificates. I decided to delete all and restart from the creation of the certificates again, then uninstalling the old certificate from ATV3 and reinstalling it manually using iPhone Config Utility.

    I used iCU because I wasn’t able to to it using wifi method (worked once then I screwed it up and never worked again). But the manual method worked great!

    After the certificate issue was dealt with, I’m good to go!!! Love it and Plex runs 1080p movies so smoothly so far! Happy New Year Gee and all the best to you and your family!

    Reply
  26. Evan Miller
    Evan Miller says:

    Thanks for posting the steps to get plex running! I’ve had plex running in the (recent) past, but for some reason all of a sudden, when I load the trailers app on the ATV I jump immediately to the “trailers not available” screen.

    In hopes to fix this, I have tried all of your steps, so at least in that aspect we are so far on the same page. Now, it seems as though I’ve discovered AT&T (my ISP) has greedily taken over port 443, and I can’t avoid this. The only place I can seem to change this setting is in Settings.py, however when I re-launch PlexConnect.py I see the “Failed to connect to HTTPS on 192.168.1.6 port 443” etc etc error.

    Do you have any advice on how to change the port from 443 to something else my ISP has not taken from me? Thanks in advance!

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Evan,

      I think you need to change your external port, not your internal one. Change the settings on your router. Check this for further instructions:
      https://plexapp.zendesk.com/hc/en-us/articles/200931138-Troubleshooting-myPlex-Server-connections

      … (Excerpt) Getting Help Setting Up a Port-forward
      If you’re having trouble understanding how to set up and configure a port-forward on your router, there are various resources available on the internet:
      Use your favorite Search Engine and search for “configure port forward [insert your router here]”…

      Let us know your findings!

      Cheers,
      Gee Are

      Reply
      • Evan Miller
        Evan Miller says:

        I don’t think that’s the issue to be honest. Plex was working fine previously, but I believe my ISP has changed their software, and as a result now uses port 443, hence the error when I start up plex:

        WebServer: Failed to connect to HTTPS on 192.168.1.6 port 443: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions.

        I’m pretty sure the issue is that Plex can’t use port 443, because it is already in use. Any thoughts on this? I’ve tried about everything I can possibly think of and am at my wits end!

        Reply
        • Evan Miller
          Evan Miller says:

          I should also note, I do see other normal traffic going through the plex server, such as netflix:

          18:51:01 DNSServer: -> DNS response from higher level
          18:51:02 DNSServer: DNS request received!
          18:51:02 DNSServer: Source: (‘192.168.1.10’, 60580)
          18:51:02 DNSServer: Domain: cdn-0.nflximg.com
          18:51:02 DNSServer: ***forward request

          192.168.1.10 of course being the AppleTV

          Reply
        • Gee Are Pabst
          Gee Are Pabst says:

          Hi Evan,

          this is exactly what I meant in my comment before: Your ISP changed something with the ports. Hence, the solutions should be found in the router settings.

          What kind of router do you have (model, firmware version)?

          Cheers,
          Gee Are

          Reply
  27. Onur.
    Onur. says:

    Hi i followed every step and am positive i did it correctly but trailers still says its not available. Is there an easier way that this can be done? Please help.

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Onur,

      in most cases it is always the certificate: Either it is not correctly created or not properly installed.

      For the first: Did you install the correct Python version mentioned in this post? And the created certificate must be on two places: In the folder c:\cert and in the above mentioned plexconnect folder.

      For the second: A easier way to install the certificate is mentioned in this post:
      https://miapple.me/2013/11/03/plexconnect-installling-certificates-on-apple-tv-without-usb/
      There you’ll find a description in a comment where to see the certificate on your Apple TV. Check that your certificate is indeed on your Apple TV.

      Cheers,
      Gee Are

      Reply
  28. Mariano
    Mariano says:

    Hi! I did everything you explained but I have port 53 and 443 used by other programmes. I´ve changed the conf to listen to port 54 and 444 but I get the “Trailers not available”.

    What can I do?

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Mariano,

      If ‘Trailers is not available’, it is always a wrong certificate. Read my comment to Onur’s question to check and to get it resolved. I don’t think that the ports are the problem.

      Cheers,
      Gee Are

      Reply
      • Mariano
        Mariano says:

        You rock! It was a certificate problem. I deleted all my prevoius certificates from windows and reinstall it and everything works smooth! Thank you a lot!!

        Reply
  29. Satwinder Chahal
    Satwinder Chahal says:

    hi somebody help me

    ive done the following as described above but i get this error when i’m adding profile

    16:37:46 PlexConnect: ***
    16:37:46 PlexConnect: PlexConnect
    16:37:46 PlexConnect: Press CTRL-C to shut down.
    16:37:46 PlexConnect: ***
    16:37:46 PlexConnect: started: 16:37:46
    16:37:46 PlexConnect: Version: 0.3.1+
    16:37:46 PlexConnect: Python: 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500
    32 bit (Intel)]
    16:37:46 PlexConnect: Host OS: win32
    16:37:46 PlexConnect: IP_self: 192.168.0.5
    16:37:46 DNSServer: started: 16:37:46
    16:37:46 DNSServer: ***
    16:37:46 DNSServer: DNSServer: Serving DNS on 192.168.0.5 port 53.
    16:37:46 DNSServer: intercept: [‘trailers.apple.com’] => 192.168.0.5
    16:37:46 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld
    .apple.com.edgesuite.net’] => 127.0.0.1
    16:37:46 DNSServer: forward other to higher level DNS: 8.8.8.8
    16:37:46 DNSServer: ***
    16:37:46 WebServer: started: 16:37:46
    16:37:46 WebServer: ***
    16:37:46 WebServer: WebServer: Serving HTTP on 192.168.0.5 port 80.
    16:37:46 WebServer: ***
    16:37:46 WebServer: started: 16:37:46
    16:37:46 WebServer: ***
    16:37:46 WebServer: WebServer: Serving HTTPS on 192.168.0.5 port 443.
    16:37:46 WebServer: ***
    16:38:12 WebServer: serving .xml: /trailers.der
    —————————————-
    Exception happened during processing of request from (‘192.168.0.6’, 49321)
    Traceback (most recent call last):
    File “C:\Python27\lib\SocketServer.py”, line 295, in _handle_request_noblock
    self.process_request(request, client_address)
    File “C:\Python27\lib\SocketServer.py”, line 321, in process_request
    self.finish_request(request, client_address)
    File “C:\Python27\lib\SocketServer.py”, line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
    File “C:\Python27\lib\SocketServer.py”, line 649, in __init__
    self.handle()
    File “C:\Python27\lib\BaseHTTPServer.py”, line 340, in handle
    self.handle_one_request()
    File “C:\Python27\lib\BaseHTTPServer.py”, line 328, in handle_one_request
    method()
    File “C:\PlexConnect-master\WebServer.py”, line 215, in do_GET
    XML = XMLConverter.XML_PMS2aTV(PMSaddress, self.path + args, options)
    File “C:\PlexConnect-master\XMLConverter.py”, line 412, in XML_PMS2aTV
    PMS = PlexAPI.getXMLFromPMS(PMS_baseURL, path, options, authtoken=auth_token
    )
    File “C:\PlexConnect-master\PlexAPI.py”, line 350, in getXMLFromPMS
    response = urllib2.urlopen(request, timeout=20)
    File “C:\Python27\lib\urllib2.py”, line 127, in urlopen
    return _opener.open(url, data, timeout)
    File “C:\Python27\lib\urllib2.py”, line 396, in open
    protocol = req.get_type()
    File “C:\Python27\lib\urllib2.py”, line 258, in get_type
    raise ValueError, “unknown url type: %s” % self.__original
    ValueError: unknown url type: /trailers.der
    —————————————-
    can somebody plz help ive done uninstalled everything and re-install it back but i keep getting the same message

    Reply
  30. Satwinder Chahal
    Satwinder Chahal says:

    hi can somebody help me ive tried my best to work plex connect on my apple tv but everytime i get the same out which is below

    16:37:46 PlexConnect: ***
    16:37:46 PlexConnect: PlexConnect
    16:37:46 PlexConnect: Press CTRL-C to shut down.
    16:37:46 PlexConnect: ***
    16:37:46 PlexConnect: started: 16:37:46
    16:37:46 PlexConnect: Version: 0.3.1+
    16:37:46 PlexConnect: Python: 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500
    32 bit (Intel)]
    16:37:46 PlexConnect: Host OS: win32
    16:37:46 PlexConnect: IP_self: 192.168.0.5
    16:37:46 DNSServer: started: 16:37:46
    16:37:46 DNSServer: ***
    16:37:46 DNSServer: DNSServer: Serving DNS on 192.168.0.5 port 53.
    16:37:46 DNSServer: intercept: [‘trailers.apple.com’] => 192.168.0.5
    16:37:46 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld
    .apple.com.edgesuite.net’] => 127.0.0.1
    16:37:46 DNSServer: forward other to higher level DNS: 8.8.8.8
    16:37:46 DNSServer: ***
    16:37:46 WebServer: started: 16:37:46
    16:37:46 WebServer: ***
    16:37:46 WebServer: WebServer: Serving HTTP on 192.168.0.5 port 80.
    16:37:46 WebServer: ***
    16:37:46 WebServer: started: 16:37:46
    16:37:46 WebServer: ***
    16:37:46 WebServer: WebServer: Serving HTTPS on 192.168.0.5 port 443.
    16:37:46 WebServer: ***
    16:38:12 WebServer: serving .xml: /trailers.der
    —————————————-
    Exception happened during processing of request from (‘192.168.0.6’, 49321)
    Traceback (most recent call last):
    File “C:\Python27\lib\SocketServer.py”, line 295, in _handle_request_noblock
    self.process_request(request, client_address)
    File “C:\Python27\lib\SocketServer.py”, line 321, in process_request
    self.finish_request(request, client_address)
    File “C:\Python27\lib\SocketServer.py”, line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
    File “C:\Python27\lib\SocketServer.py”, line 649, in __init__
    self.handle()
    File “C:\Python27\lib\BaseHTTPServer.py”, line 340, in handle
    self.handle_one_request()
    File “C:\Python27\lib\BaseHTTPServer.py”, line 328, in handle_one_request
    method()
    File “C:\PlexConnect-master\WebServer.py”, line 215, in do_GET
    XML = XMLConverter.XML_PMS2aTV(PMSaddress, self.path + args, options)
    File “C:\PlexConnect-master\XMLConverter.py”, line 412, in XML_PMS2aTV
    PMS = PlexAPI.getXMLFromPMS(PMS_baseURL, path, options, authtoken=auth_token
    )
    File “C:\PlexConnect-master\PlexAPI.py”, line 350, in getXMLFromPMS
    response = urllib2.urlopen(request, timeout=20)
    File “C:\Python27\lib\urllib2.py”, line 127, in urlopen
    return _opener.open(url, data, timeout)
    File “C:\Python27\lib\urllib2.py”, line 396, in open
    protocol = req.get_type()
    File “C:\Python27\lib\urllib2.py”, line 258, in get_type
    raise ValueError, “unknown url type: %s” % self.__original
    ValueError: unknown url type: /trailers.der
    —————————————-

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Satwinder,

      your cert file is not correctly generated. The problem seems to be the python installation. Did you install the right one I mentioned in this post?
      First, repeat the generation of the cert dile. If this doesn’t work, deinstall python and reinstall it again using the right python version.

      Cheers,
      Gee Are

      Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Satwinder,

      I don’t really know what you’re doing wrong, but your cert-file is not correct. The most common problem is a wrongly created cert-file. Repeat exactly the steps I describe in this post. If so, it must work.

      Cheers,
      Gee Are

      Reply
  31. peter
    peter says:

    Hi, I’m struggling to get my plexconnect to work. I get the following error after completing all setup instructions,

    C:\windows\system32>C:\Users\Pete\Desktop\PlexConnect-master\PlexConnect.py
    00:28:11 PlexConnect: ***
    00:28:11 PlexConnect: PlexConnect
    00:28:11 PlexConnect: Press CTRL-C to shut down.
    00:28:11 PlexConnect: ***
    00:28:11 PlexConnect: started: 00:28:11
    00:28:11 PlexConnect: IP_self: 192.168.0.98
    00:28:12 DNSServer: started: 00:28:12
    00:28:12 DNSServer: ***
    00:28:12 DNSServer: DNSServer: Serving DNS on port 53.
    00:28:12 DNSServer: intercept: [‘trailers.apple.com’, ‘atv.plexconnect’] => 192.
    168.0.98
    00:28:12 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld
    .apple.com.edgesuite.net’] => 127.0.0.1
    00:28:12 DNSServer: forward other to higher level DNS: 118.127.33.48
    00:28:12 DNSServer: ***
    00:28:12 WebServer: started: 00:28:12
    00:28:12 WebServer: ***
    00:28:12 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
    00:28:12 WebServer: ***
    00:28:12 PlexGDM: ***
    00:28:12 PlexGDM: looking up Plex Media Server
    00:28:12 PlexGDM: ***
    00:28:12 WebServer: started: 00:28:12
    00:28:12 WebServer: Failed to connect to HTTPS on 0.0.0.0 port 443: [Errno 10013
    ] An attempt was made to access a socket in a way forbidden by its access permis
    sions
    00:28:13 PlexGDM: servers discovered: 2
    00:28:13 XMLConverter: PlexGDM – PMS: 192.168.0.18:32400
    00:28:13 XMLConverter: PlexGDM – PMS: 192.168.0.98:32400

    I have run plexconnect through cmd with administrator privelages but this doesn’t bind port 80 and 443. I should note that I’m running plex media server on my NAS and on my PC and I have changed the settings file DNS address to reflect that of my PC and ATV as I am an Australian using ATV3 for Netflix as well.

    Any ideas on where to from here, any help is greatly appreciated.

    Thanks

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Peter,

      you should follow this post EXACTLY to get PlexConnect running. First, get it running on your PC. If PlexConnect is running on your PC go ahead and try it on your NAS.

      Your Problems:
      – The certificate is saved on the wrong place: C:\windows\system32>C:\Users\Pete\Desktop\PlexConnect-master\PlexConnect.py Save it on the two folders I mentioned in this post!
      – Check that your certificate profile is installed correctly on your Apple TV: Go to settings, general and then to profiles: There should be ‘trailers.apple.com’ as a profile.
      – Do not change the DNS address to get PlexConnect running on your PC!
      – For later, to get it running on your NAS, you maybe have to changed it on your account on plex.com, not in settings.py! For more information visit https://forums.plex.tv.

      Cheers,
      Gee Are

      Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Rodrigo,

      in most cases this is not an issue of ports blocked by other applications but a signal that the cert file is either not correctly created or installed. Another user could fix it by checking and correcting the cert file path. You must use the folder path exactly as I described in this post.

      However, you can also check your router if there is any program already using these ports. Go to your router settings and look for something like “port forwarding”. There should be the information if any program is already using port 80 and 443.

      Cheers,
      Gee Are

      Reply
  32. Howard Roark
    Howard Roark says:

    I had lots of trouble getting PlexConnect to be recognized on the Apple TV3 until I made a slight modification to the very end of the Windows 7-8-8-1 STEP 2.

    The step says to copy the new TRAILERS.PEM file into the ASSETS folder for PlexConnect. But copying TRAILERS.PEM wasn’t enough on my PC to connect with ATV3. So I also copied the files called-
    .RND
    TRAILERS.DER
    TRAILERS.KEY, and
    TRAILERS.PEM

    into the ASSETS folder for PlexConnect. And voila’ my Plex Media Server shows up.

    Maybe I just misread the steps? If not, this slight edit to step 2 may help others

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Howard,

      thank you very much for your feedback! I updated this post on step 2 as recommended by you! I think this update is necessary because PlexConnect was updated some time ago.

      Cheers,
      Gee Are

      Reply
  33. Mariano
    Mariano says:

    Hi, thanks for the great tutoria, i have a question, i am running on atv3 firmware 5.3 and have a certificate on plexconncet. My question is should i update firmware 5.3 to 6.2? is it better? Also i f i do update do i have to create again my certificate on plexconnect? Thanks in advance

    Reply
  34. Gail Hines
    Gail Hines says:

    Hi. I’m trying to install Plex Connect for the first time on a Windows 7 PC. I’ve followed all instructions but menu in Trailers does not change to my personal library. Here are some obstacles I encountered during the process:
    1. Python 2.7.6 was no longer available, so I installed 2.7.8
    2. First installation did not work, so I created new cert with the cert.create-2.bat file

    Any suggestions?

    Gail

    Reply
      • Gail Hines
        Gail Hines says:

        No, I do not get an error message of any sort. When I open the Trailers app, it just defaults to the menu that was available before I made any changes.

        Reply
        • Gee Are Pabst
          Gee Are Pabst says:

          Hi Gail,

          just to clarify: You see the original Apple trailers menu? If so, PlexConnect isn’t installed in any way. If PlexConnect is installed you will get a failure message ‘Trailers unavailable’, at least.

          If PlexConnect isn’t installed, you should repeat the entire process, following exactly every step described.

          Cheers,
          Gee Are

          Reply
  35. Bruno Zicarelli
    Bruno Zicarelli says:

    I would like to ask about the following, this is not my first time running the Plex on an aTV3, but for the last couple of months me and my brain had been struggle with this issue. None of both aTV I’ve are working with Plex.

    Did everything, DNS set as local machine running plex’s IP, cert created under C root as advise, software installed, everything. But after all this and even having the Trailers app inside aTV opening the Plex, none of the movies or files are watchable.

    Let me get this thru, aTV > Trailers > Plex… Movie covers are greyed, endless loading. Nothing further.

    Extract from PlexConnect.py

    19:01:52 PlexConnect: ***
    19:01:52 PlexConnect: PlexConnect
    19:01:52 PlexConnect: Press CTRL-C to shut down.
    19:01:52 PlexConnect: ***
    19:01:52 PlexConnect: started: 19:01:52
    19:01:52 PlexConnect: Version: 0.3.1+
    19:01:52 PlexConnect: Python: 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500
    32 bit (Intel)]
    19:01:52 PlexConnect: Host OS: win32
    19:01:52 PlexConnect: IP_self: 192.168.0.10
    19:01:52 DNSServer: started: 19:01:52
    19:01:52 DNSServer: ***
    19:01:52 DNSServer: DNSServer: Serving DNS on 192.168.0.10 port 53.
    19:01:52 DNSServer: intercept: [‘trailers.apple.com’] => 192.168.0.10
    19:01:52 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld
    .apple.com.edgesuite.net’] => 127.0.0.1
    19:01:52 DNSServer: forward other to higher level DNS: 8.8.8.8
    19:01:52 DNSServer: ***
    19:01:52 WebServer: started: 19:01:52
    19:01:52 WebServer: ***
    19:01:52 WebServer: WebServer: Serving HTTP on 192.168.0.10 port 80.
    19:01:52 WebServer: ***
    19:01:52 WebServer: started: 19:01:52
    19:01:52 WebServer: ***
    19:01:52 WebServer: WebServer: Serving HTTPS on 192.168.0.10 port 443.
    19:01:52 WebServer: ***
    19:01:54 DNSServer: DNS request received!
    19:01:55 DNSServer: Source: (‘192.168.0.11’, 57193)
    19:01:55 DNSServer: Domain: 14-courier.push.apple.com
    19:01:55 DNSServer: ***forward request
    19:01:55 DNSServer: -> DNS response from higher level

    Settings.py

    [PlexConnect]
    enable_plexgdm = True
    ip_pms = 192.168.0.10
    port_pms = 32400
    enable_dnsserver = True
    port_dnsserver = 53
    ip_dnsmaster = 8.8.8.8
    prevent_atv_update = True
    enable_plexconnect_autodetect = True
    ip_plexconnect = 0.0.0.0
    hosttointercept = trailers.apple.com
    port_webserver = 80
    enable_webserver_ssl = True
    port_ssl = 443
    certfile = ./assets/certificates/trailers.pem
    loglevel = Normal
    logpath = .

    Please Gee Are… Tell me you know how to fix this!

    Thanks in advance. Sorry for the rough explanation

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Bruno,

      first, check that you are using the latest Apple TV 6.2 software, Plex and PlexConnect.

      Then I think it is more a Problem of Plex Media Server than a problem of PlexConnect (your log file seems to be OK). I recommend to un-install Plex Media Server from your PC, reboot and install Plex Media Server again (Download: https://plex.tv/downloads).

      Cheers,
      Gee Are

      Reply
      • Bruno Zicarelli
        Bruno Zicarelli says:

        Yup, did that. But still no luck, I can see the Plex under Trailers shortcut on the aTV3 but yet movies are greyed out, in fact I did remove every Plex related thing inside the PC, AppData, ProgramData, & stuff.

        Let me past the current Python log for Plexconnect

        16:29:05 DNSServer: DNS request received!
        16:29:05 DNSServer: Source: (‘192.168.0.18’, 60980)
        16:29:05 DNSServer: Domain: s2.symcb.com
        16:29:05 DNSServer: ***forward request
        16:29:05 DNSServer: -> DNS response from higher level
        16:29:35 DNSServer: DNS request received!
        16:29:35 DNSServer: Source: (‘192.168.0.18’, 64572)
        16:29:35 DNSServer: Domain: init.itunes.apple.com
        16:29:35 DNSServer: ***forward request
        16:29:35 DNSServer: -> DNS response from higher level
        16:29:37 DNSServer: DNS request received!
        16:29:37 DNSServer: Source: (‘192.168.0.18’, 51769)
        16:29:37 DNSServer: Domain: init-p01st.push.apple.com
        16:29:37 DNSServer: ***forward request
        16:29:37 DNSServer: -> DNS response from higher level
        16:29:37 DNSServer: DNS request received!
        16:29:37 DNSServer: Source: (‘192.168.0.18’, 61022)
        16:29:37 DNSServer: Domain: http://www.apple.com
        16:29:37 DNSServer: ***forward request
        16:29:38 DNSServer: -> DNS response from higher level
        16:29:38 DNSServer: DNS request received!
        16:29:38 DNSServer: Source: (‘192.168.0.18’, 52466)
        16:29:38 DNSServer: Domain: xp.apple.com
        16:29:38 DNSServer: ***forward request
        16:29:39 DNSServer: -> DNS response from higher level
        16:29:39 DNSServer: DNS request received!
        16:29:39 DNSServer: Source: (‘192.168.0.18’, 49221)
        16:29:39 DNSServer: Domain: p10-buy.itunes.apple.com
        16:29:39 DNSServer: ***forward request
        16:29:39 DNSServer: -> DNS response from higher level
        16:29:39 DNSServer: DNS request received!
        16:29:39 DNSServer: Source: (‘192.168.0.18’, 50356)
        16:29:39 DNSServer: Domain: itunes.apple.com
        16:29:39 DNSServer: ***forward request
        16:29:39 DNSServer: -> DNS response from higher level
        16:29:39 DNSServer: DNS request received!
        16:29:39 DNSServer: Source: (‘192.168.0.18’, 53707)
        16:29:39 DNSServer: Domain: configuration.apple.com
        16:29:39 DNSServer: ***forward request
        16:29:39 DNSServer: -> DNS response from higher level
        16:29:39 DNSServer: DNS request received!
        16:29:39 DNSServer: Source: (‘192.168.0.18’, 53387)
        16:29:39 DNSServer: Domain: 10-courier.push.apple.com
        16:29:39 DNSServer: ***forward request
        16:29:39 DNSServer: -> DNS response from higher level
        16:29:39 DNSServer: DNS request received!
        16:29:39 DNSServer: Source: (‘192.168.0.18’, 61022)
        16:29:39 DNSServer: Domain: http://www.apple.com
        16:29:39 DNSServer: ***forward request
        16:29:39 DNSServer: -> DNS response from higher level
        16:29:39 DNSServer: DNS request received!
        16:29:39 DNSServer: Source: (‘192.168.0.18’, 52466)
        16:29:39 DNSServer: Domain: xp.apple.com
        16:29:39 DNSServer: ***forward request
        16:29:39 DNSServer: -> DNS response from higher level
        16:29:39 DNSServer: DNS request received!
        16:29:39 DNSServer: Source: (‘192.168.0.18’, 49221)
        16:29:39 DNSServer: Domain: p10-buy.itunes.apple.com
        16:29:39 DNSServer: ***forward request
        16:29:39 DNSServer: -> DNS response from higher level
        16:29:39 DNSServer: DNS request received!
        16:29:39 DNSServer: Source: (‘192.168.0.18’, 50356)
        16:29:39 DNSServer: Domain: itunes.apple.com
        16:29:39 DNSServer: ***forward request
        16:29:39 DNSServer: -> DNS response from higher level
        16:29:39 DNSServer: DNS request received!
        16:29:39 DNSServer: Source: (‘192.168.0.18’, 53707)
        16:29:39 DNSServer: Domain: configuration.apple.com
        16:29:39 DNSServer: ***forward request
        16:29:39 DNSServer: -> DNS response from higher level
        16:29:39 DNSServer: DNS request received!
        16:29:39 DNSServer: Source: (‘192.168.0.18’, 53387)
        16:29:39 DNSServer: Domain: 10-courier.push.apple.com
        16:29:39 DNSServer: ***forward request
        16:29:39 DNSServer: -> DNS response from higher level
        16:29:39 DNSServer: DNS request received!
        16:29:39 DNSServer: Source: (‘192.168.0.18’, 64020)
        16:29:39 DNSServer: Domain: pd-st.itunes.apple.com
        16:29:39 DNSServer: ***forward request
        16:29:39 DNSServer: -> DNS response from higher level
        16:29:39 DNSServer: Warning: DNS error (10054): Se ha forzado la interrupci?n de
        una conexi?n existente por el host remoto
        16:29:39 DNSServer: Warning: DNS error (10054): Se ha forzado la interrupci?n de
        una conexi?n existente por el host remoto
        16:29:39 DNSServer: Warning: DNS error (10054): Se ha forzado la interrupci?n de
        una conexi?n existente por el host remoto
        16:29:39 DNSServer: Warning: DNS error (10054): Se ha forzado la interrupci?n de
        una conexi?n existente por el host remoto
        16:29:39 DNSServer: Warning: DNS error (10054): Se ha forzado la interrupci?n de
        una conexi?n existente por el host remoto
        16:29:39 DNSServer: Warning: DNS error (10054): Se ha forzado la interrupci?n de
        una conexi?n existente por el host remoto
        16:30:03 DNSServer: DNS request received!
        16:30:03 DNSServer: Source: (‘192.168.0.11’, 59474)
        16:30:03 DNSServer: Domain: init.itunes.apple.com
        16:30:03 DNSServer: ***forward request
        16:30:04 DNSServer: -> DNS response from higher level
        16:30:06 DNSServer: DNS request received!
        16:30:06 DNSServer: Source: (‘192.168.0.11’, 49477)
        16:30:06 DNSServer: Domain: bookkeeper.itunes.apple.com
        16:30:06 DNSServer: ***forward request
        16:30:06 DNSServer: -> DNS response from higher level
        16:30:06 DNSServer: DNS request received!
        16:30:06 DNSServer: Source: (‘192.168.0.11’, 58034)
        16:30:06 DNSServer: Domain: xp.apple.com
        16:30:06 DNSServer: ***forward request
        16:30:06 DNSServer: -> DNS response from higher level
        16:30:07 DNSServer: DNS request received!
        16:30:07 DNSServer: Source: (‘192.168.0.11’, 52715)
        16:30:07 DNSServer: Domain: itunes.apple.com
        16:30:07 DNSServer: ***forward request
        16:30:07 DNSServer: -> DNS response from higher level
        16:30:07 DNSServer: DNS request received!
        16:30:07 DNSServer: Source: (‘192.168.0.11’, 57257)
        16:30:07 DNSServer: Domain: p10-buy.itunes.apple.com
        16:30:07 DNSServer: ***forward request
        16:30:07 DNSServer: -> DNS response from higher level
        16:30:07 DNSServer: DNS request received!
        16:30:07 DNSServer: Source: (‘192.168.0.11’, 62138)
        16:30:07 DNSServer: Domain: init-p01st.push.apple.com
        16:30:07 DNSServer: ***forward request
        16:30:07 DNSServer: -> DNS response from higher level
        16:30:07 DNSServer: DNS request received!
        16:30:07 DNSServer: Source: (‘192.168.0.11’, 49966)
        16:30:07 DNSServer: Domain: http://www.apple.com
        16:30:07 DNSServer: ***forward request
        16:30:07 DNSServer: -> DNS response from higher level
        16:30:07 DNSServer: DNS request received!
        16:30:07 DNSServer: Source: (‘192.168.0.11’, 54734)
        16:30:07 DNSServer: Domain: EVIntl-ocsp.verisign.com
        16:30:07 DNSServer: ***forward request
        16:30:07 DNSServer: -> DNS response from higher level
        16:30:07 DNSServer: DNS request received!
        16:30:07 DNSServer: Source: (‘192.168.0.11’, 60894)
        16:30:07 DNSServer: Domain: 48-courier.push.apple.com
        16:30:07 DNSServer: ***forward request
        16:30:08 DNSServer: -> DNS response from higher level
        16:30:08 DNSServer: DNS request received!
        16:30:08 DNSServer: Source: (‘192.168.0.11’, 57150)
        16:30:08 DNSServer: Domain: pd-st.itunes.apple.com
        16:30:08 DNSServer: ***forward request
        16:30:08 DNSServer: -> DNS response from higher level
        16:30:08 DNSServer: DNS request received!
        16:30:08 DNSServer: Source: (‘192.168.0.11’, 58086)
        16:30:08 DNSServer: Domain: upp.itunes.apple.com
        16:30:08 DNSServer: ***forward request
        16:30:08 DNSServer: -> DNS response from higher level
        16:30:08 DNSServer: DNS request received!
        16:30:08 DNSServer: Source: (‘192.168.0.11’, 62431)
        16:30:08 DNSServer: Domain: configuration.apple.com
        16:30:08 DNSServer: ***forward request
        16:30:09 DNSServer: -> DNS response from higher level
        16:30:12 DNSServer: DNS request received!
        16:30:12 DNSServer: Source: (‘192.168.0.11’, 55351)
        16:30:12 DNSServer: Domain: play.itunes.apple.com
        16:30:12 DNSServer: ***forward request
        16:30:12 DNSServer: -> DNS response from higher level
        16:30:19 DNSServer: DNS request received!
        16:30:19 DNSServer: Source: (‘192.168.0.18’, 54182)
        16:30:19 DNSServer: Domain: cl2.apple.com
        16:30:19 DNSServer: ***forward request
        16:30:20 DNSServer: -> DNS response from higher level
        16:30:20 DNSServer: DNS request received!
        16:30:20 DNSServer: Source: (‘192.168.0.18’, 58040)
        16:30:20 DNSServer: Domain: init.itunes.apple.com
        16:30:20 DNSServer: ***forward request
        16:30:20 DNSServer: -> DNS response from higher level
        16:30:20 DNSServer: DNS request received!
        16:30:20 DNSServer: Source: (‘192.168.0.18’, 56138)
        16:30:20 DNSServer: Domain: s2.symcb.com
        16:30:20 DNSServer: ***forward request
        16:30:21 DNSServer: -> DNS response from higher level
        16:30:21 DNSServer: DNS request received!
        16:30:21 DNSServer: Source: (‘192.168.0.18’, 50202)
        16:30:21 DNSServer: Domain: init.ess.apple.com
        16:30:21 DNSServer: ***forward request
        16:30:21 DNSServer: -> DNS response from higher level
        16:30:21 DNSServer: DNS request received!
        16:30:21 DNSServer: Source: (‘192.168.0.18’, 56138)
        16:30:21 DNSServer: Domain: s2.symcb.com
        16:30:21 DNSServer: ***forward request
        16:30:21 DNSServer: -> DNS response from higher level
        16:30:21 DNSServer: DNS request received!
        16:30:21 DNSServer: Source: (‘192.168.0.18’, 55865)
        16:30:21 DNSServer: Domain: SVRSecure-G3-aia.verisign.com
        16:30:21 DNSServer: ***forward request
        16:30:22 DNSServer: -> DNS response from higher level
        16:30:22 DNSServer: DNS request received!
        16:30:22 DNSServer: Source: (‘192.168.0.18’, 60099)
        16:30:22 DNSServer: Domain: gs-loc.apple.com
        16:30:22 DNSServer: ***forward request
        16:30:22 DNSServer: -> DNS response from higher level
        16:30:22 DNSServer: DNS request received!
        16:30:22 DNSServer: Source: (‘192.168.0.18’, 53420)
        16:30:22 DNSServer: Domain: xp.apple.com
        16:30:22 DNSServer: ***forward request
        16:30:22 DNSServer: -> DNS response from higher level
        16:30:22 DNSServer: DNS request received!
        16:30:22 DNSServer: Source: (‘192.168.0.18’, 60217)
        16:30:22 DNSServer: Domain: itunes.apple.com
        16:30:22 DNSServer: ***forward request
        16:30:22 DNSServer: -> DNS response from higher level
        16:30:22 DNSServer: DNS request received!
        16:30:22 DNSServer: Source: (‘192.168.0.18’, 50027)
        16:30:22 DNSServer: Domain: p10-buy.itunes.apple.com
        16:30:22 DNSServer: ***forward request
        16:30:23 DNSServer: -> DNS response from higher level
        16:30:23 DNSServer: DNS request received!
        16:30:23 DNSServer: Source: (‘192.168.0.18’, 49812)
        16:30:23 DNSServer: Domain: http://www.apple.com
        16:30:23 DNSServer: ***forward request
        16:30:23 DNSServer: -> DNS response from higher level
        16:30:23 DNSServer: DNS request received!
        16:30:23 DNSServer: Source: (‘192.168.0.18’, 58229)
        16:30:23 DNSServer: Domain: configuration.apple.com
        16:30:23 DNSServer: ***forward request
        16:30:23 DNSServer: -> DNS response from higher level
        16:30:24 DNSServer: DNS request received!
        16:30:24 DNSServer: Source: (‘192.168.0.18’, 61822)
        16:30:24 DNSServer: Domain: pd-st.itunes.apple.com
        16:30:24 DNSServer: ***forward request
        16:30:24 DNSServer: -> DNS response from higher level
        16:30:25 DNSServer: DNS request received!
        16:30:25 DNSServer: Source: (‘192.168.0.18’, 49992)
        16:30:25 DNSServer: Domain: init-p01st.push.apple.com
        16:30:25 DNSServer: ***forward request
        16:30:25 DNSServer: -> DNS response from higher level
        16:30:25 DNSServer: DNS request received!
        16:30:25 DNSServer: Source: (‘192.168.0.18’, 60732)
        16:30:25 DNSServer: Domain: 50-courier.push.apple.com
        16:30:25 DNSServer: ***forward request
        16:30:26 DNSServer: -> DNS response from higher level
        16:30:26 DNSServer: DNS request received!
        16:30:26 DNSServer: Source: (‘192.168.0.18’, 51929)
        16:30:26 DNSServer: Domain: se.itunes.apple.com
        16:30:26 DNSServer: ***forward request
        16:30:27 DNSServer: -> DNS response from higher level
        16:30:27 DNSServer: DNS request received!
        16:30:27 DNSServer: Source: (‘192.168.0.18’, 57180)
        16:30:27 DNSServer: Domain: a3.mzstatic.com
        16:30:27 DNSServer: ***forward request
        16:30:27 DNSServer: -> DNS response from higher level
        16:30:28 DNSServer: DNS request received!
        16:30:28 DNSServer: Source: (‘192.168.0.18’, 60726)
        16:30:28 DNSServer: Domain: a2.mzstatic.com
        16:30:28 DNSServer: ***forward request
        16:30:28 DNSServer: -> DNS response from higher level
        16:30:28 DNSServer: DNS request received!
        16:30:28 DNSServer: Source: (‘192.168.0.18’, 58189)
        16:30:28 DNSServer: Domain: a5.mzstatic.com
        16:30:28 DNSServer: ***forward request
        16:30:28 DNSServer: -> DNS response from higher level
        16:30:28 DNSServer: DNS request received!
        16:30:28 DNSServer: Source: (‘192.168.0.18’, 57420)
        16:30:28 DNSServer: Domain: a4.mzstatic.com
        16:30:28 DNSServer: ***forward request
        16:30:28 DNSServer: -> DNS response from higher level
        16:30:32 DNSServer: DNS request received!
        16:30:32 DNSServer: Source: (‘192.168.0.18’, 56493)
        16:30:32 DNSServer: Domain: play.itunes.apple.com
        16:30:32 DNSServer: ***forward request
        16:30:32 DNSServer: -> DNS response from higher level
        16:30:32 DNSServer: DNS request received!
        16:30:32 DNSServer: Source: (‘192.168.0.18’, 53630)
        16:30:32 DNSServer: Domain: trailers.apple.com
        16:30:32 DNSServer: ***intercept request
        16:30:32 DNSServer: -> DNS response: 192.168.0.10
        16:30:33 WebServer: serving /js/application.js
        16:30:33 WebServer: serving .xml: /
        16:30:33 ATVSettings: add section F6LMGCPEFF54
        16:30:33 PlexAPI: ***
        16:30:33 PlexAPI: looking up Plex Media Server
        16:30:33 PlexAPI: ***
        16:30:34 PlexAPI: GDM: Servers discovered: 1
        16:30:34 PlexAPI: Servers (local+MyPlex): 1
        16:30:34 WebServer: serving .xml: /PlexConnect.xml
        16:30:34 WebServer: serving /js/utils.js
        16:30:34 WebServer: serving .xml: /library/sections
        16:30:34 WebServer: serving /js/utils.js
        16:30:34 WebServer: serving /js/sectionHoldSelect.js
        16:30:35 WebServer: serving .xml: /library/sections/1/recentlyAdded
        16:30:40 DNSServer: DNS request received!
        16:30:40 DNSServer: Source: (‘192.168.0.18’, 61415)
        16:30:40 DNSServer: Domain: e2842.e9.akamaiedge.net
        16:30:40 DNSServer: ***forward request
        16:30:40 DNSServer: -> DNS response from higher level
        16:30:51 WebServer: serving .xml: /channels/all
        16:30:51 WebServer: serving /js/utils.js
        16:30:52 WebServer: serving .xml: /library/sections
        16:30:52 WebServer: serving /js/utils.js
        16:30:53 WebServer: serving /js/sectionHoldSelect.js
        16:30:53 WebServer: serving .xml: /library/sections/1/recentlyAdded
        16:30:54 WebServer: serving .xml: /library/sections/1
        16:30:54 WebServer: serving /js/utils.js
        16:30:54 WebServer: serving /js/updateXML.js
        16:30:54 WebServer: serving .xml: /library/sections/1
        16:30:55 WebServer: serving /js/utils.js
        16:30:55 WebServer: serving /js/updateXML.js
        16:30:55 WebServer: serving /js/settings.js

        Sorry the long-long-long post, just want to get rid of this.

        Thanks in advance!

        Reply
        • Gee Are Pabst
          Gee Are Pabst says:

          Hi Bruno,

          still looks like a Plex Media Server issue. My guess is that you have a corrupted Plex Media Server or some weird settings that is hard to diagnose for me.
          To solve this issue, you should ask the PlexConnect Pros on the Plex Forum. Please, post your issue here: https://forums.plex.tv/index.php/forum/136-appletv-plexconnect/

          I’m absolutely sure that these PlexConnect geek guys will help you and will solve this complicated problem! :-)

          Would be great, if you will post the solution here, too. Thanks!

          Cheers,
          Gee Are

          Reply
  36. davemikhael
    davemikhael says:

    Hello, thank you for all your help, this was extremely simple to follow!
    I went through all the steps, and it worked first time, all my moves, TV shows and everything came through the Apple TV! I was ecstatic! Unfortunately, it was short lived, as once I tried to access this again after some time, the message comes up “Trailers is unavailable. Try again later”…furthermore, unless I change the DNS address back to automatic, I cannot access anything in the Apple TV?
    I had a look in the comments to see if someone else already raised this, but, it doesn’t seem like this has happened to anyone.
    I noticed that you suggested some people try re-doing again, which I just, I had the exact same problem, worked once I completed it, but,once the ATV goes to sleep, and I try to get back into it, no luck.

    Are you able to assist? Getting my media up from my PC in the study on my TV in the living room in that nice user friendly format is something I am very keen to get up and going.

    Thank you once again!

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi davemikhael,

      the DNS address has to be set to manual. Use the IP address of your PC on which Plex Media Server is running. Plex Media Server is needed to be on permanently.
      Yes, it is true that you have to switch the DNS address back to automatic to use all Apple TV features, especially software update, iCloud,…
      Check the IP address again or switch it back to the PC’s one. Then PlexConnect should work again without repeating the installation.

      Cheers,
      Gee Are

      Reply
  37. Leif-Harald Nesheim
    Leif-Harald Nesheim says:

    I have followed your instructions, did not get any error messages.
    Im on a win7 pc.

    But when I go to trailers, it starts accessing trailers, and then after a minute or 2, it say: Trailers is unavailable. Try again later

    Any suggestions?

    Reply
  38. davemikhael
    davemikhael says:

    Hello,

    (I’m not sure if my last comments from a few days came through as they were not posted on the site)
    I had followed the instructions you laid out with the greatest of ease, thanks for taking the time to post this up, it was a great help.
    Once I followed these instructions, I went into the Trailers app on the ATV3, and it worked without a problem. Once the device is off, and I tried to get back into it later, it tells me that it is unavailable, on top of that, I cannot access anything on the ATV, it is like there is no internet connection and the only way to get the basic ATV functions working on it is to change the DNS address back to what it was.
    As per some of the other suggestions you left for other users, I tried to repeat these steps, with the exact same thing happening again.
    Your help would be greatly appreciated as I do not know what I have done wrong here.

    Thank you very much.

    Reply
    • davemikhael
      davemikhael says:

      Sorry mate, just saw the reply to my original post – yes, I set the ATV to manual and entered in the PC’s IP address.
      I did not turn the PC off, but, maybe it was in sleep mode, does this effect it? Is that why it worked initially but not after I tried to access it at a later date?

      Reply
      • Gee Are Pabst
        Gee Are Pabst says:

        Hi davemikhael,

        if you PC is in sleep mode, the Plex Media Server is off, too! The PC has to be running all the time. Change the settings: Switch sleep mode off and hard disk always on.

        BTW, you can automatically follow by email these comments by activating “Follow Comment”…

        Cheers,
        Gee Are

        Reply
  39. Sam Marsden
    Sam Marsden says:

    Hi, Great tutorial. Got everything working fine, profile is installed etc except when I go to the trailers app on my ATV 3 it opens the normal trailers page, even though I have Plexconnect running. Any ideas?

    Reply
  40. Usman
    Usman says:

    If i want to use iMoves instead of “trailers” on Apple TV, what changes in the steps that you have documented above?

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Usman,

      to use iMovie Theater app instead of Trailers app, do the following:

      Get the latest version of PlexConnect from GitHub and run it, it will add the “hosttointercept” config parameter. You’ll need to add another cert onto your ATV. It can be installed alongside the one you’ve already installed in your profile

      Change the “cert.create.bat” to:

      C:\OpenSSL-Win32\bin\openssl.exe req -new -nodes -newkey rsa:2048 -out C:.\imovie.pem -keyout C:.\imovie.key -x509 -days 7300 -subj “/C=US/CN=www.icloud.com” -config C:\OpenSSL-Win32\bin\openssl.cfg

      C:\OpenSSL-Win32\bin\openssl.exe x509 -in C:.\trailers.pem -outform der -out C:.\imovie.der

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

      imovie.der

      Then, run the “cert.create.bat” as described in this post.

      Next, edit your “Settings.cfg” file to hosttointercept = http://www.icloud.com.

      Finally, add the new certificate as a new profile to your ATV as described in this post, restart your PC and ATV.

      Cheers,
      Gee Are

      Reply
      • Usman
        Usman says:

        Hi Gee,
        Thanks – i will try it out today and let you know my findings. Hopefully it should go smoothly, but if not, will come back to you asking for more help :)

        appreciate your help…
        –Usman

        Reply
        • Usman
          Usman says:

          Update:
          first things first:

          C:\OpenSSL-Win32\bin\openssl.exe req -new -nodes -newkey rsa:2048 -out C:.\imovie.pem -keyout C:.\imovie.key -x509 -days 7300 -subj “/C=US/CN=www.icloud.com” -config C:\OpenSSL-Win32\bin\openssl.cfg

          C:\OpenSSL-Win32\bin\openssl.exe x509 -in C:.\trailers.pem -outform der -out C:.\imovie.der

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

          imovie.der

          *****
          in the above, the command you have recommended:
          C:\OpenSSL-Win32\bin\openssl.exe x509 -in C:.\trailers.pem -outform der -out C:.\imovie.der

          I am assuming is a typo, where it says C:.\trailers.pem? this should be C:.\imovie.pem… do I have that correct?

          Assuming that it was a typo, I replaced trailers with iMovie.

          I moved the certs to the C:\PlexConnect\assets\certificates folder.

          When I try to push the certificate to my Apple TV (with the following command http:///imove.der, I am getting the following error on the Apple TV:

          Unable to add profile
          An error occurred while adding the profile [4001]. Check the URL and try again.

          Also, when I run the PlexConnect on the machine where I have my PMS, I am getting following it shows it cannot access the 443 port (even though it is open and allows for incoming connections.
          Would that have any issues?

          Any thoughts on what the issue could be, that is preventing the certs from being added to the Apple TV?
          –Usman

          Reply
          • Gee Are Pabst
            Gee Are Pabst says:

            Hi Usman,

            first, you’re right it is a typo: It should be iMovie… :-)

            Second, you have to point to http://your-computer-IP-address/imovie.der. If you try to install the cert file without USB and you get still stuck, check the installation via USB and iPhone Configuration utility. It seems that there are general issues without USB. I got similar problems at the moment.

            Third, shut down PlexConnect and PMS and reboot your PC. This should solve the 443 issue. After that, start PMS and PlexConnect again.

            BTW, I’m writing a detailed step-by-step tutorial about this right now. I hope I can finish it within the next days (maybe on Monday). :-)

            Cheers,
            Gee Are

            Reply
            • Usman
              Usman says:

              Hi Gee,
              Thanks – I will give the cert installation via USB a try just now.

              I tried shutting down the PMS, PlexConnect and Server and rebooting it, but I am still getting the same issues. Cannot seem to figure out why this is happening.

              Will report back how the cert installation goes, with the USB option.

              Will be looking forward to the detailed tutorial (do try to include as many screenshots as possible. I have found that screenshots are very helpful :)
              –Usman

              Reply
              • Usman
                Usman says:

                don’t know what the problem is, but for some reason my notebook does not recognize the Apple TV when I connect to it via USB….
                any suggestions?

                Reply
                • Gee Are Pabst
                  Gee Are Pabst says:

                  Hi Usman,

                  check another micro USB cable. I got 5 micro USB cables and only one (a HTC) is working. don’t know why, but there seems to be quality differences in the USB cables.

                  Cheers,
                  Gee Are

                  Reply
              • Gee Are Pabst
                Gee Are Pabst says:

                Hi Usmann,

                first, check your original set up with the trailers app. This should work before you start to set up any alternative. Which ATV software version do you use? And which ATV model do you have? Is it jailbroken or not?

                If you got problems with the iMovie certificate, check this alternative:
                C:\OpenSSL-Win32\bin\openssl.exe req -new -nodes -newkey rsa:2048 -out C:.\trailers.pem -keyout C:.\trailers.key -x509 -days 7300 -subj “/C=US/CN=www.icloud.com” -config C:\OpenSSL-Win32\bin\openssl.cfg

                C:\OpenSSL-Win32\bin\openssl.exe x509 -in C:.\trailers.pem -outform der -out C:.\trailers.der

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

                trailers.der

                Only the “www.cloud.com” is changed. Maybe there could be a problem of PlexConnect to recognize other names as “trailers.xyz”.

                My tutorial will contain a lot of screenshots. :-)
                Right now, I’m also struggling with some issues. I don’t know, maybe something is changed… We will see.

                I’ll be back…

                Cheers,
                Gee Are

                Reply
                • Usman
                  Usman says:

                  Hi Gee,
                  Thanks for the suggestions. I will try using a different USB cable and see if I am able to get thru recognizing the device on my notebook.

                  I do not want to mess with the current certificates on my Apple TV, because I have Plexify running perfectly fine. That’s why I wanted to go the iMovie route.

                  I don’t want to get into a position where the PlexConnect does work and my Plexify installation also gets messed up :)
                  if you know what I mean.

                  Having PlexConnect run via a Windows notebook, will be more awesome, as I will be able to free up my mac air.

                  I am running Apple TV 3, with fw 6.2 and it is NOT jail broken. Does that change any of the steps?
                  –Usman

                  Reply
                    • Usman
                      Usman says:

                      Hi Gee,
                      Thanks for the suggestion. But the whole idea is to free up my mac book :-)
                      I want to use OpenConnect on a Windows platform, so that I am free to take my apple notebook around with me, right now, since I have Plexify running on it, and Plex is heavily used at my home… I have to leave my mac at home :(

                      so, seeing the option of running OpenConnect on a windows box is making my mouth watery, since I can take back my mac air for my own use :)

                      thoughts?
                      –Usman

                    • Usman
                      Usman says:

                      Hi Gee,
                      Many thanks for the steps.

                      Any thoughts on how I can free up the 443 port? I have not been able to figure out which app is using the 443 port? when I check for open ports, I can see that 443 is open, but everytime I run PlexConnect, I get the same error:
                      “Failed to connect to HTTPS on 10.x.x.x port 443: [Errno 10013]. An attempt was made to access a socket in a way forbidden by its access permissions”

                      very baffling… any suggestions/thoughts here?

                      –Usman

                    • Gee Are Pabst
                      Gee Are Pabst says:

                      Hi Usman,

                      which app are you trying to hijack? Does it work with trailers app? Have you already tested WSJ? I got some problems with iMovie, WSJ is running seamlessly…

                      Cheers,
                      Gee Are

                    • Usman
                      Usman says:

                      Have not tried with WSJ – what changes in the settings would I need to do if I wanted to hijack WSJ? if you can give me the changes, I can give that a shot right now.

                    • Usman
                      Usman says:

                      Hi Gee,
                      Awesome – thanks. Sorry, didn’t notice it before.
                      Let me give that a shot and will report back with any new issues I run into.

                      Many thanks for all your suggestions and advice… and not to mention the detailed steps :)
                      –Usman

                    • Usman
                      Usman says:

                      Hi Gee,
                      So I was finally able to successfully install the certificate on the Apple TV.

                      I followed the WSJ certificate. Now the issue I am seeing is that the WSJ on the Apple TV is returning trailers not found error.

                      I was also able to isolate the 443 port, turned out it was Remote Access controlling this port, so I disabled it.

                      Any thoughts, why I am seeing this issue?

                    • Gee Are Pabst
                      Gee Are Pabst says:

                      Hi Usman,

                      please, check the following:
                      – Check that the cert is installed correctly. On your ATV go to ‘General’, scroll down to ‘Send datat to Apple’ and press the Play-button of your ATV remote. Now you should see your profile/certificate.
                      – Stop and Restart Plex and PlexConnect.
                      – Reboot your Apple TV (before rebooting switch back to automatic DNS, then switch back to your Plex Media Server DNS

                      If this all doesn’t help then most properly the cert file was not either generated properly or installed. Then you should repeat the entire process.

                      Cheers,
                      Gee Are

      • Usman
        Usman says:

        Hi Gee,

        Just to be clear, the “send data to apple” should be showing “no”. Right? Because that is where it is set to right now as well.
        –Usman

        Reply
  41. Pat
    Pat says:

    hello, come with me following error. can I get help?
    05:53:15 PlexConnect: ***
    05:53:15 PlexConnect: PlexConnect
    05:53:15 PlexConnect: Press CTRL-C to shut down.
    05:53:15 PlexConnect: ***
    05:53:15 PlexConnect: started: 05:53:15
    05:53:15 PlexConnect: Version: 0.4+
    05:53:15 PlexConnect: Python: 2.7.6 (default, November 10, 2013, 19:24:24) [MSC v.1500
      64 bit (AMD64)]
    05:53:15 PlexConnect: Host OS: win32
    05:53:15 PlexConnect: IP_self: 192.168.192.12
    05:53:15 DNSServer: started: 05:53:15
    05:53:15 DNSServer: ***
    05:53:15 DNS server: DNS server: DNS Serving on 192.168.192.12 port 53rd
    05:53:15 DNSServer: intercept: [‘trailers.apple.com’] => 192.168.192.12
    05:53:15 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld
    .apple.com.edgesuite.net ‘] => 127.0.0.1
    05:53:15 DNSServer: forward to other higher level DNS: 8.8.8.8
    05:53:15 DNSServer: ***
    05:53:15 WebServer: started: 05:53:15
    05:53:15 webserver: Failed to connect to HTTP port 80 on 192.168.192.12: [Errno
    10013] Access to a socket was due to the access rights of the socket
    unzulõssig
    05:53:15 WebServer: started: 05:53:15
    05:53:15 WebServer: ***
    05:53:15 WebServer: WebServer: Serving HTTPS on 192.168.192.12 port 443rd
    05:53:15 WebServer: ***

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Pat,

      the port 80 is occupied by another application. First, reboot your computer and try again. If this doesn’t help, you must look for the application which is using port 80 (FTP client?) and then deactivate it.

      Cheers,
      Gee Are

      Reply
  42. Nuwanda
    Nuwanda says:

    Thanks for the detailed instruction… everything went very smooth, no error or anything, however ATV3 says “trailers not available, try later”?

    32 bit (Intel)]
    19:24:40 PlexConnect: Host OS: win32
    19:24:40 PlexConnect: IP_self: 192.168.1.81
    19:24:40 DNSServer: started: 19:24:40
    19:24:40 DNSServer: ***
    19:24:40 DNSServer: DNSServer: Serving DNS on 192.168.1.81 port 53.
    19:24:40 DNSServer: intercept: [‘trailers.apple.com’] => 192.168.1.81
    19:24:40 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld
    .apple.com.edgesuite.net’] => 127.0.0.1
    19:24:40 DNSServer: forward other to higher level DNS: 8.8.8.8
    19:24:40 DNSServer: ***
    19:24:41 WebServer: started: 19:24:41
    19:24:41 WebServer: ***
    19:24:41 WebServer: WebServer: Serving HTTP on 192.168.1.81 port 80.
    19:24:41 WebServer: ***
    19:24:41 WebServer: started: 19:24:41
    19:24:41 WebServer: ***
    19:24:41 WebServer: WebServer: Serving HTTPS on 192.168.1.81 port 443.
    19:24:41 WebServer: ***
    19:25:00 DNSServer: DNS request received!
    19:25:00 DNSServer: Source: (‘192.168.1.6’, 64063)
    19:25:00 DNSServer: Domain: trailers.apple.com
    19:25:00 DNSServer: ***intercept request
    19:25:00 DNSServer: -> DNS response: 192.168.1.81

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Nuwanda,

      it’s always the certificate (“golden rule” for PlexConnect issues). Check that your certificate is installed on your Apple TV (Go to Settings on your ATV). If not, install it again, if it is installed, delete the profile and install it again. if this does not help, the certificate file is defect. Generate it again and install it via USB method.

      Cheers,
      Gee Are

      Reply
  43. Erik
    Erik says:

    Hi Are,
    i’ve follow the guide step to step…I can able to create certificate without errors, I copy on certificates folder, I run PlexConnect.py, I change ATV DNS but when I try to add profile I’ve back error 4001 from ATV. The certificate is correctly installed on Windows Home Server 2011. How can I solve the problem?
    Thank You

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Erik,

      If you cannot correctly add the profile to your ATV, then the cert file is mostly not correctly generated. Generate it again and check your Python and OpenSSL versions!

      Cheers,
      Gee Are

      Reply
  44. Ian Rouse
    Ian Rouse says:

    In have tried all of the above but when I run the create cert, I only find there are five files but only one called trailer not trailers.der or trailers.cer depending which file I use.

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Ian,

      the certificate file must be named either trailers.der or trailers.cer depending on the method you had chosen. If the certificate file is not named in that way, there must be a mistake in the creating of the cert file. Repeat the entire process and follow every single step EXACTLY as I described it in this post.

      Cheers,
      Gee Are

      Reply
  45. Igor Westra
    Igor Westra says:

    Hi Gee Are,

    I enjoy reading your posts! Very informative. I just read “Plex, PlexConnect And OpenPlex Running On Mac OS X 10.10.2 Yosemite Beta 4” and it got me thinking.

    I have been using Plex on Apple tv 3 for about a year. I have Plexmedia server (v0.9.11.1) running on Windows 7. I was wondering if I should update my plexconnect(v0.3). And rather than reinstalling everything couldn’t the downloaded folder just be placed in the same location (C:/Plexconnect) and the old certificates placed in the new C:\PlexConnect\assets\certificates folder? I haven’t tried this yet because everything works right now but I would like to use the new features.

    Have I overlooked anything? Your instructions are very clear; perhaps you could do a post on updating Plexconnect on Apple TV.

    Thanks for your advice,

    Iggy

    Reply
    • Gee Are Pabst
      Gee Are Pabst says:

      Hi Igor,

      thanks for posting. It should work as you described. Save your old cert files on another location. Then update plexconnect. After that copy the cert files back. I’ll check to post on updating PlexConnect on Apple TV….

      Cheers,
      Gee Are

      Reply
      • Igor Westra
        Igor Westra says:

        Hi Gee Are,

        What we discussed above worked perfectly. Now I have a new puzzle. My Windows 7 computer is quite old and slow so I built a new more powerful windows 7 machine for the express purpose of being the Plex server. I didn’t shut down my old computer yet and installed Plex media server, plexconnect and Python on the new machine. I copied the certificates from my old machine and placed them in the certificates folder on the new machine. So now I have 2 plex servers running on my home network. In order to connect to the new server I changed the DNS address in the ATV settings to the new machine’s static IP address. I had assumed that I could go back and forth between servers by manually changing the DNS address on the ATV.

        For some reason the ATV is not connecting with the Plex media server on the new machine. I can go to Netflix, Flickr etc and the Plexconnect program is forwarding that. I suspect the certificates. I don’t understand the workings of these. Are they specific to each computer? Should I generate them on my new machine? Will I have to reconnect the ATV and then install the newly generated certificate? If I do this will this mean that the old machine will no longer be accessible to the ATV?

        Thank you for your interesting website!

        Igor

        Reply
          • Igor Westra
            Igor Westra says:

            Yes I did copy the three cert files (.key;.pem; trailers certificate) to both the root directory C:/ and the Assets/Certificates. So it is intercepting the ATV requests but can’t connect to the Plex media server. This is what the error message in python is “GDM: No Servers discovered”

            Reply
            • Gee Are Pabst
              Gee Are Pabst says:

              Hi Igor,

              please, check the following options:
              – Is Plex Media Server properly installed and running???
              – Is the cert file properly installed on your PC (double-click trailers.der for installing the cert file)?
              – Check the IP address of your PC and Plex Media Server
              – Restart your PC and your Apple TV and check the IP address again.

              Cheers,
              Gee Are

              Reply
  46. Ron
    Ron says:

    Gee Are:
    Sorry to bother you, but I’m at my wit’s end. I’ve done everything in the instructions, but the profile will not load to the atv.
    I have the atv3, and Plex is on a Windows 7 Pro computer. I have added the following programs to the windows firewall: python, plexconnect.py, plex media server, itunes.

    Here’s what I have done:

    Installed Python 2.7.6
    Installed Win32 OpenSSL Win32 v1.0.2a
    Have Plex Media Server 9.12.1
    Used your link to download PlexConnect from Github. Unzipped to c:\Plexconnect. [Note: it has a Plexconnect Master folder that contains all of the files. I moved everything to c:\Plexconnect]
    Created c:\cert, ran .bat file, installed certificate, copied certificates to assets\certificates
    Started plexconnect.py, changed atv DNS to IP address of of ipself.
    Used the following for address of profile: http://192.168.1.5/trailers.cer

    Result: atv was unable to add profile. I must be doing something wrong, but I have no idea what. Any help would be appreciated.

    Reply

Trackbacks & Pingbacks

  1. […] PlexConnect delivers Plex Media Server features on a non-jailbroken Apple TV. As I posted some days before, Plex Media Server is running on Windows 10 without any issues. So does PlexConnect: Installing PlexConnect on Windows 10 works in the same way as it does for Windows 7, Windows 8 or Windows 8.1. […]

  2. […] ringrazia e il sito miApple.me per aver realizzato la guida e le immagini riportate […]

  3. […] Street Journal) app, you should have correctly installed PlexConnect according to the post “Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update“. This is important to be sure that Plexconnect is generally running on your Windows […]

  4. […] For Windows: Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update […]

  5. […] For Windows: Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update […]

  6. […] Using AirParrot just for mirroring static PC’s screen (not videos) works on Windows systems. However, most customers want to AirPlay videos from the PC to the Apple TV. Hence, you have to convert your videos into Apple video formats. This is not very comfortable because it can really take a long time until the videos are converted (beside this, you need an extra app for that). A more convenient way (after you managed it to get it installed ;-)) is to use Plex and PlexConnect to stream videos from your Windows PC to your Apple TV. […]

  7. […] Create certificate files for Mac or Windows (Step 2). […]

  8. […] Si ringrazia per la guida e per le immagini miApple.me […]

  9. […] Si ringrazia per la guida e per le immagini miApple.me […]

  10. […] Update for windows 7,8 and 8.1: Installing PlexConnect On Windows 7, 8 and 8.1 After Apple TV Update […]

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Comment