@antcull said:
I’ll try the above. Although I have changed the Library updates to Daily.
I was looking into why we were doing so many database optimizations and why we were re-scanning the libraries every hour - it appears that the Plex Media Server is failing to mark the scans as having been done and so it thinks they still need to be done. Looking into that I can see lots of timeouts in the agents and system.bundle logs. So we need to look into why these internal requests are timing out
Examples of these errors in one of the com.plexapp.system.log files
2016-10-15 08:47:10,841 (2448) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/metadata/processing?id=4039765'
2016-10-15 08:47:10,871 (8e0) : ERROR (model:205) - Cannot read model from G:\Plex Local Data\Plex Media Server\Metadata\TV Shows\5\48e5035a83f067a08f0a765a40f6bbaa149c947.bundle\Contents\com.plexapp.agents.thetvdb
2016-10-15 08:47:30,846 (2448) : CRITICAL (core:574) - Exception notifying the media server (most recent call last):
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-24ffd60\System.bundle\Contents\Code\agentservice.py", line 388, in notify_processing
HTTP.Request(url, cacheTime=0, immediate=True)
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-24ffd60\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api
etworkkit.py", line 194, in Request
method=method,
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-24ffd60\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api
etworkkit.py", line 67, in _http_request
req = self._core.networking.http_request(url, *args, **kwargs)
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-24ffd60\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components
etworking.py", line 370, in http_request
return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-24ffd60\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components
etworking.py", line 141, in __init__
self.load()
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-24ffd60\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components
etworking.py", line 181, in load
f = self._opener.open(req, timeout=self._timeout)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 404, in open
response = self._open(req, data)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 422, in _open
'_open', req)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 1214, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 1187, in do_open
r = h.getresponse(buffering=True)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\httplib.py", line 1045, in getresponse
response.begin()
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\httplib.py", line 409, in begin
version, status, reason = self._read_status()
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\httplib.py", line 365, in _read_status
line = self.fp.readline(_MAXLINE + 1)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\socket.py", line 476, in readline
data = self._sock.recv(self._rbufsize)
timeout: timed out
and
2016-10-15 08:49:10,321 (1764) : ERROR (networking:219) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.agents.localmedia/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IwczYKbWFudWFsYjBzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M3ClRWX1■■■3dzMTAKbWVkaWFfdHlwZTUKczcKMTQzNTI1M3M4CnBhcmVudElEczQ3CmNvbS5wbGV4YXBwLmFnZW50cy50aGV0dmRiOi8vMjUxMDg1LzIvOT9sYW5nPWVuczQKZ3VpZGIxczUKZm9yY2VzMjYKY29tLnBsZXhhcHAuYWdlbnRzLnRoZXR2ZGJzMTMKcHJpbWFyeV9hZ2VudHM3CjI0NTk2MjJzMgppZHIwCg__'
2016-10-15 08:49:10,325 (1764) : CRITICAL (core:574) - Exception performing search in com.plexapp.agents.localmedia (most recent call last):
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-24ffd60\System.bundle\Contents\Code\agentservice.py", line 463, in update_task
results = self.agent_search(agent_identifier, media_type, lang, False, kwargs, version, primary=False)
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-24ffd60\System.bundle\Contents\Code\agentservice.py", line 1201, in agent_search
kwargs=kwargs
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-24ffd60\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\messaging.py", line 86, in call_external_function
packed_result = self._core.networking.http_request(url, cacheTime=0, timeout=None, immediate=True).content
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-24ffd60\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components
etworking.py", line 370, in http_request
return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-24ffd60\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components
etworking.py", line 141, in __init__
self.load()
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-24ffd60\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components
etworking.py", line 181, in load
f = self._opener.open(req, timeout=self._timeout)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 410, in open
response = meth(req, response)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 448, in error
return self._call_chain(*args)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
and localmedia log
2016-10-15 08:49:44,075 (2610) : WARNING (core:541) - Unable to retrieve the machine identifier or server version.
Could you tell me if you are using a proxy ? vpn software?
what security software do you use ? for firewall ? and for anti virus ? and internet security ?
what firewall rules do you have for Plex ?