seems like WebServer.py does not open SSL port.

Hello :)

 

I'm newbie on plex+atv.

 

I heard about plexconnect so I bought atv 3rd gen.

 

 

Through many instructions, I cleared each step for connect atv into my plex media server.

 

after endless painful attempts, I realized that WebServer.py module does not works at all.

 

 

First, my pc configurations are:

OS:Windows7 32bit

HW:N36L(HP Microserver)

Python ver : 2.7.x

plexconnect src ver : latest (downloaded yesterday)

atv sw ver:6.0.1

 

I have a router on my home network, both N36L and AppleTv are attached to this router.

 

N36L IP : 192.168.0.10

Atv : 192.168.0.40

Gateway : 192.168.0.1

 

 

I attached cmd console log below.

 

C:\Users\sunny\Desktop\PlexConnect-master>plexconnect.py
00:22:53 PlexConnect: ***
00:22:53 PlexConnect: PlexConnect
00:22:53 PlexConnect: Press CTRL-C to shut down.
00:22:53 PlexConnect: ***
00:22:53 PlexConnect: started: 00:22:53
00:22:53 PlexConnect: IP_self: 192.168.0.10
00:22:54 DNSServer: started: 00:22:54
00:22:54 DNSServer: ***
00:22:54 DNSServer: DNSServer: Serving DNS on 192.168.0.10 port 53.
00:22:54 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.
168.0.10
00:22:54 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld
.apple.com.edgesuite.net'] => 127.0.0.1
00:22:54 DNSServer: forward other to higher level DNS: 8.8.8.8
00:22:54 DNSServer: ***
00:22:54 WebServer: started: 00:22:54
00:22:54 WebServer: started: 00:22:54
00:22:54 WebServer: ***
00:22:54 WebServer: ***
00:22:54 WebServer: WebServer: Serving HTTPS on 192.168.0.10 port 443.
00:22:5400:22:54 WebServer: ***
 WebServer: WebServer: Serving HTTP on 192.168.0.10 port 80.
00:22:54 WebServer: ***
00:23:34 DNSServer: DNS request received!
00:23:34 DNSServer: Source: ('192.168.0.41', 65005)
00:23:34 DNSServer: Domain: trailers.apple.com
00:23:34 DNSServer: ***intercept request
00:23:34 DNSServer: -> DNS response: 192.168.0.10
 
 
When I try to access "trailer" menu, atv says "unable to use trailers. blahblah"
and after intercept message, nothing appears on python log. 
 
 
 
I found the "Console" tab on "iphone configuration tool".
 
Every time I hit the "Trailers", apple tv prints out below logs.
 
Nov  1 00:32:24 Apple-TV backboardd[28] : __hid_dispatch_pthread_root_queue_create_block_invoke: specific=0x17d26600 pthread_self=0x2f75000
Nov  1 00:32:25 Apple-TV AppleTV[24] : CFNetwork SSLHandshake failed (-9806)
Nov  1 00:32:25 Apple-TV AppleTV[24] : CFNetwork SSLHandshake failed (-9806)
Nov  1 00:32:25 Apple-TV AppleTV[24] : CFNetwork SSLHandshake failed (-9806)
Nov  1 00:32:25 Apple-TV AppleTV[24] : NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9806)
 

 

 

 

Yesterday, I captured network packets, but I have no knowledge with network packets especially SSL packets.

 

If you need captured packet, I would attach it later.

 

When I change my browser's UA to 'AppleTV' and trying to connect plexconnect's WebServer module through SSL(type https://192.168.0.10 in URL bar), it seems like it can not response any type of SSL HTTP request. Browser says "This page is unavailable".

 

It is clearly different from normal port(80) webserver. port 80 works well.

 

 

I'm running "Subsonic" on N36L. It also supports SSL connection. subsonic works great with SSL HTTP option. Of course subsonic's SSL option is off when I trying to use plexconnect.

 

For your information, I attach my plexconnect cfg file below.

 

[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 = C:\Users\sunny\Desktop\PlexConnect-master\assets\certificates railers.pem
ip_dnsmaster = 8.8.8.8
loglevel = Normal
ip_pms = 192.168.178.10
enable_plexgdm = True
port_ssl = 443
 

 

 

I have no idea how to fix this problem..

I'm living in korea so AppleTV can't do anything for me without plex connection.

 

It'll be very appreciated with your comment. Thank you :)

double check you have done all the certificate generate steps correctly from the instructions.

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