ATV keeps losing connection with Plexconnect Server

I've been running plexconnect successfully for a while. However, lately apple tv has started losing connection with the server if I don't use it for a while. If I restart the server and switch the dns settings back and forth on atv, it starts working again. Any ideas? I'm not even sure where to begin looking. Here are my current settings:

 

[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 = .81
enable_webserver_ssl = True
 

My server ip is actually 192.168.0.120 so I'm not sure where it's getting that ip from for pms. Is that normal?

is your PMS on a static ip address?

That IP is only used if enable_plexgdm = False, so with it set to True Plexconnect uses PlexGDM to find your PMS.

This issue has been reported before and no solution has been found as it seems to be very intermittent and none of the developers have seen it.

Can you post the Plexconnect.log file from when you are having the error to see if anything is being written to it?  Also others have found if they stop the ATV from Sleeping they dont have this issue.

It looks like I'm not the only one having this issue. I'll try making sure sleep is disabled on ATV. Yes, IP is static for the server.

Here is the log:

20:27:25 PlexConnect: started: 20:27:25
20:27:25 PlexConnect: Version: 0.3.1+
20:27:25 PlexConnect: Python: 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)]
20:27:25 PlexConnect: Host OS: win32
20:27:25 PlexConnect: IP_self: 192.168.0.120
20:27:25 DNSServer: started: 20:27:25
20:27:25 DNSServer: ***
20:27:25 DNSServer: DNSServer: Serving DNS on 192.168.0.120 port 53.
20:27:25 DNSServer: ***
20:27:25 WebServer: started: 20:27:25
20:27:25 WebServer: ***
20:27:25 WebServer: WebServer: Serving HTTP on 192.168.0.120 port 80.
20:27:25 WebServer: ***
20:27:26 WebServer: started: 20:27:26
20:27:26 WebServer: ***
20:27:26 WebServer: WebServer: Serving HTTPS on 192.168.0.120 port 443.
20:27:26 WebServer: ***
20:27:46 PlexAPI: ***
20:27:46 PlexAPI: looking up Plex Media Server
20:27:46 PlexAPI: ***
20:27:47 PlexAPI: GDM: Servers discovered: 1
20:27:47 PlexAPI: Servers (local+MyPlex): 1
18:37:52 PlexAPI: ***
18:37:52 PlexAPI: looking up Plex Media Server
18:37:52 PlexAPI: ***
18:37:53 PlexAPI: GDM: Servers discovered: 1
18:37:53 PlexAPI: Servers (local+MyPlex): 1
17:50:41 PlexConnect: Shutting down.
17:50:42 WebServer: Shutting down.
17:50:45 DNSServer: Shutting down.
18:44:01 PlexConnect: shutdown
 

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