Trailer not availabel

Hi Guys,

 

yesterday i chrashed my server.

So i installed every new.

Now i don't get Plexconnect working, can't find anything in the log.

 

Perhaps some body find it:

20:30:44 PlexConnect: started: 20:30:44
20:30:44 PlexConnect: Version: 0.4
20:30:44 PlexConnect: Python: 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2]
20:30:44 PlexConnect: Host OS: linux2
20:30:44 Settings: getsetting enable_plexconnect_autodetect=True
20:30:44 PlexConnect: IP_self: 192.168.1.3
20:30:44 Settings: getsetting hosttointercept=trailers.apple.com
20:30:44 Settings: getsetting enable_dnsserver=False
20:30:44 WebServer: started: 20:30:44
20:30:44 Settings: getsetting port_webserver=81
20:30:44 WebServer: ***
20:30:44 WebServer: WebServer: Serving HTTP on 192.168.1.3 port 81.
20:30:44 WebServer: ***
20:30:44 ATVSettings: init class CATVSettings
20:30:44 ATVSettings: load settings
20:30:44 Settings: getsetting enable_webserver_ssl=True
20:30:44 WebServer: started: 20:30:44
20:30:44 Settings: getsetting port_ssl=443
20:30:44 Settings: getsetting certfile=/usr/local/lib/PlexConnect/assets/certificates/trailers.pem
20:30:44 Settings: getsetting certfile=/usr/local/lib/PlexConnect/assets/certificates/trailers.pem
20:30:44 WebServer: ***
20:30:44 WebServer: WebServer: Serving HTTPS on 192.168.1.3 port 443.
20:30:44 WebServer: ***
20:31:03 WebServer: http request header:
Host: trailers.apple.com
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: de;q=0.9, en;q=0.8
Cookie: mz_at0-194426961=AwQAAAEMAADEfAAAAABSWkRipmjSfBa2bWgsH0hnoLC2BFNguiw=; mz_at_ssl-194426961=AwUAAAEMAADEfAAAAABSWkRiWKE5RmtwIx8G7ksAIRJRmxZDTt0=; ns-mzf-inst=39-66-80-118-56-8219-262511--nk11; s_vi=[CS]v1|28DC679C850135DB-40000135001546F2[CE]; X-Dsid=194426961
Connection: keep-alive
X-Apple-TV-Resolution: 1080
X-Apple-TV-Version: 6.0.2
User-Agent: iTunes-AppleTV/6.0.2 (3; 8GB; dt:12)

20:31:03 WebServer: http request path:
/appletv/us/js/application.js
20:31:03 Localize: aTVLanguage: de
20:31:03 WebServer: pms address:

20:31:03 WebServer: cleaned path:
/appletv/us/js/application.js
20:31:03 WebServer: PlexConnect options:
{‘aTVScreenResolution’: ‘1080’, ‘aTVFirmwareVersion’: ‘6.0.2’, ‘aTVLanguage’: ‘de’, ‘aTVAddress’: ‘192.168.1.65’}
20:31:03 WebServer: additional arguments:

20:31:03 WebServer: serving /js/application.js

Thx Robert

>> 20:30:44 WebServer: WebServer: Serving HTTP on 192.168.1.3 port 81.

Why 81?

Got an own cloud running on the system with apache2

After an instruction in the forum if have made an change in the apache config:


    # This is the VHost for Plex Connect
    ServerName trailers.apple.com
    ProxyRequests Off
    ProxyPreserveHost On
    
        Order allow,deny
        Allow from all
    
    AllowEncodedSlashes NoDecode
    ProxyPass / http://192.168.1.3:81/ nocanon
    ProxyPassReverse / http://192.168.1.3:81/

Change to config: Before or after you had the issues from 1st post?

When re-installing your machine, did you recreate the certs, too? Did you installed the new ones on aTV? After deleting the older ones?

Can you try with Apache shut down and PlexConnect listening on :80?

I have copy the certificates from the old installation to the new one.

Just changed the port back to 80 in the Plexconnect.cfg file, stop apache 2 and it is working.

Okay then it looks like apache is the problem.

Does i need to set up apache2 for port 80 only or does it need to be done for 443 to?

The crazy thing is that have copy the important files from old to the new installation.

So i don't thought to get such problems.

>> 20:30:44 WebServer: WebServer: Serving HTTPS on 192.168.1.3 port 443.

 
PlexConnect seems to be doing fine on :443. It's not used by your setup of Apache, is it?

on port 443 is nothing running on it at the moment.

I will try it an other day to geht it running with apache.

Is there an link with some instructions?

I can't find the link which i used the last time.

Is there an link with some instructions?

I can't find the link which i used the last time.

Perhaps you could take a look to the scripts created by bwynants in the Synology package. He also tweaks port 80 into 81 using Apache, and it works.

You can unzip (or untar) the .spk file of the installer and look into the install script, or contact bwynants directly.

@moody_blue

Do you have a link for me?

I'm using this one http://www.brigittehelsen.be/plexconnect/?arch=88f6281

Can’t access the page.

But I found the link where I copied the lines the last time
https://forums.plex.tv/topic/71220-linux-install-for-plex-connect/page-4

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