Almost there...but stuck with adding profile...

Either your OS is corrupt, has something preventing it form working, or your network is messed up more then likely. What do you have installed on your mac that could prevent it from working? Have you reset you network entirely? What steps have you taken so far to troubleshoot?

If my OS was corrupt, would I not be experiencing other issues? Everything else works just fine on my system other than PlexConnect. I have a number of things installed on my Mac but not sure what would be conflicting. If someone could provide some specific areas that I should be checking, then I would really appreciate it. 

When you say reset the network, do you mean reboot the router etc.? Again, I am not experiencing any network related issues with any other apps that I am running or devices around the house. Are there maybe firewall ports that need to be opened to make this work?

53, 80, 443. It’s hard to say what the issue is. I have seen people just reset their entire network and it fixed it. I have seen bad cases where they had to reinstall the os. It could be easy or difficult to resolve, depends on how much time you want to spend on it. If you want to troubleshoot look a those ports, make sure you don’t have a virtual box VPN adapter enabled, web sharing enabled, webserver running on one of those ports in httpd.conf. The list goes on and on. How is your network setup from mac to router & from router to aTV?

Thanks wahlman - I definitely want to get this to work and go on to make a donation, as this would be a great feature for me and actually what pushed me to get an Apple TV in the first place!  :D

I will check the ports to see if there is some issue with maybe a web/ftp server I am running. I will also reset the network (router and wireless router) to rule that out as well, although I would be surprised if that fixed it. Just FYI, I can get video to stream to the Apple TV just fine when using the app on my iPad/iPhone from the Mac Pro running Plex Server.

My Mac is physically connected via Ethernet to the ISP router. I then have a Wireless Netgear router connected to the Router which connects to the Apple TV over the 5G Wi-Fi. The ATV has no problems connecting to content over the internet and talking to the Plex Web Server running on the Mac Pro.

Thanks again.... 

Can you hook the mac and the aTV to the same router. Either the ISP or netgear router not separate just to rule that out. If that doesn’t fix it I believe it’s something with your mac itself.

Can you hook the mac and the aTV to the same router. Either the ISP or netgear router not separate just to rule that out. If that doesn't fix it I believe it's something with your mac itself.

I'll give it a go, but I don't think that will solve anything - The Netgear router is not acting as a router per se, as its just another device on the network hosted by the ISP router and simply extending the network wirelessly... so its just a wireless access point as it were with routing capabilities turned off... shame there is no logging or information provided by the PlexConnect app to suggest what might be causing this issue... I'll try a few things with some of the other apps I have running and will report back. Thanks again....

Can you hook the mac and the aTV to the same router. Either the ISP or netgear router not separate just to rule that out. If that doesn't fix it I believe it's something with your mac itself.

OK, so finally had some time to play this evening but still resulting in a very frustrating 'no go' situation. I rebooted all the network devices (router, wi-fi router) and also joined both the Mac Pro running PMS as well as the ATV3 to the same Wi-Fi network. Was still unable to add the profile using either the apple named URL or using the IP address. I also added port forwarding to the IP address of the server running PMS (192.168.1.30) for ports 80, 443 and 53 and still no go. Where do I find the httpd.conf file to rule out any other port conflicts?

I also disabled my FTP/Web server application as I thought that may be interfering. Not sure what else could be wrong as everything else works perfectly on the Apple TV as well as streaming from the iPad using the Plex Application.

I really want this to work and am willing to try other things other than rebuilding my Mac... 

/etc/apace2/htpd.conf

/etc/apace2/htpd.conf


Found it thanks - it was actually httpd.conf - I only saw a reference to port 80 in there but no mention of any other ports. I am not running the Apache server as far as I know - can I assume this is being used by the Plex Server on the Mac? Thanks again.

Since plexconnect runs off port 53, 80, and 443 you do not want that set on Listen 80. That is not in use by plex media server but apache 2 if its enabled. Changed your listen port to a unused ports then reboot your mac just to be sure its not an issue. I use 1234 personally. Plex media server typically runs off port 32400 but has nothing to do with httpd.conf.

Since plexconnect runs off port 53, 80, and 443 you do not want that set on Listen 80. That is not in use by plex media server but apache 2 if its enabled. Changed your listen port to a unused ports then reboot your mac just to be sure its not an issue. I use 1234 personally. Plex media server typically runs off port 32400 but has nothing to do with httpd.conf.

