PlexConnect Suddently stopped Working HELP!?

Server Version#: 1.13.8.5395
Player Version#: Apple TV 3rd Gen

Hello everyone!

I’m having this weird problem with my PlexConnect, I haven’t updated ANYTHING exept the Plex Media Server to the Last Version. But it has been working with the new Update until now,

The Thing is that my ATV is not connecting to my server Anymore, and my PC is Waiting for something to happen but Nothing does.

This is what my Plexconnect window is showing

Oct 14,2018 01:26:05 PlexConnect: ***
Oct 14,2018 01:26:05 PlexConnect: PlexConnect
Oct 14,2018 01:26:05 PlexConnect: Press CTRL-C to shut down.
Oct 14,2018 01:26:05 PlexConnect: ***
Oct 14,2018 01:26:05 PlexConnect: Started
Oct 14,2018 01:26:05 PlexConnect: Version: 0.5-dev-161017
Oct 14,2018 01:26:05 PlexConnect: Python: 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
Oct 14,2018 01:26:05 PlexConnect: Host OS: win32
Oct 14,2018 01:26:05 PlexConnect: PILBackgrounds: Is PIL installed? False
Oct 14,2018 01:26:05 PlexConnect: IP_self: xxx.xxx.x.xxx
Oct 14,2018 01:26:05 DNSServer: Started
Oct 14,2018 01:26:05 DNSServer: ***
Oct 14,2018 01:26:05 DNSServer: DNSServer: Serving DNS on xxx.xxx.x.xxx port 53.
Oct 14,2018 01:26:05 DNSServer: intercept: ['trailers.apple.com'] => xxx.xxx.x.xxx
Oct 14,2018 01:26:05 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
Oct 14,2018 01:26:05 DNSServer: forward other to higher level DNS: 8.8.8.8
Oct 14,2018 01:26:05 DNSServer: ***
Oct 14,2018 01:26:05 WebServer: Started
Oct 14,2018 01:26:05 WebServer: ***
Oct 14,2018 01:26:05 WebServer: WebServer: Serving HTTP on xxx.xxx.x.xxx port 80.
Oct 14,2018 01:26:05 WebServer: ***
Oct 14,2018 01:26:05 WebServer: Started
Oct 14,2018 01:26:06 WebServer: ***
Oct 14,2018 01:26:06 WebServer: WebServer: Serving HTTPS on xxx.xxx.x.xxx port 443.
Oct 14,2018 01:26:06 WebServer: ***

in my Apple TV I did everithing I could to fix this problem, I Reset the device, I double checked the DNS settings to match my IP Address, and Nothing worked.
if I Change my network settings to AUTO, My ATV Works but without my PLex Library.

Is something else I can try?

If you ‘Reset’ instead of ‘restarted’ the atv3 you should check to see if the necessary profile is still loaded. Next, I’ve had success over the years by eliminating the search for ip by instead running PMS & Plexconnect on a machine with a dedicated ip. With that in mind, DNS on the atv3 needs to be done manually vs AUTO, and pointed to the ip where plexconnect is running.

Here is what my settings.cfg looks like:

[PlexConnect]
enable_plexgdm = False
ip_pms = 192.168.1.131 <dedicated ip on iMac running PMS & Plexconnect
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 192.168.1.1 < my router
prevent_atv_update = True
enable_plexconnect_autodetect = False
ip_plexconnect = 192.168.1.131 <dedicated ip on iMac running PMS & Plexconnect
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 = Off
logpath = .

OK, I think I found the problem, but I still cant make it to work.

