Help! Trailers is unavailable. Try again later. - Synology/PMS/PlexConnect

Several months ago I installed PMS on my Synology and that all works fine from various PC’s, Macs, and my PS3 through the Plex App. I have an ATV that I would like to get running too, so installed the PlexConnect package. Following the instructions it was all up in running in no time and we used it for a few days with no issue until we noticed WSJ logo had changed and seemingly at the same time broken PlexConnect. After trying various things like uninstalling and re-installling PlexConnect and changing between using trailers and WSJ to launch I’ve had no luck since.

Initially the certs not being able to load onto the ATV seemed to be the issue but having changed the settings.cfg line “enable_webserver_ssl = True” to “enable_webserver_ssl = False” That got me passed that bit. After days of tinkering unfortunately I’m still stuck. Thinking there might be an update soon to either PMS or PlexConnect I decided to just wait and see but I can’t find anyone else with this exact problem and no updates seem to be available. I have tried other ATV’s with same and older fw with no difference.

Recently I was setting up a PMS server for a mate on an old(slow) PC of his and thought I’d see how PMS ran in both Windows and Linux as little experiment while also testing PlexConnect functionality. In both instances they ran with no issue and PlexConnect runs great too on my ATV. This should eliminate anything to do my local network or hardware in general or my ability to follow the instructions and create certs etc. This is isolated to my Synology install. Following the troubleshooting from the guide I can say the following:

On a computer, set the DNS Server to the IP of the NAS
surf to http://trailers.apple.com:80 Message: Not Serving Client 192.168.1.156.
surf to http://trailers.apple.com:81 Message: Not Serving Client 192.168.1.156.
surf to http://trailers.apple.com:443 Firefox can’t establish a connection to the server at trailers.apple.com:443.

The Synology definitely has the “Enable HTTPS connection for web services” OFF. Not sure what else to do here, is this critical to getting it to work? As a comparison I tried my Linux Box which only connects on the port http://trailers.apple.com:80 yet still works fine for PlexConnect when I point my ATV DNS at it.

If I Stop the PlexConnect service the rest of the ATV icons do not work so it appears the ATV is using PlexConnect. Here is the plot of running PlexConnect.py:

SynologyDS> ./PlexConnect.py
17:47:05 PlexConnect: ***
17:47:05 PlexConnect: PlexConnect
17:47:05 PlexConnect: Press CTRL-C to shut down.
17:47:05 PlexConnect: ***
17:47:05 PlexConnect: started: 17:47:05
17:47:05 PlexConnect: Version: 0.5-dev-020615
17:47:05 PlexConnect: Python: 2.7.9 (default, Jun 11 2015, 05:36:43)
[GCC 4.6.4]
17:47:05 PlexConnect: Host OS: linux2
17:47:05 PlexConnect: PILBackgrounds: Is PIL installed? False
17:47:05 PlexConnect: IP_self: 192.168.1.200
17:47:05 DNSServer: started: 17:47:05
17:47:05 DNSServer: ***
17:47:05 DNSServer: DNSServer: Serving DNS on 192.168.1.200 port 53.
17:47:05 DNSServer: intercept: [‘trailers.apple.com’] => 192.168.1.200
17:47:05 DNSServer: restrain: [‘mesu.apple.com’, ‘appldnld.apple.com’, ‘appldnld.apple.com.edgesuite.net’] => 127.0.0.1
17:47:05 DNSServer: forward other to higher level DNS: 8.8.8.8
17:47:05 DNSServer: ***
17:47:05 WebServer: started: 17:47:05
17:47:05 WebServer: ***
17:47:05 WebServer: WebServer: Serving HTTP on 192.168.1.200 port 81.
17:47:05 WebServer: ***
17:47:17 DNSServer: DNS request received!
17:47:17 DNSServer: Source: (‘192.168.1.157’, 64418)
17:47:17 DNSServer: Domain: p36-buy.itunes.apple.com
17:47:17 DNSServer: ***forward request
17:47:17 DNSServer: -> DNS response from higher level
17:47:22 DNSServer: DNS request received!
17:47:22 DNSServer: Source: (‘192.168.1.157’, 62909)
17:47:22 DNSServer: Domain: trailers.apple.com
17:47:22 DNSServer: ***intercept request
17:47:22 DNSServer: -> DNS response: 192.168.1.200

The last line is what happens when I try to go into “Trailers” it just sits there and goes no further… Below I have some more details of version numbers and the settings.cfg

Synology DS1513+
DSM 5.2-5592 Update 2
PlexConnect 05-11
PMS Version 0.9.12.3.1173-937aac3
ATV 7.2(7512)

[PlexConnect]
enable_plexgdm = True
ip_pms = 192.168.1.200
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 = 192.168.1.200
hosttointercept = trailers.apple.com
port_webserver = 81
enable_webserver_ssl = False
port_ssl = 443
certfile = /usr/local/plexconnect/etc/certificates/trailers.pem
allow_gzip_atv = False
allow_gzip_pmslocal = False
allow_gzip_pmsremote = True
loglevel = Normal
logpath = /usr/local/plexconnect/var

“enable_webserver_ssl = False”
You need to respond to HTTPS requests from aTV. Does the Synology port forwarding stuff deal with the certificates? I have no idea… but if not you definitely need the web server_ssl running.

If that line is “True” I can’t even load the cert on the ATV it just sits and spins forever… I’m no expert on Synology either which is why i also posted this in the Synology section of the forum, though I have no response from anyone yet. Would it be possible to run Plexconnect on another PC or even a raspberry pi and point it to the PMS on Synology? This is not ideal but I have burnt so much time trying to fix it may be the easier option.

I have no idea about Synology myself - but I can tell you, without any SSL server, it won’t work. So re-enable hat one and let’s find out what’s wrong, i.e. share log with that option changed.

Mine stopped working after I updated DSM. Tried updating plexconnect and it gave me the finger.
Try using a different browser. When I was troubleshooting it yesterday, changing DNS, flushing DNS cash some browsers just wouldn’t respond while others would. My problem was that everything was working except for 80. What I did to fix it was kill plex connect restart webservices start plexconnect. Uninstall plex connect. Kill all webservices. Install plex connect. Start web services. Like you I had a backup machine ESX box running DSM inside a VM that continued to work. Good Luck!

OK baa, I changed back to “True” then run and get a shutdown.
log attached.

It’s not “loglevel=High”, is it?
Do you have a SSL web server running? Or anything else blocking access to :443?
Again, I have no good insights in how PlexConnect is running on Synology NAS. Basically my question (which might help you as well) is: Does Synology OS/webserver/whoever deal with https in the sense of validating certificate. Will PlexConnect be called on the non-SSL port only? Anybody?

OK thanks for replying again so soon. Synology has an app called DSphoto which uses 443 but i have shut that down. I changed the log level to high, also tried port 444 in the settings.cfg but still get the same error. I’m going to post in Synology forums and see if I get any luck there.

Update: after reading a post of someone with a similar problem who recommended uninstalling the package from the Synology store community repository and manually downloading and manually installing direct from the website I can attest this instantly solved the issue. I didn’t even create new certs I just installed then added the default trailers.cer to my ATV and bingo! I’m too scared to touch it and put my own certs in now after spending so much time trying to fix it…

I’m still stuck with that tricky tailer-unavailable problem!damn!