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

Hello All,

 

I am new to PlexConnect and am trying to get it working with my ATV3 but for some reason, it just loops at the very end when trying to add the certificate profile. I have copied the two files as instructed but still have the trailers.key file on the desktop - I didn't see any instructions on where to place this remaining file.

 

I have PlexServer running on my Mac Pro which is on Mavericks 10.9.2. I am using Python 2.7.5 on my OSX Mavericks build and as reported from the terminal window when I launch PlexConnect. I have made the DNS entry on the Apple TV the same as the IP which my Mac Pro is configured on running the server software - which happens to be a manually set static-ip address. I believe have followed everything to the 'T' as per the instructions but for some reason, I just can't get the profile added which I assume is the very last step.

 

Any ideas/suggestions on where I should be looking next...? I appreciate any help/advice in advance...

 

Cheers,

Vin. 

I actually don't think the second file is for anything that you transfer or upload to. Be gentle though as I am on a Windows machine, but once I uploaded the cert file to the Apple TV using the iPhone utility option, the pem file is stored in a folder and I copy/paste it into the assets folder of PlexConnect.

You only need to pem in the plex connect folder for normal usage, the cer is needed to load on the ATV and putting it in the plexconnect folder allows you to use the network profile add process. The key file is not used after generation of the other two files.


Which process are you using to add the profile to the ATV? Any error?

Thanks - I’ll try playing with iPhone utility option. Just to add, it eventually times out with the message “Unable to add profile” followed by “An error occurred while adding the profile [-1001]. Check the URL and try again.”. I used the exact URL given in the instructions…

You only need to pem in the plex connect folder for normal usage, the cer is needed to load on the ATV and putting it in the plexconnect folder allows you to use the network profile add process. The key file is not used after generation of the other two files.

Which process are you using to add the profile to the ATV? Any error?


Thanks for the feedback. I am using the Network via PlexConnect which is the preferred method.

Thanks - I'll try playing with iPhone utility option. Just to add, it eventually times out with the message "Unable to add profile" followed by "An error occurred while adding the profile [-1001]. Check the URL and try again.". I used the exact URL given in the instructions....

Yeah with that method there is no way it would time out, it takes a milisecond to add. 

If you are using the network method you can replace the “trailers.apple.com” part with the IP of your PlexConnect device, I suspect this may fix it but you may then have an issue with the DNS part as you are running a server OS; this is fixable though just let us know :slight_smile:

Had a feeling you were going to remove that post well anyways…here is the official method since I cant suggest multiple options even though the other options are based on all of PlexConnect scripts with a few custom ones as well as the official guide:


https://github.com/iBaa/PlexConnect/wiki/Install-Guide-AppleTV-Ethernet

https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Certificate-via-Ethernet


Cert creation:


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

If you are using the network method you can replace the "trailers.apple.com" part with the IP of your PlexConnect device, I suspect this may fix it but you may then have an issue with the DNS part as you are running a server OS; this is fixable though just let us know :)

Thanks for the feedback all - I will try with the IP address although can you expand on what issue I may have with the DNS part as you mention above? Also, should the IP address be documented in the user guide as I would suspect more people are having this issue?

Also, and not sure if this has anything to do with it, but I noticed that when I launch PlexConnect on my Mac, I don't see a reference at the end to XMLConverter: PlexGDM - PMS: xxxx.xxxx.xxxx.xxxx.32400 - I guess this maybe suggestes that it is not discovering a PlexGDM server. Can you please confirm what this is used for as this may be another area I may need to address... :(

Thanks again all for your help on this....!

>>Missing PlexGDM at startup

-> totally fine. it is delayed until you actually use the trailers. i guess, we should update the WIKI page. :-)

Hello All,

Well, I tried with the IP address and still no joy... :(   I then tried using HTTPS instead and got a quick response back of the following:

An error occurred while adding the profile [-1202]. Check the URL and try again.

I am truly at a loss at this point as I have followed all the instructions - I added the DNS entry to the Apple TV to the same IP as my Mac Pro running the Plex Media Server. BTW, my Apple TV is running the latest firmware. 

Also providing some output info from the PlexConnect launch on my Mac which I hope may reveal something to the experts. Thanks in advance:

21:02:10 PlexConnect: ***

21:02:10 PlexConnect: PlexConnect

21:02:10 PlexConnect: Press CTRL-C to shut down.

21:02:10 PlexConnect: ***

21:02:10 PlexConnect: started: 21:02:10

21:02:10 PlexConnect: Version: 0.3.1+

21:02:10 PlexConnect: Python: 2.7.5 (default, Aug 25 2013, 00:04:04) 

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

21:02:10 PlexConnect: Host OS: darwin

21:02:10 PlexConnect: IP_self: 192.168.1.30

21:02:10 DNSServer: started: 21:02:10

21:02:10 DNSServer: ***

21:02:10 DNSServer: DNSServer: Serving DNS on 192.168.1.30 port 53.

21:02:10 DNSServer: intercept: ['trailers.apple.com'] => 192.168.1.30

21:02:10 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1

21:02:10 DNSServer: forward other to higher level DNS: 8.8.8.8

21:02:10 DNSServer: ***

21:02:10 WebServer: started: 21:02:10

21:02:10 WebServer: ***

21:02:10 WebServer: WebServer: Serving HTTP on 192.168.1.30 port 80.

21:02:10 WebServer: ***

21:02:10 WebServer: started: 21:02:10

21:02:10 WebServer: ***

21:02:10 WebServer: WebServer: Serving HTTPS on 192.168.1.30 port 443.

>> I added the DNS entry to the Apple TV to the same IP as my Mac Pro running the Plex Media Server.

This line gives room for interpretation:

- did you set aTV's DNS address "to the same IP" your Mac's DNS is set or...

- did you set aTV's DNS address to the IP of your Mac running PlexConnect (ie 192.168.1.30)?

The first would explain a couple of your issues, as well as the lack of DNS requests in your terminal output. The second option would be the way to go.

Thanks for the feedback Baa. The IP address is indeed the IP of the Mac running PlexConnect which is also the IP_Self address as requested in the documentation - I told you I have followed the instructions to the T  ;)

