WebServer_SSL not alive

Hi everyone,

 

I cant connect to the trailer page, here is my PlexConnect logfile:

20:03:58 PlexConnect: started: 20:03:58
20:03:58 PlexConnect: IP_self: 192.168.0.12
20:03:58 DNSServer: started: 20:03:58
20:03:58 DNSServer: ***
20:03:58 DNSServer: DNSServer: Serving DNS on port 53.
20:03:58 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.0.12
20:03:58 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
20:03:58 DNSServer: forward other to higher level DNS: 8.8.8.8
20:03:58 DNSServer: ***
20:03:58 WebServer: started: 20:03:58
20:03:59 WebServer: ***
20:03:59 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
20:03:59 WebServer: ***
20:03:59 PlexGDM: ***
20:03:59 PlexGDM: looking up Plex Media Server
20:03:59 PlexGDM: ***
20:03:59 WebServer: started: 20:03:59
20:03:59 WebServer: Failed to access certificate: C:\Users\pascal\Downloads\PlexConnect-masterPlex\./assets/certificates/ = 8.8.8.8
loglevel = Normal
20:03:59 PlexConnect: WebServer_SSL not alive. Shutting down.
20:03:59 PlexConnect: Shutting down.
20:04:00 PlexGDM: servers discovered: 1
20:04:00 XMLConverter: PlexGDM - PMS: 192.168.0.12:32400
20:04:00 WebServer: Shutting down.
20:04:03 DNSServer: Shutting down.
20:04:03 PlexConnect: shutdown
 

and if i replace normal with High i got this logfile..

 

 

20:06:59 PlexConnect: started: 20:06:59
20:06:59 Settings: getsetting enable_plexconnect_autodetect=True
20:06:59 PlexConnect: IP_self: 192.168.0.12
20:06:59 Settings: getsetting enable_dnsserver=True
20:06:59 DNSServer: started: 20:06:59
20:06:59 Settings: getsetting port_dnsserver=53
20:06:59 Settings: getsetting ip_dnsmaster=8.8.8.8
20:06:59 Settings: getsetting prevent_atv_update=True
20:06:59 DNSServer: ***
20:06:59 DNSServer: DNSServer: Serving DNS on port 53.
20:06:59 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.0.12
20:06:59 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
20:06:59 DNSServer: forward other to higher level DNS: 8.8.8.8
20:06:59 DNSServer: ***
20:06:59 WebServer: started: 20:06:59
20:06:59 Settings: getsetting ip_webserver=0.0.0.0
20:06:59 Settings: getsetting enable_webserver_ssl=True
20:06:59 Settings: getsetting port_webserver=80
20:06:59 WebServer: ***
20:06:59 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
20:06:59 WebServer: ***
20:06:59 ATVSettings: init class CATVSettings
20:06:59 ATVSettings: load settings
20:06:59 Settings: getsetting enable_plexgdm=True
20:06:59 PlexGDM: ***
20:06:59 PlexGDM: looking up Plex Media Server
20:06:59 PlexGDM: ***
20:06:59 PlexGDM: Sending discovery message: M-SEARCH * HTTP/1.0
20:06:59 PlexGDM: Received data from ('192.168.0.12', 32414)
20:06:59 PlexGDM: Data received:
 HTTP/1.0 200 OK

Content-Type: plex/media-server

Resource-Identifier: [code appears here, but due to safety issue I deleted it]

Name: pascal-PC

Port: 32400

Updated-At: 1379958144

Version: 0.9.7.28-f80a4a2




