PlexConnect not working on CentOs

Hi

 

Please could some help me with this. plex gets stuck on dns line

Setup :

Centos 6.4
Cert created and upload to atv3
atv3 5.3

python 2.7 installed but don’t know how to switch plex over to it

12:37:25 PlexConnect: started: 12:37:25
12:37:25 PlexConnect: Version: 0.3.1+
12:37:25 PlexConnect: Python: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
12:37:25 PlexConnect: Host OS: linux2
12:37:25 Settings: getsetting enable_plexconnect_autodetect=True
12:37:25 PlexConnect: IP_self: 192.168.1.10
12:37:25 Settings: getsetting hosttointercept=trailers.apple.com
12:37:25 Settings: getsetting enable_dnsserver=True
12:37:25 DNSServer: started: 12:37:25
12:37:25 Settings: getsetting port_dnsserver=53
12:37:25 Settings: getsetting ip_dnsmaster=8.8.8.8
12:37:25 Settings: getsetting prevent_atv_update=True
12:37:25 DNSServer: ***
12:37:25 DNSServer: DNSServer: Serving DNS on 192.168.1.10 port 53.
12:37:25 DNSServer: intercept: [‘trailers.apple.com’] => 192.168.1.10
12:37:25 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld.apple.com.edgesuite.net’] => 127.0.0.1
12:37:25 DNSServer: forward other to higher level DNS: 8.8.8.8
12:37:25 DNSServer: ***
12:37:25 WebServer: started: 12:37:25
12:37:25 Settings: getsetting port_webserver=80
12:37:25 WebServer: ***
12:37:25 WebServer: WebServer: Serving HTTP on 192.168.1.10 port 80.
12:37:25 WebServer: ***
12:37:25 ATVSettings: init class CATVSettings
12:37:25 ATVSettings: load settings
12:37:25 Settings: getsetting enable_webserver_ssl=True
12:37:25 WebServer: started: 12:37:25
12:37:25 Settings: getsetting port_ssl=443
12:37:25 Settings: getsetting certfile=./assets/certificates/trailers.pem
12:37:25 Settings: getsetting certfile=./assets/certificates/trailers.pem
12:37:25 WebServer: ***
12:37:25 WebServer: WebServer: Serving HTTPS on 192.168.1.10 port 443.
12:37:25 WebServer: ***
12:37:31 DNSServer: DNS request received!
12:37:31 DNSServer: Source: (‘192.168.1.214’, 52246)
12:37:31 DNSServer: Domain: trailers.apple.com
12:37:31 DNSServer: ***intercept request
12:37:31 DNSServer: -> DNS response: 192.168.1.10
12:37:40 PlexConnect: Shutting down.
12:37:41 WebServer: Shutting down.
12:37:41 WebServer: Shutting down.
12:37:41 ATVSettings: save settings
12:37:41 DNSServer: Shutting down.
12:37:41 PlexConnect: shutdown

[PlexConnect]
port_pms = 32400
port_webserver = 80
ip_plexconnect = 0.0.0.0
certfile = ./assets/certificates/trailers.pem
ip_dnsmaster = 8.8.8.8
loglevel = High
enable_dnsserver = True
logpath = /var/www/html/
ip_pms = 192.168.1.10
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
 

you should be able to start it by something similar to that (from the PlexConnect folder):

>/path to python27/python PlexConnect.py

Other options...

- there is something like a system path variable where the old python is still referred to.

- the new version has a start script like "python27", that you could use.