Main Preview/Info window not working after certfile fix

Hi,

 

I have successfully applied the certfile fix to my PMS and ATV3 and can play files and browse my PMS library except that I cannot view the main information window for each file - the one that shows directors, actors, writers, etc..

 

ATV3 with 5.1.1.  PMS and Plexconnect is running on an iMac with 10.6.8 and Python 2.7.5 and Plexconnect downloaded on August 30th.  IP of ATV3 is 10.0.0.37 and DNS of ATV3 is 10.0.0.73.  IP of iMac is 10.0.0.73.  

 

Log File:

 

Traceback (most recent call last):
  File "/PlexConnect/XMLConverter.py", line 546, in XML_ExpandNode
    res = eval("g_CommandCollection.TREE_"+cmd+"(elem, child, src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined
 
09:48:55 XMLConverter: XML_ExpandLine - Error in {{URL(:/js/utils.js)}}
Traceback (most recent call last):
  File "/PlexConnect/XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined
 
09:48:55 XMLConverter: XML_ExpandLine - Error in {{VAL(title1:Plex Library)}}
Traceback (most recent call last):
  File "/PlexConnect/XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined
 
09:48:55 XMLConverter: XML_ExpandLine - Error in {{VAL(title2)}}
Traceback (most recent call last):
  File "/PlexConnect/XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined
 
09:48:55 XMLConverter: XML_ExpandLine - Error in {{TEXT(Plex Media Server: No Items Available)}}
Traceback (most recent call last):
  File "/PlexConnect/XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined
 
09:48:56 WebServer: serving .xml: /library/sections/3/recentlyViewed?X-Plex-Container-Start=0&X-Plex-Container-Size=25
09:48:58 ATVLogger: loadURL (override): http://atv.plexconne.../recentlyViewed
09:48:58 WebServer: serving .xml: /library/sections/3/recentlyViewed
09:48:58 WebServer: serving  /PlexConnect/assets/js/utils.js
09:48:58 WebServer: serving  /PlexConnect/assets/js/scrobble.js
09:49:03 ATVLogger: loadURL (override): http://atv.plexconne...ct=MoviePrePlay
09:49:03 WebServer: serving .xml: /library/metadata/509
09:49:14 ATVLogger: loadAndSwapURL (override): http://atv.plexconne.../recentlyViewed
09:49:14 WebServer: serving .xml: /library/sections/3/recentlyViewed
09:49:14 WebServer: serving  /PlexConnect/assets/js/utils.js
09:49:14 WebServer: serving  /PlexConnect/assets/js/scrobble.js
09:49:20 ATVLogger: loadURL (override): http://atv.plexconne...ct=MoviePrePlay
09:49:20 WebServer: serving .xml: /library/metadata/509
09:49:43 PlexConnect: Shutting down.
09:49:43 WebServer: Shutting down.
09:49:46 DNSServer: Shutting down.
09:49:46 PlexConnect: shutdown
 
 
Settings File:
 

[PlexConnect]

logpath = .

enable_dnsserver = True

ip_webserver = 0.0.0.0

prevent_atv_update = True

enable_plexconnect_autodetect = True

port_pms = 32400

port_webserver = 80

ip_plexconnect = 0.0.0.0

certfile = /PlexConnect/assets/certificates/trailers.pem

ip_dnsmaster = 8.8.8.8

loglevel = Normal

ip_pms = 192.168.178.10

enable_plexgdm = True

port_ssl = 443

 

Anybody? It's weird that I can browse all the way through my PMS library except for this one window.

 

Aaron

Is it possible for you to upgrade the ATV to 5.3 firmware?

institute - this doesn't seem related to iOS software. It is a python error message, albeit one I don't understand so far.

I have multiple comments about this issue (NameError: name 'g_CommandCollection' is not defined), but I really can't explain that.

"Main Information Window" - the thing called "Pre-Play-Screen" in other reports, right?

I am seeing the 'g_CommandCollection' is not defined error throughout my logs also. Problem only started happening when I upgraded plexconnect and python to support https.

I've observed that the error occurs continually and displays 100s/1000s of times in the log when it is playing back media.

Here is just a snippet of the 50k log file

Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 962, in ATTRIB_IMAGEURL
    return self.imageUrl(self.path[srcXML], key, 384, 384)
KeyError: 'RecentlyReleased'

18:25:05 XMLConverter: XML_ExpandLine - Error in {{VAL(title)}}
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:05 XMLConverter: XML_ExpandLine - Error in scrobbleMenu('Movie', '{{VAL(ratingKey)}}', '{{ADDR_PMS()}}');
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:05 XMLConverter: XML_ExpandLine - Error in scrobbleMenu('Movie', '((ERROR:VAL))', '{{ADDR_PMS()}}');
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:05 XMLConverter: XML_ExpandLine - Error in atv.sessionStorage['addrpms']='{{ADDR_PMS()}}';{{sendToATV(ratingKey:0:duration:0)}};atv.loadURL('{{URL(key)}}&PlexConnect=MoviePrePlay')
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:05 XMLConverter: XML_ExpandLine - Error in atv.sessionStorage['addrpms']='((ERROR:ADDR_PMS))';{{sendToATV(ratingKey:0:duration:0)}};atv.loadURL('{{URL(key)}}&PlexConnect=MoviePrePlay')
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:05 XMLConverter: XML_ExpandLine - Error in atv.sessionStorage['addrpms']='((ERROR:ADDR_PMS))';((ERROR:sendToATV));atv.loadURL('{{URL(key)}}&PlexConnect=MoviePrePlay')
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:05 XMLConverter: XML_ExpandLine - Error in {{VAL(key)}}
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:05 XMLConverter: XML_ExpandLine - Error in atv.sessionStorage['addrpms']='{{ADDR_PMS()}}';{{sendToATV(ratingKey:0:duration:0)}};atv.loadURL('{{URL(key)}}&PlexConnect=Play')
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:05 XMLConverter: XML_ExpandLine - Error in atv.sessionStorage['addrpms']='((ERROR:ADDR_PMS))';{{sendToATV(ratingKey:0:duration:0)}};atv.loadURL('{{URL(key)}}&PlexConnect=Play')
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:05 XMLConverter: XML_ExpandLine - Error in atv.sessionStorage['addrpms']='((ERROR:ADDR_PMS))';((ERROR:sendToATV));atv.loadURL('{{URL(key)}}&PlexConnect=Play')
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:05 XMLConverter: XML_ExpandLine - Error in {{VAL(title)}}
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:06 XMLConverter: XML_ExpandLine - Error in {{VAL(year)}}
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:06 XMLConverter: XML_ExpandLine - Error in {{IMAGEURL(thumb)}}
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:06 XMLConverter: XML_ExpandLine - Error in {{VAL(title)}}
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:06 XMLConverter: XML_ExpandLine - Error in scrobbleMenu('Movie', '{{VAL(ratingKey)}}', '{{ADDR_PMS()}}');
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:06 XMLConverter: XML_ExpandLine - Error in scrobbleMenu('Movie', '((ERROR:VAL))', '{{ADDR_PMS()}}');
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:06 XMLConverter: XML_ExpandLine - Error in atv.sessionStorage['addrpms']='{{ADDR_PMS()}}';{{sendToATV(ratingKey:0:duration:0)}};atv.loadURL('{{URL(key)}}&PlexConnect=MoviePrePlay')
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:06 XMLConverter: XML_ExpandLine - Error in atv.sessionStorage['addrpms']='((ERROR:ADDR_PMS))';{{sendToATV(ratingKey:0:duration:0)}};atv.loadURL('{{URL(key)}}&PlexConnect=MoviePrePlay')
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:06 XMLConverter: XML_ExpandLine - Error in atv.sessionStorage['addrpms']='((ERROR:ADDR_PMS))';((ERROR:sendToATV));atv.loadURL('{{URL(key)}}&PlexConnect=MoviePrePlay')
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:06 XMLConverter: XML_ExpandLine - Error in {{VAL(key)}}
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:06 XMLConverter: XML_ExpandLine - Error in atv.sessionStorage['addrpms']='{{ADDR_PMS()}}';{{sendToATV(ratingKey:0:duration:0)}};atv.loadURL('{{URL(key)}}&PlexConnect=Play')
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:06 XMLConverter: XML_ExpandLine - Error in atv.sessionStorage['addrpms']='((ERROR:ADDR_PMS))';{{sendToATV(ratingKey:0:duration:0)}};atv.loadURL('{{URL(key)}}&PlexConnect=Play')
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined

18:25:06 XMLConverter: XML_ExpandLine - Error in atv.sessionStorage['addrpms']='((ERROR:ADDR_PMS))';((ERROR:sendToATV));atv.loadURL('{{URL(key)}}&PlexConnect=Play')
Traceback (most recent call last):
  File "C:\PlexConnect-master\PlexConnect-master\XMLConverter.py", line 612, in XML_ExpandLine
    res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
  File "", line 1, in
NameError: name 'g_CommandCollection' is not defined
 

You are on 10.6.8 like I am. I use the Applescript to start Plexconnect and so I have to edit the shebang line in Plexconnect.py to read “usr/local/bin/python” or else Plex uses the OSX built in version of Python (2.5 or .6) due to the Applescript being unable to read PATH and access the Python 2.7.4 that I manually installed. This leads me to ask: Are you positive that Plexconnect is accessing the right version of Python?

When I type python into Terminal it says 2.7.5.  I upgraded it myself and included a shortcut from oem location to the proper location. I am positive that it is using 2.7.5.  Everything worked perfectly before apple broke plexconnect and then the certfile fix came.  This just started when I updated plexconnect and did the certfile fix.

Aaron

Do you suffer a long time waiting along with these errors? I did.

I saw these type of errors on my win7 as well. I used to add my movie folder to PMS, which has many many movies in different format and names, metadata. The possible reason I found is the path and movie metadata analysis is a little complicated, it takes long time to parse, and I see these exceptions along with it.

I simply create another folder, put one famous movie in it, in thise case dark knight, PMS will scan it gracefully and get all the information. Then my plexconnect will not throw exceptions and get the page fast.

institute - this doesn't seem related to iOS software. It is a python error message, albeit one I don't understand so far.

I have multiple comments about this issue (NameError: name 'g_CommandCollection' is not defined), but I really can't explain that.

"Main Information Window" - the thing called "Pre-Play-Screen" in other reports, right?

Yes - that is what I mean - didn't know the correct term.

Do you suffer a long time waiting along with these errors? I did.

I saw these type of errors on my win7 as well. I used to add my movie folder to PMS, which has many many movies in different format and names, metadata. The possible reason I found is the path and movie metadata analysis is a little complicated, it takes long time to parse, and I see these exceptions along with it.

I simply create another folder, put one famous movie in it, in thise case dark knight, PMS will scan it gracefully and get all the information. Then my plexconnect will not throw exceptions and get the page fast.

I saw your post on the other thread about the GDM auto discover - and you are right my settings.cfg has the wrong IP address for the PMS - so I guess that means I will have to turn GDM to False and manual input the IP of my PMS - I will see if this works.  Any reason why I feel I am one of a few having this problem? Is it 10.6.8 or is it the new settings.cfg file?

EDIT: I found another thread with this problem:

I found another thread from June with the same problem:

http://forums.plexapp.com/index.php/topic/70195-getting-an-error-when-accessing-the-pre-play-screen-read-this/

I also found these instructions:

https://github.com/iBaa/PlexConnect/wiki/Settings-for-advanced-use-and-troubleshooting

Going to try editing the IP of my PMS and Plexconnect and disabling GDMauto - Will post if it works.

With enable_PlexGDM=True, the IP_PMS in settings.cfg is NOT used... not at all, just ignored.

IP_PMS gets important when switching enable_PlexGDM to False, not one minute earlier...

The interesting part is: In your _logfiles_, does GDM return the correct IP?

It isn’t just 10.6.8 because that is what I am running, and I don’t have your issue.

With enable_PlexGDM=True, the IP_PMS in settings.cfg is NOT used... not at all, just ignored.

IP_PMS gets important when switching enable_PlexGDM to False, not one minute earlier...

The interesting part is: In your _logfiles_, does GDM return the correct IP?

Ok

I will check - I will change it back to True and see what it finds.  I just tried my said changes - disabled GDM, and manually put in the IP of Plexconnect and PMS - still didn't work:

Last login: Mon Sep  2 08:43:54 on console
Aaron-Longs-iMac:~ along$ sudo /plexconnect/plexconnect.py
Password:
08:50:25 PlexConnect: ***
08:50:25 PlexConnect: PlexConnect
08:50:25 PlexConnect: Press CTRL-C to shut down.
08:50:25 PlexConnect: ***
08:50:25 PlexConnect: started: 08:50:25
08:50:25 PlexConnect: IP_self: 10.0.0.73
08:50:25 DNSServer: started: 08:50:25
08:50:25 DNSServer: ***
08:50:25 DNSServer: Starting up.
08:50:25 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 10.0.0.73
08:50:25 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
08:50:25 DNSServer: forward other to higher level DNS: 8.8.8.8
08:50:25 DNSServer: ***
08:50:25 WebServer: started: 08:50:25
08:50:25 WebServer: ***
08:50:25 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
08:50:25 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
08:50:25 WebServer: ***
08:50:25 XMLConverter: PlexGDM off - PMS from settings: 10.0.0.73:32400
08:50:34 DNSServer: DNS request received!
08:50:34 DNSServer: Source: ('10.0.0.37', 60174)
08:50:34 DNSServer: Domain: time.apple.com
08:50:34 DNSServer: ***forward request
08:50:34 DNSServer: -> DNS response from higher level
08:50:36 DNSServer: DNS request received!
08:50:36 DNSServer: Source: ('10.0.0.37', 59686)
08:50:36 DNSServer: Domain: ax.init.itunes.apple.com
08:50:36 DNSServer: ***forward request
08:50:36 DNSServer: -> DNS response from higher level
08:50:37 DNSServer: DNS request received!
08:50:37 DNSServer: Source: ('10.0.0.37', 56246)
08:50:37 DNSServer: Domain: p6-buy.itunes.apple.com
08:50:37 DNSServer: ***forward request
08:50:37 DNSServer: -> DNS response from higher level
08:50:37 DNSServer: DNS request received!
08:50:37 DNSServer: Source: ('10.0.0.37', 61082)
08:50:37 DNSServer: Domain: EVSecure-ocsp.verisign.com
08:50:37 DNSServer: ***forward request
08:50:37 DNSServer: -> DNS response from higher level
08:53:21 DNSServer: DNS request received!
08:53:21 DNSServer: Source: ('10.0.0.37', 64589)
08:53:21 DNSServer: Domain: a2.mzstatic.com
08:53:21 DNSServer: ***forward request
08:53:21 DNSServer: -> DNS response from higher level
08:53:21 DNSServer: DNS request received!
08:53:21 DNSServer: Source: ('10.0.0.37', 60377)
08:53:21 DNSServer: Domain: a771.da1.akamai.net
08:53:21 DNSServer: ***forward request
08:53:21 DNSServer: -> DNS response from higher level
08:53:22 DNSServer: DNS request received!
08:53:22 DNSServer: Source: ('10.0.0.37', 63888)
08:53:22 DNSServer: Domain: p6-buy.itunes.apple.com.akadns.net
08:53:22 DNSServer: ***forward request
08:53:22 DNSServer: -> DNS response from higher level
08:53:24 DNSServer: DNS request received!
08:53:24 DNSServer: Source: ('10.0.0.37', 50348)
08:53:24 DNSServer: Domain: itunes.apple.com
08:53:24 DNSServer: ***forward request
08:53:24 DNSServer: -> DNS response from higher level
08:53:27 DNSServer: DNS request received!
08:53:27 DNSServer: Source: ('10.0.0.37', 52725)
08:53:27 DNSServer: Domain: trailers.apple.com
08:53:27 DNSServer: ***intercept request
08:53:27 DNSServer: -> DNS response: 10.0.0.73
08:53:27 WebServer: serving application.js
08:53:27 DNSServer: DNS request received!
08:53:27 DNSServer: Source: ('10.0.0.37', 53304)
08:53:27 DNSServer: Domain: atv.plexconnect
08:53:27 DNSServer: ***intercept request
08:53:27 DNSServer: -> DNS response: 10.0.0.73
08:53:27 WebServer: serving .xml: /PlexConnect.xml
08:53:28 WebServer: serving  /PlexConnect/assets/js/utils.js
08:53:28 ATVLogger: loadItem: Library
08:53:28 WebServer: serving .xml: /library/sections
08:53:28 WebServer: serving  /PlexConnect/assets/js/utils.js
08:53:32 ATVLogger: loadURL (override): http://atv.plexconnect/library/sections/3
08:53:32 WebServer: serving .xml: /library/sections/3
08:53:32 WebServer: serving  /PlexConnect/assets/js/utils.js
08:53:32 WebServer: serving  /PlexConnect/assets/js/updateXML.js
08:53:32 ATVLogger: 1
08:53:32 ATVLogger: 1
08:53:32 WebServer: serving .xml: /library/sections/3
08:53:33 WebServer: serving  /PlexConnect/assets/js/utils.js
08:53:33 WebServer: serving  /PlexConnect/assets/js/scrobble.js
08:53:33 WebServer: serving  /PlexConnect/assets/js/updateXML.js
08:53:33 WebServer: serving  /PlexConnect/assets/js/settings.js
08:53:36 ATVLogger: 0
08:53:36 WebServer: serving .xml: /library/sections/3/all
08:53:36 ATVLogger: 0
08:53:36 WebServer: serving  /PlexConnect/assets/js/utils.js
08:53:36 WebServer: serving  /PlexConnect/assets/js/scrobble.js
08:53:40 ATVLogger: loadURL (override): http://atv.plexconnect/library/metadata/216&PlexConnect=MoviePrePlay
08:53:40 WebServer: serving .xml: /library/metadata/216
08:53:44 DNSServer: DNS request received!
08:53:44 DNSServer: Source: ('10.0.0.37', 63331)
08:53:44 DNSServer: Domain: se.itunes.apple.com
08:53:44 DNSServer: ***forward request
08:53:44 DNSServer: -> DNS response from higher level
08:53:44 DNSServer: DNS request received!
08:53:44 DNSServer: Source: ('10.0.0.37', 53659)
08:53:44 DNSServer: Domain: e673.g.akamaiedge.net
08:53:44 DNSServer: ***forward request
08:53:44 DNSServer: -> DNS response from higher level
08:53:44 DNSServer: DNS request received!
08:53:44 DNSServer: Source: ('10.0.0.37', 58116)
08:53:44 DNSServer: Domain: configuration.apple.com
08:53:44 DNSServer: ***forward request
08:53:44 DNSServer: -> DNS response from higher level
08:53:46 WebServer: serving .xml: /library/sections/3
08:53:46 WebServer: serving .xml: /library/sections/3/all
08:53:46 ATVLogger: loadAndSwapURL (override): http://atv.plexconnect/library/sections/3/all
08:53:46 WebServer: serving  /PlexConnect/assets/js/utils.js
08:53:46 WebServer: serving  /PlexConnect/assets/js/updateXML.js
08:53:46 WebServer: serving  /PlexConnect/assets/js/utils.js
08:53:46 WebServer: serving  /PlexConnect/assets/js/scrobble.js
08:53:46 ATVLogger: 0
08:53:47 ATVLogger: 0
08:53:47 WebServer: serving .xml: /library/sections/3/all
08:53:47 WebServer: serving  /PlexConnect/assets/js/utils.js
08:53:47 WebServer: serving  /PlexConnect/assets/js/scrobble.js

Ok,

So Plexconnect is detecting the PMS IP address automatically as well as the Plexconnect IP address - but why is webserver at 0.0.0.0? Is this where the error is coming from? Here is what terminal says:

08:58:58 PlexConnect: ***
08:58:58 PlexConnect: PlexConnect
08:58:58 PlexConnect: Press CTRL-C to shut down.
08:58:58 PlexConnect: ***
08:58:58 PlexConnect: started: 08:58:58
08:58:58 PlexConnect: IP_self: 10.0.0.73
08:58:58 DNSServer: started: 08:58:58
08:58:58 DNSServer: ***
08:58:58 DNSServer: Starting up.
08:58:58 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 10.0.0.73
08:58:58 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
08:58:58 DNSServer: forward other to higher level DNS: 8.8.8.8
08:58:58 DNSServer: ***
08:58:58 WebServer: started: 08:58:58
08:58:58 WebServer: ***
08:58:58 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
08:58:58 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
08:58:58 WebServer: ***
08:58:58 PlexGDM: ***
08:58:58 PlexGDM: looking up Plex Media Server
08:58:58 PlexGDM: ***
08:58:59 PlexGDM: servers discovered: 1
08:58:59 XMLConverter: PlexGDM - PMS: 10.0.0.73:32400
08:59:30 DNSServer: DNS request received!
08:59:30 DNSServer: Source: ('10.0.0.37', 51786)
08:59:30 DNSServer: Domain: atv.plexconnect
08:59:30 DNSServer: ***intercept request
08:59:30 DNSServer: -> DNS response: 10.0.0.73
08:59:30 WebServer: serving .xml: /library/sections/3
08:59:30 WebServer: serving .xml: /library/sections/3/all
08:59:30 DNSServer: DNS request received!
08:59:30 DNSServer: Source: ('10.0.0.37', 63508)
08:59:30 ATVLogger: loadAndSwapURL (override): http://atv.plexconnect/library/sections/3/all
08:59:30 DNSServer: Domain: ax.init-cdn.itunes.apple.com.akadns.net
08:59:30 DNSServer: ***forward request
08:59:30 DNSServer: -> DNS response from higher level
08:59:30 WebServer: serving  /PlexConnect/assets/js/utils.js
08:59:30 WebServer: serving  /PlexConnect/assets/js/scrobble.js
08:59:30 DNSServer: DNS request received!
08:59:30 DNSServer: Source: ('10.0.0.37', 56704)
08:59:30 DNSServer: Domain: p6-buy.itunes.apple.com.akadns.net
08:59:30 DNSServer: ***forward request
08:59:31 DNSServer: -> DNS response from higher level
08:59:33 DNSServer: DNS request received!
08:59:33 DNSServer: Source: ('10.0.0.37', 64557)
08:59:33 DNSServer: Domain: a2.mzstatic.apple.com.akadns.net
08:59:33 DNSServer: ***forward request
08:59:33 DNSServer: -> DNS response from higher level
08:59:37 DNSServer: DNS request received!
08:59:37 DNSServer: Source: ('10.0.0.37', 50055)
08:59:37 DNSServer: Domain: trailers.apple.com
08:59:37 DNSServer: ***intercept request
08:59:37 DNSServer: -> DNS response: 10.0.0.73
08:59:37 WebServer: serving application.js
08:59:38 WebServer: serving .xml: /PlexConnect.xml
08:59:38 WebServer: serving  /PlexConnect/assets/js/utils.js
08:59:38 ATVLogger: loadItem: Library
08:59:38 WebServer: serving .xml: /library/sections
08:59:38 WebServer: serving  /PlexConnect/assets/js/utils.js
08:59:41 ATVLogger: loadURL (override): http://atv.plexconnect/library/sections/3
08:59:41 WebServer: serving .xml: /library/sections/3
08:59:42 WebServer: serving  /PlexConnect/assets/js/utils.js
08:59:42 WebServer: serving  /PlexConnect/assets/js/updateXML.js
08:59:42 ATVLogger: 1
08:59:42 ATVLogger: 1
08:59:42 WebServer: serving .xml: /library/sections/3
08:59:42 WebServer: serving  /PlexConnect/assets/js/utils.js
08:59:42 WebServer: serving  /PlexConnect/assets/js/scrobble.js
08:59:42 WebServer: serving  /PlexConnect/assets/js/updateXML.js
08:59:42 WebServer: serving  /PlexConnect/assets/js/settings.js
08:59:45 ATVLogger: loadURL (override): http://atv.plexconnect/library/metadata/208&PlexConnect=MoviePrePlay

08:59:45 WebServer: serving .xml: /library/metadata/208 

I should note that this is the first time I have updated Plexconnect since Mid-June and I never had this problem when I first installed it.  I had the hash mark problems but then I updated python to 2.7.5 and those went away - everything was working perfectly until I did this certfile update.  I downloaded my Plexconnect-master.zip from this link:

https://github.com/iBaa/PlexConnect

Is that the right fork?

Aaron

It is supposed to be 0.0.0.0, that is not the problem.

Well,


I don't seem to be having the G_CommandCollection errors anymore but I still don't get the PrePlayScreen - I just get the "Trailers is not available. Try again later" and all Terminal says when I click for the PrePlayScreen is:

09:32:27 ATVLogger: loadURL (override): http://atv.plexconnect/library/metadata/521&PlexConnect=EpisodePrePlay
09:32:28 WebServer: serving .xml: /library/metadata/521
 
or
 
09:39:26 WebServer: serving .xml: /library/metadata/478
 
Aaron

Just to add clarity I used this method to update python:

http://wolfpaulus.com/jounal/mac/installing_python_osx

Just to add clarity I used this method to update python:

http://wolfpaulus.com/jounal/mac/installing_python_osx

To confirm your python, just type python --version, should be 2.7.x. Usually 2.7.5.

From my exp, I think your Plexconnect is working, seeing serving HTML/XML and intercepting. One issue is you could not see some of the preplay view right?

I begin to suspect if something wrong in your metadata parse by plexconnect or PMS -- 09:39:26 WebServer: serving .xml: /library/metadata/478 -- no more output then.

Something I could suggest is double check that the pem cert you are using are signed by your own ca cert, to avoid SSL cert verification does not match failure, which in your case, this part should be ok, because plexconnect is serving you from beggining.

second is try to test another video, in a seperate short name folder.  What I have done before is I just create one folder named D:\PMS, put one movie dark knight in it, and test the workflow. I could feel that PMS parse this movie very smoothly, getting messive information for this movie, from abstract to actor list, which I should say the metadata is completely perfect. Then the plexconnect works fine. If you could see plexconnect is giving you pages on PMS, but just some of the pages are not working, try another movie, like MP4 or other video that follow the standard, try open http://your_pms_ip:your_pms_port or your PMS manager web page to see if the movie has some metadata. Also you could check the movie you have trouble on the pages, try to play it on your PC first.

I suggest updating ATV firmware from 5.1 to 5.3. Two others with preplay screen issues have done this and fixed their problem. If you are worried about potential future jail breaking save your SSH blobs with Tinyumbrella before you upgrade.

From my exp, I think your Plexconnect is working, seeing serving HTML/XML and intercepting. One issue is you could not see some of the preplay view right?

I begin to suspect if something wrong in your metadata parse by plexconnect or PMS -- 09:39:26 WebServer: serving .xml: /library/metadata/478 -- no more output then.

Something I could suggest is double check that the pem cert you are using are signed by your own ca cert, to avoid SSL cert verification does not match failure, which in your case, this part should be ok, because plexconnect is serving you from beggining.

second is try to test another video, in a seperate short name folder.  What I have done before is I just create one folder named D:\PMS, put one movie dark knight in it, and test the workflow. I could feel that PMS parse this movie very smoothly, getting messive information for this movie, from abstract to actor list, which I should say the metadata is completely perfect. Then the plexconnect works fine. If you could see plexconnect is giving you pages on PMS, but just some of the pages are not working, try another movie, like MP4 or other video that follow the standard, try open http://your_pms_ip:your_pms_port or your PMS manager web page to see if the movie has some metadata. Also you could check the movie you have trouble on the pages, try to play it on your PC first.

The Pem Cert was made on the same computer as the the ca cert - and like you said it is working up until the Pre-Play-Screen.  I tried creating a new folder in the library and then putting a movie file in their and still I get the same error - Trailers is not available. Try again later.  The movies are also playing fine on the ATV it is just that I can't get to the PrePlayWindow.