The Profile that I created when I first installed PlexConnect (http://trailers.apple.com/trailers.cer) was erased for some reason, but now, when I try to Install the profile, I get the Error 109 Every single time.

I tried everything from Putting my PC IP Address, to Installing Plexconnect all over again, but nothing works now.

Can Someone Help me here?

Not much details to go on re: what specifically you’ve done. For starters have you reviewed the install procedure mentioned here? https://github.com/iBaa/PlexConnect/wiki

I tried several things since I know about systems, and stuff like that,

first I notice that my CMD window was not comunicating with my ATV all I was seeing was this

Oct 14,2018 01:26:05 PlexConnect: ***
Oct 14,2018 01:26:05 PlexConnect: PlexConnect
Oct 14,2018 01:26:05 PlexConnect: Press CTRL-C to shut down.
Oct 14,2018 01:26:05 PlexConnect: ***
Oct 14,2018 01:26:05 PlexConnect: Started
Oct 14,2018 01:26:05 PlexConnect: Version: 0.5-dev-161017
Oct 14,2018 01:26:05 PlexConnect: Python: 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
Oct 14,2018 01:26:05 PlexConnect: Host OS: win32
Oct 14,2018 01:26:05 PlexConnect: PILBackgrounds: Is PIL installed? False
Oct 14,2018 01:26:05 PlexConnect: IP_self: xxx.xxx.x.xxx
Oct 14,2018 01:26:05 DNSServer: Started
Oct 14,2018 01:26:05 DNSServer: ***
Oct 14,2018 01:26:05 DNSServer: DNSServer: Serving DNS on xxx.xxx.x.xxx port 53.
Oct 14,2018 01:26:05 DNSServer: intercept: ['trailers.apple.com'] => xxx.xxx.x.xxx
Oct 14,2018 01:26:05 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
Oct 14,2018 01:26:05 DNSServer: forward other to higher level DNS: 8.8.8.8
Oct 14,2018 01:26:05 DNSServer: ***
Oct 14,2018 01:26:05 WebServer: Started
Oct 14,2018 01:26:05 WebServer: ***
Oct 14,2018 01:26:05 WebServer: WebServer: Serving HTTP on xxx.xxx.x.xxx port 80.
Oct 14,2018 01:26:05 WebServer: ***
Oct 14,2018 01:26:05 WebServer: Started
Oct 14,2018 01:26:06 WebServer: ***
Oct 14,2018 01:26:06 WebServer: WebServer: Serving HTTPS on xxx.xxx.x.xxx port 443.
Oct 14,2018 01:26:06 WebServer: ***

Long story short. My DNS was set to Manual, with my IP Address, (as it should) I have not updated ANYTHING since I Installed PlexConnect (Except my PMS which I always have been updating with no further problems)

Looking deeper, I noticed that the “Trailers Profile” was missing, I was trying to Reinstall the Certificate(http://trailers.apple.com/trailers.cer) but I was getting the Error 109 every single attempt.

I Restored my ATV to Factory Settings, and did everithing again. with same results. I even tried to put my IP Address instead of trailers.apple.com (example http://123.456.0.xxx/trailers.cer)but it keeps loading with no results.

Now I have Deleted Python and PlexConnect-master folder, and I did a “fresh” Install.
As you can see I was previously Running Python 2.7.14 and PlexConnect 0.5-dev-161017

Now Im facing another Problem, I Installed Python 2.7 and PlexConnect v0.5 and Every time I run Plexconnect.py the CMD window Closes inmediately. Here is when I start to google for help.

I saw people with similar problems and someone recommended to look in the log file that PlexConnect creates, unfortunately there was no log file so I decided to Manually open the .py file and this is what I get

C:\PlexConnect>PlexConnect.py
01:00:53 PlexConnect: ***
01:00:53 PlexConnect: PlexConnect
01:00:53 PlexConnect: Press CTRL-C to shut down.
01:00:53 PlexConnect: ***
01:00:53 PlexConnect: started: 01:00:53
01:00:53 PlexConnect: Version: 0.5
01:00:53 PlexConnect: Python: 2.7 (r27:82525, Jul  4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)]
01:00:53 PlexConnect: Host OS: win32
01:00:53 PlexConnect: PILBackgrounds: Is PIL installed? False
01:00:53 PlexConnect: IP_self: xxx.xxx.xxx.xxx
01:00:53 DNSServer: started: 01:00:53
01:00:53 DNSServer: ***
01:00:53 DNSServer: DNSServer: Serving DNS on xxx.xxx.x.xxx port 53.
01:00:53 DNSServer: intercept: ['trailers.apple.com'] => xxx.xxx.x.xxx
01:00:53 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
01:00:53 DNSServer: forward other to higher level DNS: 8.8.8.8
01:00:53 DNSServer: ***
01:00:53 PlexConnect: Shutting down.
01:00:58 DNSServer: Shutting down.
01:00:58 PlexConnect: shutdown
01:00:58 PlexConnect: shutdown

As I mentioned before I was Running Windows 10 so I Used PowerShell and from this window I get something different.

PS C:\PlexConnect> CMD.EXE /C PlexConnect.py
00:22:31 PlexConnect: ***
00:22:31 PlexConnect: PlexConnect
00:22:31 PlexConnect: Press CTRL-C to shut down.
00:22:31 PlexConnect: ***
00:22:31 Settings: add setting enable_plexgdm=True
00:22:31 Settings: add setting ip_pms=192.168.178.10
00:22:31 Settings: add setting port_pms=32400
00:22:31 Settings: add setting enable_dnsserver=True
00:22:31 Settings: add setting port_dnsserver=53
00:22:31 Settings: add setting ip_dnsmaster=8.8.8.8
00:22:31 Settings: add setting prevent_atv_update=True
00:22:31 Settings: add setting enable_plexconnect_autodetect=True
00:22:31 Settings: add setting ip_plexconnect=0.0.0.0
00:22:31 Settings: add setting hosttointercept=trailers.apple.com
00:22:31 Settings: add setting port_webserver=80
00:22:31 Settings: add setting enable_webserver_ssl=True
00:22:31 Settings: add setting port_ssl=443
00:22:31 Settings: add setting certfile=./assets/certificates/trailers.pem
00:22:31 Settings: add setting loglevel=Normal
00:22:31 Settings: add setting logpath=.
00:22:31 PlexConnect: started: 00:22:31
00:22:31 PlexConnect: Version: 0.5
00:22:31 PlexConnect: Python: 2.7 (r27:82525, Jul  4 2010, 07:43:08) [MSC v.1500 64 bit (AMD64)]
00:22:31 PlexConnect: Host OS: win32
00:22:31 PlexConnect: PILBackgrounds: Is PIL installed? False
00:22:31 PlexConnect: IP_self: xxx.xxx.x.xxx
00:22:32 DNSServer: started: 00:22:32
00:22:32 DNSServer: ***
00:22:32 DNSServer: DNSServer: Serving DNS on xxx.xxx.x.xxx port 53.
00:22:32 DNSServer: intercept: ['trailers.apple.com'] => xxx.xxx.x.xxx
00:22:32 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
00:22:32 DNSServer: forward other to higher level DNS: 8.8.8.8
00:22:32 DNSServer: ***
00:22:32 WebServer: started: 00:22:32
00:22:32 WebServer: Failed to connect to HTTP on XXX.XXX.X.XXX port 80: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions
00:22:32 PlexConnect: WebServer not alive. Shutting down.
00:22:32 PlexConnect: Shutting down.
00:22:37 DNSServer: Shutting down.
00:22:37 PlexConnect: shutdown
00:22:37 PlexConnect: shutdown
PS C:\PlexConnect>

I Googled the error 10013 and it is related to Ports and it seems that something can be using my port 80, I looked in the CMD but NOTHING is Using my Port 80.

Honestly I dont know what else to try.

Let’s see your settings.cfg file.

In the meantime have you seen this thread? Port 80 in use by windows ? [FIX]

I think my Settings.cfg file is the standard

[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
loglevel = Normal
logpath = .

Also I tried your suggestion, I can’t find the World Wide Web Publishing Service. Acording to the post, Disabling this service may fix the problem, but, I cant Find it, I followed the instructions on the next reply from A to Z but nothing.

Thanks for your support on this matter!

I found this on a search for how to locate what’s using port 80

Your setting.cfg file does appear to be default. As I indicated originally, this (for me at least) caused problems which is why I changed mine to force things to specific ip’s and eliminate ‘looking up’. You might want to try it.

Regardless, if your appleTV does not have the profile loaded, nothing is going to work so that, IMO, is the long pole in the tent to address first.

I’ve changed the wiki to include the more recent PlexConnect version. Version 0.5-dev is not suported anymore.

Can you please test the installation procedure ?

When you open your browser to http://localhost:80 do you see an IIS panel ? If yes, you need to disable IIS, it’s occupying port 80, and PlexConnect needs it.

Also, you should use python 2.7.15 and PlexConnect 0.6

Ok everybody. THANK YOU very much for your support in this matter!

Somehow I finally got it working…

First of all, I got my Internet connection Interrupted due to a power outtage in my area.
when the power came back, I notice my IP Address changed.

Then I decided to give it another shot. and PlexConnect.py WORKED. the window stayed open with the familiar interface.

Now on my ATV I tried to “reinstall” the trailers certificate, In my 1st attempt, it did not work, It was getting me “Error 109” I was trying the same HTTP Address as always (http://trailers.apple.com/trailers.cer) then I tried my new IP Address instead of (http://trailers.apple.com/) (example http://123.456.0.xxx/trailers.cer ) and this time the certificate was installed!

Finally I wanted to see Plex Connect Back to life! So I opened the Trailers App, but It kept loading, for a minute or two, and it said “Trailers is not available try again later” My heart stoped.

So I looked at my settings, and I noticed something that may not be relevant but i changed it anyways, it was the TIME ZONE. It was set up to Cupertino CA, So I changed it to AUTOMATIC and after a few seconds of changing to my local time zone POW!!! Plex Connect was back to business.

After I just updated Python to 2.7.14 and I think everything is working again.

The Only Downside is that my PlexConnect has become Painfuly Slow, and the movies are constantly Pausing, that never happened before. At least I got it working

Glad you have sorted it out, and thanks for the hint about the time zone, I’ll update FAQ accordingly.

Regarding PlexConnect being slow and movies pausing, this is usually caused by PMS transcoding. If you want me to check pls do the following:

  1. Stop PMS
  2. Start PMS
  3. View one such film in PlexConnect
  4. Attach PMS’s log file in this thread (or PM it to me)

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