Trailers is unavailable. Try again later.

I used to have a working PlexConnect install. I used some old manual ssl cert installation method that I can't remember now. PMS still works via plex.tv. But I did a git pull in my PlexConnect directory and now it doesn't work anymore. I tried deleting the cert profile I had installed before and adding it via the new recommended Send data to Apple method, but this fails with 'Unable to add profile. An error occurred while adding the profile [109]. Check the URL and try again.'. Before and after removing the profile the main symptom was that going to Trailers immediately resulted in the 'Trailers is unavailable. Try again later.' error. There is no delay in hitting that error screen. I tried visiting http://192.168.0.106:32401 in a browser and it says " Error code 403. Message: Not Serving Client 192.168.0.148. Error code explanation: 403 = Request forbidden -- authorization will not help.". I don't know if that's normal.

 

ATV 3

Apple TV Software: 5.3 (6105)

DNS server set on the ATV: 192.168.0.106

PlexConnect and PMS local IP address: 192.168.0.106

PlexConnect and PMS OS: 64bit gentoo

Plex media server (PMS) version number: 0.9.9.5

PlexConnect version number: git clone Feb 26 22:36

PlexConnect.log: http://pastebin.com/uGccBCKs

Settings.cfg:

[PlexConnect]enable_plexgdm = True
ip_pms = 192.168.0.106
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 8.8.8.8
prevent_atv_update = True
enable_plexconnect_autodetect = True
ip_plexconnect = 0.0.0.0
hosttointercept = trailers.apple.com
port_webserver = 32401
enable_webserver_ssl = True
port_ssl = 32402
certfile = /opt/plex/plex_connect_bits/trailers.pem
loglevel = High
logpath = .
 
/etc/apache2/vhosts.d/00_default_vhost.conf: 

# for PlexConnect
        ServerName trailers.apple.com
ServerAlias atv.plexconnect
RequestHeader set User-Agent AppleTV
ProxyRequests Off
ProxyPreserveHost On

         Order allow,deny
         Allow from all
     
AllowEncodedSlashes NoDecode
ProxyPass / http://localhost:32401/ nocanon
ProxyPassReverse / http://localhost:32401/

 

/etc/apache2/vhosts.d/00_default_ssl_vhost.conf


        # for PlexConnect
        ServerName trailers.apple.com
        ServerAlias atv.plexconnect
        RequestHeader set User-Agent AppleTV
        SSLEngine On
        SSLProxyEngine On
        SSLCertificateFile /var/www/localhost/trailers.cer
        SSLCertificateKeyFile /var/www/localhost/trailers.key
        ProxyRequests Off
        ProxyPreserveHost On
        #
        #        Order allow,deny
        #        Allow from all
        #
        AllowEncodedSlashes NoDecode
        ProxyPass / https://localhost:32402/ nocanon
        ProxyPassReverse / https://localhost:32402/
(I've tried it with and without the section commented out)
 
 
What can I do? Thanks for any suggestions.

>> Error code 403

Yep, that's normal, unless your browser is an aTV.

>>certfile = /opt/plex/plex_connect_bits/trailers.pem

>>SSLCertificateKeyFile /var/www/localhost/trailers.key
I wonder, why you have your certrs living in two different places. Should be one and the same, no?
Also, why do you use the PlexConnect SSL part, when your NAS is handling the cert stuff. Not sure if I am missing something here, but it seems to be unneccessary, maybe even offending double work?

>>certfile = /opt/plex/plex_connect_bits/trailers.pem

>>SSLCertificateKeyFile /var/www/localhost/trailers.key
I wonder, why you have your certrs living in two different places. Should be one and the same, no?
Also, why do you use the PlexConnect SSL part, when your NAS is handling the cert stuff. Not sure if I am missing something here, but it seems to be unneccessary, maybe even offending double work?

I don't know why it is done like this, but that's what worked before. While different paths, the cer files are identical. I tried commenting out the SSLCertificate* options in the apache config, but then apache wouldn't start at all. Setting enable_webserver_ssl to False in PlexConnect doesn't help.

I'd be very interested to hear if you manage to get this working, as I'm trying to set mine up the same way.

Are my logs normal? The installation instructions and screenshots have lines about gdm and discovering the pms, but I don't seem to have those.

logs are fine - the GDM got pushed back, once your aTV gets in contact with PlexConnect, looking for media to display.

I really think, that this is somehow a cert issue - as you basically use it double: From aTV to your NAS (forwarding) as well as from your NAS forwarding to PlexConnect.

Is port 43 used on your NAS? Are you able deactivate it (temporarily) to use the basic PlexConnect setup?

If not, let your NAS deal with the certs and forward to port 81 as well. In PlexConnect you should be able to disable the SSL server at that time...

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