Thanks Whalman - I am not so sure that Apeche is even being used or at least, not to my knowledge but I guess it has port 80 enabled which could be conflicting with PlexConnect? Can you please advise how I can change the port on PlexConnect to listen to 1234 rather than 80? Sorry, but I am really new to all this... Thanks! 

Copy httpd.conf to your desktop. Open it in textedit. Look for this:


Listen 80


Change it to this:


Listen 1234


Copy it back to the original folder and overwrite the existing httpd.conf.


Reboot mac. Test profile adding to atv.

Thanks again but still no joy - I changed the file as you said, rebooted but not good. I also copied the trailer.key file just in case this is needed, but still no good. I also launched PlexConnect script as root as maybe there may be some privilege related issues, but this didn't help either. 

Something tells me I have something simple/basic incorrect - one thing I must ask, is whether adding a profile using this method is actually compatible with the ATV3 running the latest version of firmware and iOS7? I read somewhere that after this upgrade, adding the profile broke and you have to use the USB/iPhone method? Is this true...? I am also running Mavericks 10.9.2 on my Mac Pro - everything works just fine on my Mac.... 

Oh one more thing, this has nothing to do with PlexGDM server not being discovered and listed at the end when I launch the script correct?

Thanks again for your patience and time on this... 

I have added the trailers.cer profile using the network method from my mac running running 10.9.2 on my atv2 and atv3 running the latest ios 7.1. You really need to fill this out for everyone to help you more efficiently.

https://github.com/iBaa/PlexConnect/wiki/How-to-report-an-issue


I assume you are adding the profile like this to the Apple TV using the network method:

http://trailers.apple.com/trailers.cer

Hi there, I'm new to this forum so this is my first post.

VinBob, I had the same issue and couldn't figure out what was wrong. I already had PlexConnect running on an ATV2 for a few months, then I bought an ATV3 and went through all the steps required to install and I hit the same wall, stuck in adding the profile. After searching a lot I found this thread https://forums.plex.tv/topic/82597-how-to-transfer-trailerscer-using-plexconnect-no-usb/ and that did the trick!!!

Inserting that piece of code in the Webserver.py file. That worked for me because I already had an older version of PlexConnect installed that didn't have that code in the Webserver.py file, I understand that the new version has this already configured.

Hope this helps!

mrkaves.

Hi there, I'm new to this forum so this is my first post.

VinBob, I had the same issue and couldn't figure out what was wrong. I already had PlexConnect running on an ATV2 for a few months, then I bought an ATV3 and went through all the steps required to install and I hit the same wall, stuck in adding the profile. After searching a lot I found this thread https://forums.plex.tv/topic/82597-how-to-transfer-trailerscer-using-plexconnect-no-usb/ and that did the trick!!!

Inserting that piece of code in the Webserver.py file. That worked for me because I already had an older version of PlexConnect installed that didn't have that code in the Webserver.py file, I understand that the new version has this already configured.

Hope this helps!

mrkaves.

This is already implemented into the main code. There is no need to follow the steps you have provided. Also looking at his log he is running plexconnect 0.3.1+ so it should have the new network cert code already included.

I have added the trailers.cer profile using the network method from my mac running running 10.9.2 on my atv2 and atv3 running the latest ios 7.1. You really need to fill this out for everyone to help you more efficiently.

https://github.com/iBaa/PlexConnect/wiki/How-to-report-an-issue

I assume you are adding the profile like this to the Apple TV using the network method:

http://trailers.apple.com/trailers.cer

Sorry this took so long as I have been traveling.

OK, here is the information requested and the log file output on Pastebin: http://pastebin.com/5RBS5PGz - I expected to seem more entries but that's all it generated from creating a new one and going to the apple tv and adding a new profile. 

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

•    ATV3 – Firmware is: 6.1 (6698.99.16)

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

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

•    The device and operating system (including version number) that PlexConnect is installed on: Mac Pro (early 2008) – OSX Mavericks 10.9.2

•    The device and operating system (including version number) that the Plex media server (PMS) is installed on: Mac Pro (early 2008) – OSX Mavericks 10.9.2

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

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

•    The PlexConnect version number. If using Github source then a time and date of download (look at the creation date of the folder) and if you are using any non-standard setup e.g. Plexify or a fork.

Running Version: 0.3.1+

 

The contents of your 'Settings.cfg' file (this is created at first clean shutdown of PlexConnect, using CTR+c)

[PlexConnect]
enable_plexgdm = True
ip_pms = 192.168.178.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 = .

