Yet another 'Trailers is unavailable. Try again later.'

  • Your ATV model (2 or 3) and firmware version (found under the ATV settings > general > about > Apple TV software):

3rd Gen

  • The DNS server set on the ATV (found under the ATV settings > general > network > DNS):

192.168.1.10

  • The device and operating system (including version number) that PlexConnect is installed on:

Ubuntu Server 10.04

  • The local IP address of the device that PlexConnect is installed on:

192.168.1.10

  • The device and operating system (including version number) that the Plex media server (PMS) is installed on:

Ubuntu Server 10.10

  • The Plex media server (PMS) version number you are running (do not put 'latest'):

0.9.8.10

  • The local IP address of the device that the Plex media server (PMS) is installed on:

192.168.1.10

  • The PlexConnect version number. If using Github source then a time and date of download (look at the creation date of the folder) and if you are using any testing branch e.g. the Elan/PlexInc one.

67ce1eb7b7

  • The content of your 'Settings.cfg' file (if you do not have this file you are running an old version, please update)

enable_webserver_ssl = True
port_pms = 32400
ip_plexconnect = 0.0.0.0
certfile = ./assets/certificates/trailers.pem
ip_dnsmaster = 192.168.1.1
ip_pms = 192.168.1.10
port_webserver = 80
loglevel = High
logpath = .
enable_dnsserver = True
enable_plexgdm = True
port_ssl = 443
prevent_atv_update = True
port_dnsserver = 53
enable_plexconnect_autodetect = True
  • detailed description of the issue (the clearer you can make this the better):

I've tried pretty much every setting i can think of. specifying ip_plexconnect/ip_pms/ip_webserver to 192.168.1.10 and 0.0.0.0 and all combinations in between. Disabling plexconnect_autodetect. Using my routers DNS server and DNSMasq. No matter what I do the end result is the same. It serves the application.js then the ATV itself throws the error after a minute. 

This is my log:

11:46:58 PlexConnect: started: 11:46:58
11:46:58 Settings: getsetting enable_plexconnect_autodetect=True
11:46:58 PlexConnect: IP_self: 192.168.1.10
11:46:58 Settings: getsetting enable_dnsserver=True
11:46:58 DNSServer: started: 11:46:58
11:46:58 Settings: getsetting port_dnsserver=53
11:46:58 Settings: getsetting ip_dnsmaster=192.168.1.1
11:46:58 Settings: getsetting prevent_atv_update=True
11:46:58 DNSServer: ***
11:46:58 DNSServer: DNSServer: Serving DNS on 192.168.1.10 port 53.
11:46:58 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 192.168.1.10
11:46:58 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
11:46:58 DNSServer: forward other to higher level DNS: 192.168.1.1
11:46:58 DNSServer: ***
11:46:59 WebServer: started: 11:46:59
11:46:59 Settings: getsetting port_webserver=80
11:46:59 WebServer: ***
11:46:59 WebServer: WebServer: Serving HTTP on 192.168.1.10 port 80.
11:46:59 WebServer: ***
11:46:59 ATVSettings: init class CATVSettings
11:46:59 ATVSettings: load settings
11:46:59 Settings: getsetting enable_webserver_ssl=True
11:46:59 WebServer: started: 11:46:59
11:46:59 Settings: getsetting port_ssl=443
11:46:59 Settings: getsetting certfile=./assets/certificates/trailers.pem
11:46:59 Settings: getsetting certfile=./assets/certificates/trailers.pem
11:46:59 WebServer: ***
11:46:59 WebServer: WebServer: Serving HTTPS on 192.168.1.10 port 443.
11:46:59 WebServer: ***
11:47:01 DNSServer: DNS request received!
11:47:01 DNSServer: Source: ('192.168.1.45', 53923)
11:47:01 DNSServer: Domain: trailers.apple.com
11:47:01 DNSServer: ***intercept request
11:47:01 DNSServer: -> DNS response: 192.168.1.10
11:47:01 WebServer: http request header:
Host: trailers.apple.com
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: en;q=0.9
Connection: keep-alive
X-Apple-TV-Resolution: 1080
X-Apple-TV-Version: 5.3
User-Agent: iTunes-AppleTV/5.3 (3; 8GB; dt:12)
 
11:47:01 WebServer: http request path:
/appletv/us/js/application.js
11:47:01 Localize: aTVLanguage: en
11:47:01 WebServer: pms address:
 
11:47:01 WebServer: cleaned path:
/appletv/us/js/application.js
11:47:01 WebServer: PlexConnect options:
{'aTVLanguage': 'en', 'aTVAddress': '192.168.1.45'}
11:47:01 WebServer: additional arguments:
 
11:47:01 WebServer: serving /js/application.js
11:54:46 PlexConnect: Shutting down.
11:54:46 WebServer: Shutting down.
11:54:46 WebServer: Shutting down.
11:54:46 ATVSettings: save settings
11:54:46 DNSServer: Shutting down.
11:54:46 PlexConnect: shutdown

And to clarify, PMS itself is accessible and working from 192.168.1.10:32400/manage/index.html

I notice that python 2.7 is recommended? 2.7 is not standard on 10.04 so im in the process of updating to 12.04. So maybe this will help. In the meantime:

 

Browsing http://192.168.1.10 and https://192.168.1.10 from another local machine results in this:

	Error response
Error code 403.
Message: Not Serving Client 192.168.1.11.
Error code explanation: 403 = Request forbidden -- authorization will not help.

Well after an update to 12.04LTS and a reinstall of PMS (wasn't working after update) it seems as though it is now working. It must have been python after all (latest for 10.04 is 2.6.5, and i believe 2.7 is recommended).

this text was a post to the wrong thread. deleted :)