Plexconnect won't work

Hi,

 

The Trailer app won't work and I get  this error  - Trailer is unavailable. Try again later.

 

ATV 3 with the latest 6.2  firmware.

PMS version - 0.9.9.14.5 running on QNAP NAS TS219 PII with Python 2.7

 

Here is what I did -

 

Got Plexconnect from - git clone https://github.com/iBaa/PlexConnect.git

 

Created the trailers.cer/pem/key files using 


 openssl req -new -nodes -newkey rsa:2048 -out trailers.pem -keyout trailers.key -x509 -days 7300 -subj "/C=US/ CN=trailers.apple.com"
 
 openssl x509 -in trailers.pem -outform der -out trailers.cer && cat trailers.key >>trailers.pem
 

Modified the Settings.cfg  which is given below.

Modified the ATV DNS with the IP of PlexConnect  and created profile using trailers.cer in ATV.

[PlexConnect]
enable_plexgdm = False
ip_pms = 192.168.1.178
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 192.168.1.1
prevent_atv_update = True
enable_plexconnect_autodetect = False
ip_plexconnect = 192.168.1.178
hosttointercept = trailers.apple.com
port_webserver = 80
enable_webserver_ssl = True
port_ssl = 443
certfile = ./assets/certificates/trailers.pem
loglevel = High
logpath = .

Every attempt of Trailer app click gives these messages in the log

20:18:08 DNSServer: DNS request received!
20:18:08 DNSServer: Source: ('192.168.1.62', 59402)
20:18:08 DNSServer: Domain: trailers.apple.com
20:18:08 DNSServer: ***intercept request
20:18:08 DNSServer: -> DNS response: 192.168.1.178
20:18:09 WebServer: serving /js/application.js

PlexConnect.log

Connection: keep-alive
X-Apple-TV-Resolution: 1080
X-Apple-TV-Version: 6.2
User-Agent: iTunes-AppleTV/6.2 (3; 8GB; dt:12)

19:19:41 WebServer: http request path:
/appletv/us/js/application.js
19:19:41 Localize: aTVLanguage: en
19:19:41 WebServer: pms address:

19:19:41 WebServer: cleaned path:
/appletv/us/js/application.js
19:19:41 WebServer: PlexConnect options:
{‘aTVScreenResolution’: ‘1080’, ‘aTVFirmwareVersion’: ‘6.2’, ‘aTVLanguage’: ‘en’ , ‘aTVAddress’: ‘192.168.1.63’}
19:19:41 WebServer: additional arguments:

19:19:41 WebServer: serving /js/application.js

Any idea?

 

 

Thanks

What happened to your time axis?

Sorry I didn't get it. What do you mean?

I don't know why  PMS address is blank in the log..

19:19:41 WebServer: pms address:

Maybe this is the cause of the trouble?

Baa was asking what happened with the times in your log, it starts at 20:18 and finishes at 19:19 clocks don’t normally go backwards (even though some days we would all like this)

I see. That's just the logs I picked up to show it here.. There is no problem with time.

Then provide the full logs so they can be looked at, otherwise how can anyone assist?

Hi everyone, can you helpme please?

I always use plex via trailers on an AppleTV 3, but today not work anymore... I restart windows, run again PlexServer (it is works via iphone or ipad), I start PlexConnect but in AppleTV trailers  I get  this error  - Trailer is unavailable. Try again later

I open PlexConnect log: 

11:16:10 PlexConnect: started: 11:16:10

11:16:10 PlexConnect: IP_self: 192.168.1.10
11:16:10 DNSServer: started: 11:16:10
11:16:10 DNSServer: ***
11:16:10 DNSServer: DNSServer: Serving DNS on port 53.
11:16:10 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.1.10
11:16:10 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
11:16:10 DNSServer: forward other to higher level DNS: 192.168.1.1
11:16:10 DNSServer: ***
11:16:10 WebServer: started: 11:16:10
11:16:10 WebServer: Failed to connect to HTTPS on 192.168.1.10 port 443: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions
11:29:03 DNSServer: DNS request received!
11:29:03 DNSServer: Source: ('192.168.1.12', 53779)
11:29:03 DNSServer: Domain: gs-loc.apple.com
11:29:03 DNSServer: ***forward request
11:29:03 DNSServer: -> DNS response from higher level
 
But the text with PlexGDM server found is not here... I don`t know what happen... my config is simple:
 
[PlexConnect]
logpath = .
enable_dnsserver = True
ip_webserver = 192.168.1.10
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = True
port_pms = 32400
port_webserver = 80
ip_plexconnect = 192.168.1.10
certfile = ./assets/certificates/trailers.pem
ip_dnsmaster = 192.168.1.1
loglevel = Normal
ip_pms = 192.168.1.10
enable_plexgdm = True
port_ssl = 443
 

Can anyone helpme please???

Thanks

If I where you I'd further investigate the cause of the following error message in your posted log:

11:16:10 WebServer: Failed to connect to HTTPS on 192.168.1.10 port 443: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions

Hi everyone, can you helpme please?

I always use plex via trailers on an AppleTV 3, but today not work anymore... I restart windows, run again PlexServer (it is works via iphone or ipad), I start PlexConnect but in AppleTV trailers  I get  this error  - Trailer is unavailable. Try again later

I open PlexConnect log: 

11:16:10 PlexConnect: started: 11:16:10

11:16:10 PlexConnect: IP_self: 192.168.1.10
11:16:10 DNSServer: started: 11:16:10
11:16:10 DNSServer: ***
11:16:10 DNSServer: DNSServer: Serving DNS on port 53.
11:16:10 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.1.10
11:16:10 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
11:16:10 DNSServer: forward other to higher level DNS: 192.168.1.1
11:16:10 DNSServer: ***
11:16:10 WebServer: started: 11:16:10
11:16:10 WebServer: Failed to connect to HTTPS on 192.168.1.10 port 443: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions
11:29:03 DNSServer: DNS request received!
11:29:03 DNSServer: Source: ('192.168.1.12', 53779)
11:29:03 DNSServer: Domain: gs-loc.apple.com
11:29:03 DNSServer: ***forward request
11:29:03 DNSServer: -> DNS response from higher level
 
But the text with PlexGDM server found is not here... I don`t know what happen... my config is simple:
 
[PlexConnect]
logpath = .
enable_dnsserver = True
ip_webserver = 192.168.1.10
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = True
port_pms = 32400
port_webserver = 80
ip_plexconnect = 192.168.1.10
certfile = ./assets/certificates/trailers.pem
ip_dnsmaster = 192.168.1.1
loglevel = Normal
ip_pms = 192.168.1.10
enable_plexgdm = True
port_ssl = 443
 

You running an IIS on your computer?

I had similar problems, but in the end I had to uninstall the IIS in order for it all to Work properly.

Am sure there are workarounds, something to do with bindings I'm sure in the IIS - but if you're hosting a webpage, you'll probably have to play around with your port settings a bit.

Hope that helps...

/CowieB

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