20:06:59 WebServer: started: 20:06:59
20:06:59 Settings: getsetting ip_webserver=0.0.0.0
20:06:59 Settings: getsetting port_webserver=80
20:06:59 Settings: getsetting port_ssl=443
20:06:59 Settings: getsetting certfile=C:\Users\pascal\Downloads\PlexConnect-master\assets\certificates railers.pem = 8.8.8.8
20:06:59 Settings: getsetting certfile=C:\Users\pascal\Downloads\PlexConnect-master\assets\certificates railers.pem = 8.8.8.8
20:06:59 WebServer: Failed to access certificate: C:\Users\pascal\Downloads\PlexConnect-master\assets\certificates railers.pem = 8.8.8.8
20:07:00 PlexGDM: servers discovered: 1
20:07:00 PlexGDM: pascal-PC 192.168.0.12:32400
20:07:00 XMLConverter: PlexGDM - PMS: 192.168.0.12:32400
20:07:00 ATVSettings: setOption: update pms_uuid to ('code',)
20:07:33 PlexConnect: Shutting down.
20:07:33 WebServer: Shutting down.
20:07:33 ATVSettings: save settings
20:07:34 DNSServer: Shutting down.
20:07:34 PlexConnect: shutdown

 

I installed the certificate and I also have to latest PlexConnect "software"

Your cert path is wrong, why has it got  = 8.8.8.8 on the end????

Please post your Settings.cfg file.

here is the seetings.cfg file:

[PlexConnect]
port_pms = 32400
port_webserver = 80
ip_plexconnect = 0.0.0.0
certfile = C:\Users\pascal\Downloads\PlexConnect-master\assets\certificates railers.pem = 8.8.8.8
loglevel = Normalenable_dnsserver = True
logpath = .
ip_pms = 192.168.178.10
enable_plexgdm = True
port_ssl = 443
enable_webserver_ssl = True
ip_webserver = 0.0.0.0
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = True
ip_dnsmaster = 8.8.8.8
enable_dnsserver = True

may be I have changed too much, since I tried a lot!
 

Yep, it's screwed up :)

On the certfile line delete the = 8.8.8.8 from the end of the line.

On the next line loglevel there should be a "return" after Normal so that enable_dnsserver is on it's own line.

Personally I would just delete the Setting.cfg file and rerun PlexConnect to generate a fresh one.

Okay thank you! so I just deleted the settings.cfg file, here is the output of plexconnect:

20:36:10 PlexConnect: started: 20:36:10
20:36:10 PlexConnect: IP_self: 192.168.0.12
20:36:10 DNSServer: started: 20:36:10
20:36:10 DNSServer: ***
20:36:10 DNSServer: DNSServer: Serving DNS on port 53.
20:36:10 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.0.12
20:36:10 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
20:36:10 DNSServer: forward other to higher level DNS: 8.8.8.8
20:36:10 DNSServer: ***
20:36:10 WebServer: started: 20:36:10
20:36:10 WebServer: ***
20:36:10 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
20:36:10 WebServer: ***
20:36:10 PlexGDM: ***
20:36:10 PlexGDM: looking up Plex Media Server
20:36:10 PlexGDM: ***
20:36:10 WebServer: started: 20:36:10
20:36:10 WebServer: ***
20:36:10 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
20:36:10 WebServer: ***
20:36:11 PlexGDM: servers discovered: 1
20:36:11 XMLConverter: PlexGDM - PMS: 192.168.0.12:32400
20:37:02 PlexConnect: Shutting down.
20:37:03 WebServer: Shutting down.
20:37:03 WebServer: Shutting down.
20:37:05 DNSServer: Shutting down.
20:37:05 PlexConnect: shutdown
 

and the new settings.cfg file:

