I’ve spent a couple of hours creating, deleting and recreating PlexConnect installs. I’m running Plex server on a Raspberry Pi 2 B running an up-to-date Raspbian on IP address 10.0.1.124.
PlexConnect is installed on the same machine. Here’s my cfg:
[PlexConnect]
enable_plexgdm = True
ip_pms = 10.0.1.124
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 10.0.1.1 <---- I've tried this at 8.8.8.8 and my router's IP
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 = .
I’ve installed the cert and all went well. My log:
22:14:45 WebServer: serving *.cer: /trailers.cer
When I access the Trailers.app, I get the dreaded “Trailers is unavailable. Try again later.”
I see the DNS intercepts in the file:
22:49:23 DNSServer: -> DNS response from higher level
22:49:26 DNSServer: DNS request received!
22:49:26 DNSServer: Source: ('10.0.1.135', 57090)
22:49:26 DNSServer: Domain: trailers.apple.com
22:49:26 DNSServer: ***intercept request
22:49:26 DNSServer: -> DNS response: 10.0.1.124
22:49:26 DNSServer: DNS request received!
22:49:26 DNSServer: Source: ('10.0.1.135', 58079)
22:49:26 DNSServer: Domain: trailers.apple.com
22:49:26 DNSServer: ***intercept request
22:49:26 DNSServer: -> DNS response: 10.0.1.124
My plex server is definitely running. I can access it through the web browser and my phone.
When I access the server through my web browser (http://10.0.1.124), I get this:
Error response
Error code 403.
Message: Not Serving Client 10.0.1.113.
Error code explanation: 403 = Request forbidden -- authorization will not help.
I can’t access the https server (https://10.0.1.124) – is that the problem? How do I fix? According to nmap the https port is open.
pi@raspberrypi /usr/local/lib/PlexConnect $ python --version
Python 2.7.3
Trying to connect on an AppleTV 2. DNS is using the rasppi as the log above shows. Can’t think of what else it could be. I’ve regenerated the certificate a couple of times too.
What am I missing?