I didn't copy any of the DNS requests as I wasn't sure you needed to see those, so here are some that I have been generated for your info - again, truly appreciate the help on this as I really want this to work and then go on and make a donation!  :)

This around when I tried to add the profile:

09:52:00 DNSServer: DNS request received!

09:52:00 DNSServer: Source: ('192.168.1.23', 63348)

09:52:00 DNSServer: Domain: trailers.apple.com

09:52:00 DNSServer: ***intercept request

09:52:00 DNSServer: -> DNS response: 192.168.1.30

09:53:05 DNSServer: DNS request received!

09:53:05 DNSServer: Source: ('192.168.1.23', 53987)

09:53:05 DNSServer: Domain: trailers.apple.com

09:53:05 DNSServer: ***intercept request

09:53:05 DNSServer: -> DNS response: 192.168.1.30

 

This is some general logging:

22:12:20 WebServer: ***

22:23:04 DNSServer: DNS request received!

22:23:04 DNSServer: Source: ('192.168.1.23', 59000)

22:23:04 DNSServer: Domain: radio.itunes.apple.com

22:23:04 DNSServer: ***forward request

22:23:04 DNSServer: -> DNS response from higher level

22:23:37 DNSServer: DNS request received!

22:23:37 DNSServer: Source: ('192.168.1.23', 51625)

22:23:37 DNSServer: Domain: p44-buy.itunes.apple.com

22:23:37 DNSServer: ***forward request

22:23:37 DNSServer: -> DNS response from higher level

22:23:44 DNSServer: DNS request received!

22:23:44 DNSServer: Source: ('192.168.1.23', 56829)

22:23:44 DNSServer: Domain: trailers.apple.com

22:23:44 DNSServer: ***intercept request

22:23:44 DNSServer: -> DNS response: 192.168.1.30

22:24:06 DNSServer: DNS request received!

22:24:06 DNSServer: Source: ('192.168.1.23', 57828)

22:24:06 DNSServer: Domain: a3.mzstatic.com

22:24:06 DNSServer: ***forward request

22:24:06 DNSServer: -> DNS response from higher level

22:24:06 DNSServer: DNS request received!

22:24:06 DNSServer: Source: ('192.168.1.23', 53275)

22:24:06 DNSServer: Domain: a2.mzstatic.com

22:24:06 DNSServer: ***forward request

22:24:06 DNSServer: -> DNS response from higher level

22:24:06 DNSServer: DNS request received!

22:24:06 DNSServer: Source: ('192.168.1.23', 59605)

22:24:06 DNSServer: Domain: a1.mzstatic.com

22:24:06 DNSServer: ***forward request

22:24:06 DNSServer: -> DNS response from higher level

22:24:06 DNSServer: DNS request received!

22:24:06 DNSServer: Source: ('192.168.1.23', 54551)

22:24:06 DNSServer: Domain: a5.mzstatic.com

22:24:06 DNSServer: ***forward request

22:24:06 DNSServer: -> DNS response from higher level

22:24:10 DNSServer: DNS request received!

22:24:10 DNSServer: Source: ('192.168.1.23', 56639)

22:24:10 DNSServer: Domain: itunes.apple.com

22:24:10 DNSServer: ***forward request

22:24:11 DNSServer: -> DNS response from higher level

22:24:11 DNSServer: DNS request received!

22:24:11 DNSServer: Source: ('192.168.1.23', 52344)

22:24:11 DNSServer: Domain: pd-st.itunes.apple.com.akadns.net

22:24:11 DNSServer: ***forward request

22:24:11 DNSServer: -> DNS response from higher level

22:24:13 DNSServer: DNS request received!

22:24:13 DNSServer: Source: ('192.168.1.23', 60884)

22:24:13 DNSServer: Domain: securemetrics.apple.com

22:24:13 DNSServer: ***forward request

22:24:13 DNSServer: -> DNS response from higher level

22:24:14 DNSServer: DNS request received!

22:24:14 DNSServer: Source: ('192.168.1.23', 55477)

22:24:14 DNSServer: Domain: a1745.phobos.apple.com

Anyone have any addition ideas/thoughts as to what the issue may be....? 

Thanks in advance! 

Hi everyone - Hope I didn't say or do anything to offend as not getting any further responses. Would love to try and get this fixed over the weekend, so any additional hand holding would be really appreciated. Thanks! 

Cheers,

Vin.

I don't think anyone's offended VinBob, I think we've concluded that you've got a dud...

I don't think anyone's offended VinBob, I think we've concluded that you've got a dud...

Can you please expand on that as I don't understand what you mean that I have a 'dud'.... thanks.

 

Can you please expand on that as I don't understand what you mean that I have a 'dud'.... thanks.

Sorry, text is never good to be sarcastic with. Dud, lemon, paper-weight. Again, bad joke. 

Sorry, text is never good to be sarcastic with. Dud, lemon, paper-weight. Again, bad joke. 

:mellow: - Of course, it would be more helpful if someone could kindly explain the issue I am having and what is causing it to be a Dud, lemon, paper-weight....

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?