[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 = Normal
enable_dnsserver = True
logpath = .
ip_pms = 192.168.178.10
enable_plexgdm = True
port_ssl = 443
enable_webserver_ssl = True
ip_webserver = 0.0.0.0
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = True
 

So is everything working ok now?

Nay the device still tries to connect to the real trailer page, but nothing will be loaded (even after some minutes), but if I try to connect to youtube or itunes festival i will connect promptly to it

Ok, edit Setting.cfg and change:-

loglevel = Normal

to

loglevel = High

Delete the PlexConnect.log file

Run PlexConnect again and try to access trailers on the atv, then shutdown PlexConnect and post the PlexConnect.log file to pastebin.com for me to take a look at.

20:59:45 PlexConnect: started: 20:59:45
20:59:45 Settings: getsetting enable_plexconnect_autodetect=True
20:59:45 PlexConnect: IP_self: 192.168.0.12
20:59:45 Settings: getsetting enable_dnsserver=True
20:59:45 DNSServer: started: 20:59:45
20:59:45 Settings: getsetting port_dnsserver=53
20:59:45 Settings: getsetting ip_dnsmaster=8.8.8.8
20:59:45 Settings: getsetting prevent_atv_update=True
20:59:45 DNSServer: ***
20:59:45 DNSServer: DNSServer: Serving DNS on port 53.
20:59:45 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.0.12
20:59:45 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
20:59:45 DNSServer: forward other to higher level DNS: 8.8.8.8
20:59:45 DNSServer: ***
20:59:45 WebServer: started: 20:59:45
20:59:45 Settings: getsetting ip_webserver=0.0.0.0
20:59:45 Settings: getsetting port_webserver=80
20:59:45 Settings: getsetting enable_webserver_ssl=True
20:59:45 WebServer: ***
20:59:45 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
20:59:45 WebServer: ***
20:59:45 ATVSettings: init class CATVSettings
20:59:45 ATVSettings: load settings
20:59:45 Settings: getsetting enable_plexgdm=True
20:59:45 PlexGDM: ***
20:59:45 PlexGDM: looking up Plex Media Server
20:59:45 PlexGDM: ***
20:59:45 PlexGDM: Sending discovery message: M-SEARCH * HTTP/1.0
20:59:45 PlexGDM: Received data from ('192.168.0.12', 32414)
20:59:45 PlexGDM: Data received:
 HTTP/1.0 200 OK

Content-Type: plex/media-server

Resource-Identifier: [code]

Name: pascal-PC

Port: 32400

Updated-At: 1379958144

Version: 0.9.7.28-f80a4a2




20:59:45 WebServer: started: 20:59:45
20:59:45 Settings: getsetting ip_webserver=0.0.0.0
20:59:45 Settings: getsetting port_webserver=80
20:59:45 Settings: getsetting port_ssl=443
20:59:45 Settings: getsetting certfile=./assets/certificates/trailers.pem
20:59:45 Settings: getsetting certfile=./assets/certificates/trailers.pem
20:59:45 WebServer: ***
20:59:45 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
20:59:45 WebServer: ***
20:59:46 PlexGDM: servers discovered: 1
20:59:46 PlexGDM: pascal-PC 192.168.0.12:32400
20:59:46 XMLConverter: PlexGDM - PMS: 192.168.0.12:32400
20:59:46 ATVSettings: setOption: update pms_uuid to ('code',)
21:00:19 PlexConnect: Shutting down.
21:00:20 WebServer: Shutting down.
21:00:20 ATVSettings: save settings
21:00:20 WebServer: Shutting down.
21:00:20 DNSServer: Shutting down.
21:00:20 PlexConnect: shutdown
 

That log show no communication between PlexConnect and the ATV. My first guess would be that the certificate is either not installed on the atv or is installed incorrectly. Could you create the certificate again and reinstall it on the atv.

It also doesn't show any DNS request coming in...

Did you switch the aTV DNS setting to your host's IP?

alright I will reinstall the certificate (later since I have to work now)…

@ baa: no, the DNS should be choosen automatically

>> @ baa: no, the DNS should be choosen automatically

No, it can't. To use PlexConnect you have to override the aTV DNS setting to point to your PlexConnect machine...

which DNS I have to use? sorry I'm confused :S

DNSServer in PlexConnect.

>> 20:03:58 PlexConnect: IP_self: 192.168.0.12

Thank you very much, I really appreciate that both of you had spent some time and successfully solved the issue :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.