109 error loading profile & trailers is unavailable on ATV

Hosting PlexConnect on a Synology ds1513+

 

Had everything working at one point, but then I started the receiving the "Trailers is Unavailable error"

 

I've attempted adding the cert with both http://trailers.apple.com/trailers.cer and 10.0.1.222/trailers.cer.  Neither work.  Interestingly, 10.0.1.222:81/trailers.cer does work, I do not know what to make of it, but the trailers.apple.com profile does show up.

 

Regardless, I still get a "Trailers is Unavailable error on my ATV.

 

 

Router is 10.0.1.1

Synology is hosted in 10.0.1.222

 

Settings.cfg:

 

[PlexConnect]
port_pms = 32400
port_webserver = 81
ip_plexconnect = 0.0.0.0
certfile = ../../etc/certificates/trailers.pem
ip_dnsmaster = 10.0.1.1
loglevel = High
enable_dnsserver = True
logpath = ../../var
ip_pms = 0.0.0.0
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
 
Logs:
-Booting
21:32:14 PlexConnect: started: 21:32:14
21:32:14 PlexConnect: Version: 0.4-dev
21:32:14 PlexConnect: Python: 2.7.8 (default, Nov  6 2014, 05:17:49)
[GCC 4.6.3]
21:32:14 PlexConnect: Host OS: linux2
21:32:14 Settings: getsetting enable_plexconnect_autodetect=True
21:32:14 PlexConnect: IP_self: 10.0.1.222
21:32:14 Settings: getsetting hosttointercept=trailers.apple.com
21:32:15 ATVSettings: init class CATVSettings
21:32:15 ATVSettings: load settings
21:32:15 Settings: getsetting enable_dnsserver=True
21:32:15 DNSServer: started: 21:32:15
21:32:15 Settings: getsetting port_dnsserver=53
21:32:15 Settings: getsetting ip_dnsmaster=10.0.1.1
21:32:15 Settings: getsetting prevent_atv_update=True
21:32:15 DNSServer: ***
21:32:15 DNSServer: DNSServer: Serving DNS on 10.0.1.222 port 53.
21:32:15 DNSServer: intercept: ['trailers.apple.com'] => 10.0.1.222
21:32:15 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
21:32:15 DNSServer: forward other to higher level DNS: 10.0.1.1
21:32:15 DNSServer: ***
21:32:15 WebServer: started: 21:32:15
21:32:15 Settings: getsetting port_webserver=81
21:32:15 WebServer: ***
21:32:15 WebServer: WebServer: Serving HTTP on 10.0.1.222 port 81.
21:32:15 WebServer: ***
21:32:15 Settings: getsetting enable_webserver_ssl=True
21:32:15 WebServer: started: 21:32:15
21:32:15 Settings: getsetting port_ssl=443
21:32:15 Settings: getsetting certfile=../../etc/certificates/trailers.pem
21:32:15 Settings: getsetting certfile=../../etc/certificates/trailers.pem
21:32:15 WebServer: ***
21:32:15 WebServer: WebServer: Serving HTTPS on 10.0.1.222 port 443.
21:32:15 WebServer: ***
 
-Attempting to load Trailers
21:33:48 DNSServer: DNS request received!
21:33:48 DNSServer: Source: ('10.0.1.3', 56401)
21:33:48 DNSServer: Domain: trailers.apple.com
21:33:48 DNSServer: ***intercept request
21:33:48 DNSServer: -> DNS response: 10.0.1.222
21:33:48 DNSServer: DNS request received!
21:33:48 DNSServer: Source: ('10.0.1.3', 65258)
21:33:48 DNSServer: Domain: trailers.apple.com
21:33:48 DNSServer: ***intercept request
21:33:48 DNSServer: -> DNS response: 10.0.1.222
21:33:48 WebServer: http request header:
Host: trailers.apple.com
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: en;q=0.9
Cookie: edgecity=EMERYVILLE; edgelat=37.8359; edgelong=-122.2848; edgestate=CA; edgezip=94608; edgecity=EMERYVILLE; edgelat=37.8359; edgelong=-122.2848; edgestate=CA; edgezip=94608
Connection: keep-alive
X-Apple-TV-Resolution: 1080
X-Apple-TV-Version: 7.0
User-Agent: AppleTV/7.0 iOS/8.0 AppleTV/7.0 model/AppleTV3,1 build/12A365b (3; dt:12)
 
21:33:48 WebServer: http request path:
/appletv/us/js/application.js
21:33:48 Localize: aTVLanguage: en
21:33:48 WebServer: pms address:
 
