Dear All,
Since few days I am trying to put Plexconnect on my NAS. I never succeed to run Plexconnect properly, however I was abble to maintain connection for a while and search PMS catalogue as well as see few minutes of move, then connection was dropped.
My environment:
QNAP TS-469L with fw 4.0.5
NAS IP 192.168.10.102
Gateway IP 192.168.10.1
ATV IP 192.168.10.104
HTTP for Web Administration port 8080, SSL port 444
Web server ON on port 82 SSL port 8081 (I do not host anything - just turn www server for Plexconnect purpose)
Plex Media Server installed and ON
Python installed and ON
What I already did:
1). I dowloaded "plecconnect-master.zip" from github page
2). I created certificates and put it on my ATV
3). Using WinSCP I connected my NAS as admin and created destination Plexconnect folder "/share/CACHEDEV1_DATA/.qpkg/PlexConnect"
4). Using WinSCP I copied unzipped content of "plecconnect-master.zip" into created destination Plexconnect folder "/share/CACHEDEV1_DATA/.qpkg/PlexConnect"
5). I copied trailers.pem inside "/share/CACHEDEV1_DATA/.qpkg/PlexConnect/assets" folder on NAS
6). I went into Python/bin folder "/share/CACHEDEV1_DATA/.qpkg/Python/bin"
7). From command line I run start command: "python /share/CACHEDEV1_DATA/.qpkg/PlexConnect/PlexConnect.py"
Script is starting and stops at line "10:51:21 PlexConnect: IP_self: 192.168.10.102"
/share/CACHEDEV1_DATA/.qpkg/Python/bin$ python /share/CACHEDEV1_DATA/.qpkg/PlexConnect/PlexConnect.py
10:51:21 PlexConnect: ***
10:51:21 PlexConnect: PlexConnect
10:51:21 PlexConnect: Press CTRL-C to shut down.
10:51:21 PlexConnect: ***
10:51:21 Settings: add section PlexConnect
10:51:21 Settings: add option enable_webserver_ssl=True
10:51:21 Settings: add option logpath=.
10:51:21 Settings: add option enable_dnsserver=True
10:51:21 Settings: add option prevent_atv_update=True
10:51:21 Settings: add option port_dnsserver=53
10:51:21 Settings: add option enable_plexconnect_autodetect=True
10:51:21 Settings: add option port_pms=32400
10:51:21 Settings: add option port_webserver=80
10:51:21 Settings: add option ip_plexconnect=0.0.0.0
10:51:21 Settings: add option certfile=./assets/certificates/trailers.pem
10:51:21 Settings: add option ip_dnsmaster=8.8.8.8
10:51:21 Settings: add option loglevel=Normal
10:51:21 Settings: add option ip_pms=192.168.178.10
10:51:21 Settings: add option enable_plexgdm=True
10:51:21 Settings: add option port_ssl=443
10:51:21 PlexConnect: started: 10:51:21
10:51:21 PlexConnect: IP_self: 192.168.10.102
A this moment I can see on my TV all the Apple icons as well as go inside trailers where I can see Plex with its library. I can pick the movie and see it. However if I quit the movie everything stops and my ATV shows accessing trailers info. My connection is broken and I have no access to any of internet services on ATV.
8). When I execute the same starting command via terminal "python /share/CACHEDEV1_DATA/.qpkg/PlexConnect/PlexConnect.py" on terminal I see more lines, but finally plexconnect is down
/share/CACHEDEV1_DATA/.qpkg/Python/bin$ python /share/CACHEDEV1_DATA/.qpkg/PlexConnect/PlexConnect.py
10:51:21 PlexConnect: ***
10:51:21 PlexConnect: PlexConnect
10:51:21 PlexConnect: Press CTRL-C to shut down.
10:51:21 PlexConnect: ***
10:51:21 Settings: add section PlexConnect
10:51:21 Settings: add option enable_webserver_ssl=True
10:51:21 Settings: add option logpath=.
10:51:21 Settings: add option enable_dnsserver=True
10:51:21 Settings: add option prevent_atv_update=True
10:51:21 Settings: add option port_dnsserver=53
10:51:21 Settings: add option enable_plexconnect_autodetect=True
10:51:21 Settings: add option port_pms=32400
10:51:21 Settings: add option port_webserver=80
10:51:21 Settings: add option ip_plexconnect=0.0.0.0
10:51:21 Settings: add option certfile=./assets/certificates/trailers.pem
10:51:21 Settings: add option ip_dnsmaster=8.8.8.8
10:51:21 Settings: add option loglevel=Normal
10:51:21 Settings: add option ip_pms=192.168.178.10
10:51:21 Settings: add option enable_plexgdm=True
10:51:21 Settings: add option port_ssl=443
10:51:21 PlexConnect: started: 10:51:21
10:51:21 PlexConnect: IP_self: 192.168.10.102
10:51:21 WebServer: started: 10:51:21
10:51:21 WebServer: Failed to connect to HTTP on 192.168.10.102 port 80: [Errno 98] Address already in use
10:51:21 DNSServer: started: 10:51:21
10:51:21 DNSServer: ***
10:51:21 DNSServer: DNSServer: Serving DNS on 192.168.10.102 port 53.
10:51:21 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.10.102
10:51:21 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
10:51:21 DNSServer: forward other to higher level DNS: 8.8.8.8
10:51:21 DNSServer: ***
10:51:26 DNSServer: Shutting down.
10:51:21 PlexConnect: WebServer not alive. Shutting down.
10:51:21 PlexConnect: Shutting down.
10:51:26 PlexConnect: shutdown
At that time I have no access to any of ATV servicess
__________________________________________
My autogenerated Setting.cfg file looks lie that:
[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 = 0.0.0.0
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
What is that address ip_pms = 192.168.178.10… I do not use any of that pool?
Is my NAS compatible with Plexconnect?
Where I do sth wrong? Did I miss sth?