•    A detailed description of the issue (the clearer you can make this the better): Cannot install apple certificate using the preferred Network method. When I submit using the URL of http://192.168.1.30/trailers.cer, it just loops for several minutes with the spinning wheel with no response

Looks like you are doing everything correct from what I can tell. I know you don’t want to reinstall the os so if you wish to troubleshoot more I would look at restoring your Apple TV to a brand new ipsw (ios version) and rebooting your mac. You could also reinstall python. Has your os been updated from a prior osx version, if so do you remember what version you were running originally? I wonder if these updates are screwing up the os from apple or what in the world is preventing you from adding a profile using the network method. If you don’t want to reinstall a new ipsw could you reboot your atv then attempt to add the profile again. I assume you are aware PlexConnect must be running on the mac to serve the profile to the atv using the network method. Can you post a log while PlexConnect is running after you have attempted to add the profile a few times? I would assume if you cannot add a profile via network method but you can via usb method plexconnect still would not work since the atv cannot receive the files required to run from your mac on the desired hijacked app on the atv. Can you trash your old certs then generate new certs using baa’s automatic cert generator script using terminal then once in place in assets/certificates terminate plexconnect by pressing “ctrl c” and restart plexconnect via terminal?

https://github.com/iBaa/PlexConnect/blob/master/support/OSX/createcert.bash

I had the same problem. Gave up on the advice for installing the certificate and did it over USB following these instructions instead, which really was as simple as getting to that point in the instructions, unplugging HDMI, plugging in micro USB, and installing the profile.

https://langui.sh/2013/08/27/appletv-ssl-plexconnect/

then after restarting the apple tv the trailers app worked as expected.

any one knows what directory cert should go to on ubuntu 14?

Thank you

I had the same problem. Gave up on the advice for installing the certificate and did it over USB following these instructions instead, which really was as simple as getting to that point in the instructions, unplugging HDMI, plugging in micro USB, and installing the profile.

https://langui.sh/2013/08/27/appletv-ssl-plexconnect/

then after restarting the apple tv the trailers app worked as expected.

Thanks for the suggestion - I followed the instructions and used the Apple Configurator to get the cert installed but unfortunately, still no joy... :(

When I try running the trailer application, I get the famous spinning wheel with the message 'Accessing Trailers' and it just sits there. I believe the Plex Server is running just fine and have provided the log below showing the status once executed. I have set the AppleTV DNS to the same IP as the IP_self which is the static IP that the Plex Server is running on. The AppleTV router IP is set to 192.168.1.1 which I assume is what it should be.

I am once again lost for ideas here - I have followed the instructions to the letter, but just don't know what I am missing. Could it be an issue with port forwarding? Are there certain ports that I need to open which I may not be aware of? I know things work on 443 and 80 just fine. The Plex Server app works fine from what I can tell. I can access other content just fine on the AppleTV like PBS, Disney, YouTube etc. 

Also, any ideas on what one does with the third file 'trailers.key' that gets created as part of the cert generation? Does that simply live on the desktop on the Mac running Plex Server or do I need to copy somewhere? Please advise as there are no instructions for that particular file.

Again, any help would be greatly appreciated here as I feel I am another step closer, but something is just not set correct...somewhere....

22:41:26 PlexConnect: ***

22:41:26 PlexConnect: PlexConnect

22:41:26 PlexConnect: Press CTRL-C to shut down.

22:41:26 PlexConnect: ***

22:41:26 PlexConnect: started: 22:41:26

22:41:26 PlexConnect: Version: 0.3.1+

22:41:26 PlexConnect: Python: 2.7.5 (default, Mar  9 2014, 22:15:05) 

[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]

22:41:26 PlexConnect: Host OS: darwin

22:41:26 PlexConnect: IP_self: 192.168.1.30

22:41:26 DNSServer: started: 22:41:26

22:41:26 DNSServer: ***

22:41:26 DNSServer: DNSServer: Serving DNS on 192.168.1.30 port 53.

22:41:26 DNSServer: intercept: ['trailers.apple.com'] => 192.168.1.30

22:41:26 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1

22:41:26 DNSServer: forward other to higher level DNS: 8.8.8.8

22:41:26 DNSServer: ***

22:41:26 WebServer: started: 22:41:26

22:41:26 WebServer: ***

22:41:26 WebServer: WebServer: Serving HTTP on 192.168.1.30 port 80.

22:41:26 WebServer: ***

22:41:26 WebServer: started: 22:41:26

22:41:26 WebServer: ***

22:41:26 WebServer: WebServer: Serving HTTPS on 192.168.1.30 port 443.