21:33:48 WebServer: cleaned path:
/appletv/us/js/application.js
21:33:48 WebServer: PlexConnect options:
{'aTVScreenResolution': '1080', 'aTVFirmwareVersion': '7.0', 'aTVLanguage': 'en', 'aTVAddress': '10.0.1.3'}
21:33:48 WebServer: additional arguments:
 
21:33:48 WebServer: serving /js/application.js
21:33:48 DNSServer: DNS request received!
21:33:48 DNSServer: Source: ('10.0.1.3', 50547)
21:33:48 DNSServer: Domain: trailers.apple.com
21:33:48 DNSServer: ***intercept request
21:33:48 DNSServer: -> DNS response: 10.0.1.222
21:33:48 DNSServer: DNS request received!
21:33:48 DNSServer: Source: ('10.0.1.3', 53011)
21:33:48 DNSServer: Domain: trailers.apple.com
21:33:48 DNSServer: ***intercept request
21:33:48 DNSServer: -> DNS response: 10.0.1.222
 
-Unsuccessfully adding cert
21:35:20 DNSServer: DNS request received!
21:35:20 DNSServer: Source: ('10.0.1.3', 62075)
21:35:20 DNSServer: Domain: trailers.apple.com
21:35:20 DNSServer: ***intercept request
21:35:20 DNSServer: -> DNS response: 10.0.1.222
21:35:20 DNSServer: DNS request received!
21:35:20 DNSServer: Source: ('10.0.1.3', 49455)
21:35:20 DNSServer: Domain: trailers.apple.com
21:35:20 DNSServer: ***intercept request
21:35:20 DNSServer: -> DNS response: 10.0.1.222
 
-Successfully adding cert via 10.0.1.222:81/trailers.cer
21:36:04 WebServer: http request header:
Host: 10.0.1.222:81
Connection: keep-alive
Accept-Encoding: gzip, deflate
User-Agent: AppleTV/7.0 iOS/8.0 AppleTV/7.0 model/AppleTV3,1 build/12A365b (3; dt:12)
Accept-Language: en
Accept: */*
 
21:36:04 WebServer: http request path:
/trailer.cer
21:36:04 Localize: aTVLanguage: en
21:36:04 WebServer: pms address:
 
21:36:04 WebServer: cleaned path:
/trailer.cer
21:36:04 WebServer: PlexConnect options:
{'aTVScreenResolution': '720', 'aTVFirmwareVersion': '5.1', 'aTVLanguage': 'en', 'aTVAddress': '10.0.1.3'}
21:36:04 WebServer: additional arguments:
 
21:36:04 WebServer: serving *.cer: /trailer.cer
21:36:04 Settings: getsetting certfile=../../etc/certificates/trailers.pem
21:36:04 Settings: getsetting certfile=../../etc/certificates/trailers.pem
 
 
Halp?
 
 

Because your on Synology and it uses port 80 for its web consoile, the Synology Package sets up a reverse proxy and sets the Plexconnect port to 81, which is why port 81 in that is working.

However this is as much as I know about Synology and the Package, have you had a full read of the Synology Thread (I know if is long) but it has alot of troubleshooting information and the Synology Package creator is in there regularly and may be able to help

>> Because your on Synology and it uses port 80 for its web consoile, the Synology Package sets up a reverse proxy and sets the Plexconnect port to 81, which is why port 81 in that is working.

Wait... with the correct port forwarding an incoming request to Synology on :80 should get remapped internally to :81. aTV should NOT see any difference in behaviour, it typically is requesting data on port :443/:80. And there is nothing out there to change that.

I think, there is just no set up for a port forwarding rule, is there?

Because your on Synology and it uses port 80 for its web consoile, the Synology Package sets up a reverse proxy and sets the Plexconnect port to 81, which is why port 81 in that is working.

However this is as much as I know about Synology and the Package, have you had a full read of the Synology Thread (I know if is long) but it has alot of troubleshooting information and the Synology Package creator is in there regularly and may be able to help

Alright, well... This worked!

It looks like Port 80 was not even listening because:

"If this works for :81 but not for :80 then you need to select "Enable Web Station" in the web services control panel"

From the first post of the Synology Thread.

After this, it still didn't work so I reinstalled PlexConnect:

"You installed a DSM patch or a a newer DSM version: This sometimes can break PlexConnect. Just re-run the PlexConnect installer without uninstalling it first. If that does not work uninstall it completely and reinstall. You will loose any customisations and all your plexConnect settings."

Thanks for the quick responses.

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