Getting a constant Access Trailers message...

Dont't know what's happening but something isn't going right... Any ideas? Had it working for a few months before I decided to reinstall with newest commit...

 

 

Here's my settings.cfg file if needed aswell...
 

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

I am having the exact same issue. I started when I updated to the latest git

As always... please set loglevel to "High", re-create the issue and attach (!) PlexConnect.log.

Here you go

Attached Log doesn't show an exception, does it?

How is that the "exact same issue"?

gford: I see a bug in the XML generation, as you have two servers, with the first one (LRMC) not sharing any library sections...

Please try the following:

In file Library.xml, lines 42/43, move the {{cmd}} down to have it look like this:

            
          {{CUT(size:CUT:0=CUT|1=)}}
Is is any better?

I think I'm having the same problem. Not real sure. I'm pretty new to all this... Log file attached.

Log is gford's?

Will do this tonight when I get home from work. Sorry about the lengthy log in the post. Didn't think about attaching. Will clean it up when I get home! Sorry, Baa!

gford: your issue should be fixed with the latest commit.

Dukestep: this is caused by a "special char" (in this case "a circumflex") in your servername. Stupid python doesn't like to dump this into our log file. We had similar issues before, I will see, why this creeps up again. Shortterm remedy: rename you PMS using standard ASCII chars only.

Dukestep: Your issue should be fixed as well. Servername is now handled in utf-8... please have a try.

I don't know how that happened. Maybe I don't know how to save a log. Sorry. I'm a newbie. 

Latest Commit got my Library working, but I still don't have Channels. It says No response from Plex Media Server.

Callies-MacBook-Pro:PlexConnect-master Callie$ sudo ./PlexConnect.py

14:02:23 PlexConnect: ***
14:02:23 PlexConnect: PlexConnect
14:02:23 PlexConnect: Press CTRL-C to shut down.
14:02:23 PlexConnect: ***
14:02:23 PlexConnect: started: 14:02:23
14:02:23 PlexConnect: IP_self: 172.20.10.4
14:02:23 DNSServer: started: 14:02:23
14:02:23 DNSServer: ***
14:02:23 DNSServer: DNSServer: Serving DNS on 172.20.10.4 port 53.
14:02:23 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 172.20.10.4
14:02:23 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
14:02:23 DNSServer: forward other to higher level DNS: 8.8.8.8
14:02:23 DNSServer: ***
14:02:23 WebServer: started: 14:02:23
14:02:23 WebServer: ***
14:02:23 WebServer: WebServer: Serving HTTP on 172.20.10.4 port 80.
14:02:23 WebServer: ***
14:02:23 PlexAPI: ***
14:02:23 PlexAPI: looking up Plex Media Server
14:02:23 PlexAPI: ***
14:02:23 WebServer: started: 14:02:23
14:02:23 WebServer: ***
14:02:23 WebServer: WebServer: Serving HTTPS on 172.20.10.4 port 443.
14:02:23 WebServer: ***
14:02:24 PlexAPI: servers discovered: 1
14:02:24 XMLConverter: PlexGDM - PMS: 172.20.10.4:32400
14:02:29 DNSServer: DNS request received!
14:02:29 DNSServer: Source: ('172.20.10.5', 61742)
14:02:29 DNSServer: Domain: trailers.apple.com
14:02:29 DNSServer: ***intercept request
14:02:29 DNSServer: -> DNS response: 172.20.10.4
14:02:29 WebServer: serving  /Users/Callie/Downloads/PlexConnect-master/assets/js/application.js
14:02:29 DNSServer: DNS request received!
14:02:29 DNSServer: Source: ('172.20.10.5', 63229)
14:02:29 DNSServer: Domain: atv.plexconnect
14:02:29 DNSServer: ***intercept request
14:02:29 DNSServer: -> DNS response: 172.20.10.4
14:02:29 WebServer: serving .xml: /PlexConnect.xml
14:02:29 ATVSettings: add section C0HL45S0FF54
14:02:29 WebServer: serving  /Users/Callie/Downloads/PlexConnect-master/assets/js/utils.js
14:02:29 WebServer: serving .xml: /library/sections
14:02:29 WebServer: serving  /Users/Callie/Downloads/PlexConnect-master/assets/js/utils.js
14:02:30 WebServer: serving .xml: /library/sections/1/recentlyAdded
14:02:44 WebServer: serving .xml: /channels/all
14:02:44 PlexAPI: No Response from Plex Media Server
14:02:44 PlexAPI: We failed to reach a server. Reason: no host given

>> Latest Commit got my Library working, but I still don't have Channels.

Fine for me. Yesterday's commit (PMS handling re-thought - collect all PMS/Sections on main Library page) says...

"Known Issues: ... - Channels are pulled only from one PMS"

"Channels" actually still pulls from the PMS selected in Settings, which is somewhat dead in the water nowadays. You can still try to revive your PMS/channels there... not sure how that works, though. Doing a major overhaul in the PMS handling, stuff like this just happens. :-)

I appreciate the testing, though!

I just ran git pull, it however still fails for me. (Accessing Trailers keeps on spinning).

21:40:57 WebServer: serving .xml: /library/sections
----------------------------------------
Exception happened during processing of request from ('192.168.1.42', 49189)
Traceback (most recent call last):
  File "/usr/lib64/python2.6/SocketServer.py", line 283, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib64/python2.6/SocketServer.py", line 309, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib64/python2.6/SocketServer.py", line 322, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib64/python2.6/SocketServer.py", line 617, in __init__
    self.handle()
  File "/usr/lib64/python2.6/BaseHTTPServer.py", line 329, in handle
    self.handle_one_request()
  File "/usr/lib64/python2.6/BaseHTTPServer.py", line 323, in handle_one_request
    method()
  File "/var/PlexConnect/WebServer.py", line 168, in do_GET
    XML = XMLConverter.XML_PMS2aTV(PMSaddress, self.path + args, options)
  File "/var/PlexConnect/XMLConverter.py", line 350, in XML_PMS2aTV
    PMS = PlexAPI.getSectionXML(PMS_list, options, auth_token)
  File "/var/PlexConnect/PlexAPI.py", line 245, in getSectionXML
    for Dir in PMS.iter('Directory'):  # copy "Directory" content
AttributeError: ElementTree instance has no attribute 'iter'

I am using PlexConnect on 64 bit Centos 6.4 with PMS 9.8.9

LogFile is Attached.

Thanks

>> AttributeError: ElementTree instance has no attribute 'iter'

...but it fails differently. Isn't that something? :-)

I guess, your python is somewhat outdated - .iter() is said to be available starting with 2.7. Please verify your python version and upgrade if possible.

Hm. Looks like we have to update the ReadMe plus WIKI.

I will look into that, not sure how easy that is on CentOS 6.4 as there is no channel / yum update available afaik

Centos still uses Python 2.6

Centos still uses Python 2.6