"Trailers unavailable", even though both server And PlexC seem to be working

OK, the issue is a weird one
Plex Server is up and running ( other clients can see and play the files)
PlexConnect seems to be forwarding requests without any issues, and other apps on the machine can access the net without any probles. No errors on the log
But, when I open the Trailers app, it just spits out : trailers are unavailable. Try again later.
Here are all the details of my setup:
ATV 3 7.2 (7512)
ATV DNS Server 192.168.1.31
PlexConnect IP 192.168.1.31
Version: 0.5-dev-101215
installed on Ubuntu 14.04.3
PlexServer IP 192.168.1.31
PMS version 0.9.15.2 (0.9.15.2.1663-7efd046_amd64)
installed on Ubuntu 14.04.3

cfg file

[PlexConnect]
enable_plexgdm = True
ip_pms = 192.168.178.10
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 = 80
enable_webserver_ssl = True
port_ssl = 443
certfile = ./assets/certificates/trailers.pem
allow_gzip_atv = False
allow_gzip_pmslocal = False
allow_gzip_pmsremote = True
loglevel = High
logpath = .

log file:

10:05:55 PlexConnect: started: 10:05:55
10:05:55 PlexConnect: Version: 0.5-dev-101215
10:05:55 PlexConnect: Python: 2.7.6 (default, Jun 22 2015, 17:58:13) 
[GCC 4.8.2]
10:05:55 PlexConnect: Host OS: linux2
10:05:55 PlexConnect: PILBackgrounds: Is PIL installed? True
10:05:55 Settings: getsetting enable_plexconnect_autodetect=True
10:05:55 PlexConnect: IP_self: 192.168.1.31
10:05:55 Settings: getsetting hosttointercept=trailers.apple.com
10:05:55 ATVSettings: init class CATVSettings
10:05:55 ATVSettings: load settings
10:05:55 Settings: getsetting enable_dnsserver=True
10:05:55 DNSServer: started: 10:05:55
10:05:55 Settings: getsetting port_dnsserver=53
10:05:55 Settings: getsetting ip_dnsmaster=8.8.8.8
10:05:55 Settings: getsetting prevent_atv_update=True
10:05:55 DNSServer: ***
10:05:55 DNSServer: DNSServer: Serving DNS on 192.168.1.31 port 53.
10:05:55 DNSServer: intercept: ['trailers.apple.com'] => 192.168.1.31
10:05:55 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
10:05:55 DNSServer: forward other to higher level DNS: 8.8.8.8
10:05:55 DNSServer: ***
10:05:55 WebServer: started: 10:05:55
10:05:55 Settings: getsetting port_webserver=80
10:05:55 WebServer: ***
10:05:55 WebServer: WebServer: Serving HTTP on 192.168.1.31 port 80.
10:05:55 WebServer: ***
10:05:56 Settings: getsetting enable_webserver_ssl=True
10:05:56 WebServer: started: 10:05:56
10:05:56 Settings: getsetting port_ssl=443
10:05:56 Settings: getsetting certfile=./assets/certificates/trailers.pem
10:05:56 Settings: getsetting certfile=./assets/certificates/trailers.pem
10:05:56 WebServer: ***
10:05:56 WebServer: WebServer: Serving HTTPS on 192.168.1.31 port 443.
10:05:56 WebServer: ***
10:05:59 DNSServer: DNS request received!
10:05:59 DNSServer: Source: ('192.168.1.173', 50448)
10:05:59 DNSServer: Domain: p6-buy.itunes.apple.com
10:05:59 DNSServer: ***forward request
10:05:59 DNSServer: -> DNS response from higher level
10:06:01 DNSServer: DNS request received!
10:06:01 DNSServer: Source: ('192.168.1.173', 58064)
10:06:01 DNSServer: Domain: trailers.apple.com
10:06:01 DNSServer: ***intercept request
10:06:01 DNSServer: -> DNS response: 192.168.1.31
10:06:07 PlexConnect: Shutting down.
10:06:08 WebServer: Shutting down (HTTP).
10:06:08 WebServer: Shutting down (HTTPS).
10:06:11 DNSServer: Shutting down.
10:06:11 ATVSettings: save settings
10:06:11 PlexConnect: shutdown

The problem occured after upgrading the plex Server a few days ago.

Not certain if something on the Ubuntu side might be the culprit here. No experience with that, sorry.

If not a Ubuntu issue then do you have the machine running both PMS and Plexconnect with a dedicated ip? If so (which is what I do) then eliminate some of the searching: assuming here the dedicated ip is 192.168.1.31

enable_plexgdm = False
ip_pms = 192.168.1.31 < with these two changes it will always look for the PMS server here

ip_dnsmaster = 8.8.8.8 < this is ok but you can also point it to your router instead, mine is 192.168.1.1

enable_plexconnect_autodetect = False
ip_plexconnect = 192.168.1.31 < with these two changes it will always look for the plexconnect app here

I’ve incorporated these changes here quite some time ago and it’s been steady as a rock. Remember to stop both PMS and Plexconnect before you edit the setting.cfg file.

Matt

Thanx, I will try and update. It has been working without any issues for more than an year, The only thing that was changed lately was update to the latest plex server version.
Link to plex older versions might be a useful.
thanks for the ideas

Certificate installed on aTV?

Hmmm. Still not working. Tried everything. As I said, it worked for more than an year, last time I used it was a before upgrading the server. The server still works with my PS4 app, TV app, and my phone and pad ???
And, plexconnect still successfully passing all traffic of the other apps to the router.
Any ideas welcome!

Did you use certs from the previous install ? Or created new certs ? The easiest thing is to reuse certs from the previous install, but in case you have generated new ones you need to:

  1. Delete all certs from ATV
  2. Load new certs in the ATV

OK.
“Reinstalled” plexConnect. Removed old, and added new certs. to the server ANd the appleTVs.
Made all plexConnect files 777 ( readable and moddable by everyone)
sudo chmod -R 777 /loc/of/plexConnect
Last bit probably solved, but do it in case you really need yto, 777 to files n your system folders is not a good idea, usually !!!

In my Syno I use chown -R root:root PlexConnect/

I am sorry, I meant chmod, not chown.
I have edited my prev message