ERROR - Exception caught while attempting to match metadata on item (metadata agent stops working after a while)

Server Version#: 1.16.3.1433 (docker official)
Player Version#: Web 4.0.1

Symptoms: The metadata agents or service just stops working suddenly. All new Movies and TV Shows don’t load metadata. See below:

Also, the metadata agent option doesn’t appear when I edit the library:

image

When I click on settings for the server, it throws an error:

image

Since I can’t access settings, I can’t access the console or download logs. Here are the logs from the console when I attempt a metadata refresh on a library item:

tail -f -n 1000 com.plexapp.agents.imdb.log

2019-08-06 18:28:29,414 (7f93cd0ca700) :  INFO (core:349) - Starting framework core - Version: 2.6.3, Build: 359b069 (Wed Jul 24 16:57:33 UTC 2019)
2019-08-06 18:28:29,415 (7f93cd0ca700) :  DEBUG (core:361) - Using the elevated policy
2019-08-06 18:28:29,415 (7f93cd0ca700) :  DEBUG (core:450) - Starting runtime component.
2019-08-06 18:28:29,416 (7f93cd0ca700) :  DEBUG (core:450) - Starting caching component.
2019-08-06 18:28:29,416 (7f93cd0ca700) :  DEBUG (core:450) - Starting data component.
2019-08-06 18:28:29,416 (7f93cd0ca700) :  DEBUG (core:450) - Starting networking component.
2019-08-06 18:28:29,417 (7f93cd0ca700) :  DEBUG (networking:284) - Loaded HTTP cookies
2019-08-06 18:28:29,417 (7f93cd0ca700) :  DEBUG (networking:452) - Setting the default network timeout to 20.0
2019-08-06 18:28:29,418 (7f93cd0ca700) :  DEBUG (core:450) - Starting localization component.
2019-08-06 18:28:29,418 (7f93cd0ca700) :  INFO (localization:409) - Setting the default locale to en-us
2019-08-06 18:28:29,418 (7f93cd0ca700) :  DEBUG (core:450) - Starting messaging component.
2019-08-06 18:28:29,418 (7f93cd0ca700) :  DEBUG (core:450) - Starting debugging component.
2019-08-06 18:28:29,419 (7f93cd0ca700) :  DEBUG (core:450) - Starting services component.
2019-08-06 18:28:29,419 (7f93cd0ca700) :  DEBUG (core:450) - Starting myplex component.
2019-08-06 18:28:29,419 (7f93bcff9700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.imdb'
2019-08-06 18:28:29,419 (7f93cd0ca700) :  DEBUG (core:450) - Starting notifications component.
2019-08-06 18:28:29,518 (7f93cd0ca700) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.imdb in namespace 'metadata'
2019-08-06 18:28:29,522 (7f93cd0ca700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2019-08-06 18:28:39,533 (7f93cd0ca700) :  CRITICAL (runtime:1299) - Exception getting hosted resource hashes (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1293, in get_resource_hashes
    json = self._core.networking.http_request("http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes", timeout=10).content
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 265, in content
    return self.__str__()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 243, in __str__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 181, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 438, in open
    response = self._open(req, data)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 456, in _open
    '_open', req)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 416, in _call_chain
    result = func(*args)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 1217, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 1192, in do_open
    raise URLError(err)
URLError: <urlopen error timed out>

2019-08-06 18:28:39,540 (7f939bfff700) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2019-08-06 18:28:39,540 (7f93cd0ca700) :  DEBUG (runtime:1117) - Created a thread named 'load_all_services'
2019-08-06 18:28:39,541 (7f939bfff700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2019-08-06 18:28:39,542 (7f93cd0ca700) :  DEBUG (runtime:1117) - Created a thread named 'get_server_info'
2019-08-06 18:28:39,542 (7f93cd0ca700) :  DEBUG (core:150) - Finished starting framework core
2019-08-06 18:28:39,542 (7f939affd700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400'
2019-08-06 18:28:39,542 (7f93cd0ca700) :  DEBUG (core:560) - Loading plug-in code
2019-08-06 18:28:40,001 (7f93cd0ca700) :  DEBUG (core:566) - Finished loading plug-in code
2019-08-06 18:28:40,139 (7f93cd0ca700) :  DEBUG (agentkit:1115) - Creating new agent class called PlexMovieAgent
2019-08-06 18:28:40,140 (7f93cd0ca700) :  DEBUG (agentkit:933) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': ['com.plexapp.agents.localmedia'], 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.themoviedb'], 'languages': ['en', 'sv', 'fr', 'es', 'nl', 'de', 'it', 'da', 'ar', 'ca', 'zh', 'cs', 'et', 'fi', 'el', 'he', 'hi', 'hu', 'id', 'ja', 'ko', 'lv', 'no', 'fa', 'pl', 'pt', 'ro', 'ru', 'sk', 'th', 'tr', 'uk', 'vi'], 'persist_stored_files': True, 'version': 0, 'primary_provider': True, 'prefs': True, 'name': 'Plex Movie'}]
2019-08-06 18:28:40,141 (7f93cd0ca700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo3CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0Cmxpc3QKMgpzMjMKY29tLnBsZXhhcHAuYWdlbnRzLmltZGJzMTAKaWRlbnRpZmllcnIxCnMxMAphZ2VudF9pbmZvMQpyMgoxMApyMwpzMTEKbWVkaWFfdHlwZXNyNApzMTIKYWNjZXB0c19mcm9tbnMxNApmYWxsYmFja19hZ2VudHI1CnMxNApjb250cmlidXRlc190b3I2CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzaTAKczcKdmVyc2lvbmIxczE2CnByaW1hcnlfcHJvdmlkZXJiMXM1CnByZWZzczEwClBsZXggTW92aWVzNApuYW1lMQpzNQpNb3ZpZTEKczI5CmNvbS5wbGV4YXBwLmFnZW50cy5sb2NhbG1lZGlhMQpzMjkKY29tLnBsZXhhcHAuYWdlbnRzLnRoZW1vdmllZGIzMwpzMgplbnMyCnN2czIKZnJzMgplc3MyCm5sczIKZGVzMgppdHMyCmRhczIKYXJzMgpjYXMyCnpoczIKY3NzMgpldHMyCmZpczIKZWxzMgpoZXMyCmhpczIKaHVzMgppZHMyCmphczIKa29zMgpsdnMyCm5vczIKZmFzMgpwbHMyCnB0czIKcm9zMgpydXMyCnNrczIKdGhzMgp0cnMyCnVrczIKdmlyMAo_'
2019-08-06 18:28:40,143 (7f939affd700) :  DEBUG (core:538) - Machine identifier is bd2abd8672b68c6242404128d07476ffdb414cc7
2019-08-06 18:28:40,143 (7f939affd700) :  DEBUG (core:539) - Server version is 1.16.3.1433-359b06978
2019-08-06 18:28:44,422 (7f93bcff9700) :  ERROR (networking:219) - Error opening URL 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.imdb'
2019-08-06 18:28:44,422 (7f93bcff9700) :  ERROR (messaging:49) - Unable to reach the system bundle.
2019-08-06 18:28:54,543 (7f939bfff700) :  ERROR (networking:219) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2019-08-06 18:28:54,543 (7f939bfff700) :  ERROR (services:272) - Unable to load services from system. Loading from the current bundle only.
2019-08-06 18:28:54,545 (7f939bfff700) :  DEBUG (services:362) - Loaded services
2019-08-06 18:28:54,548 (7f939b7fe700) :  DEBUG (services:438) - No shared code to load
2019-08-06 18:28:55,145 (7f93cd0ca700) :  ERROR (networking:219) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo3CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0Cmxpc3QKMgpzMjMKY29tLnBsZXhhcHAuYWdlbnRzLmltZGJzMTAKaWRlbnRpZmllcnIxCnMxMAphZ2VudF9pbmZvMQpyMgoxMApyMwpzMTEKbWVkaWFfdHlwZXNyNApzMTIKYWNjZXB0c19mcm9tbnMxNApmYWxsYmFja19hZ2VudHI1CnMxNApjb250cmlidXRlc190b3I2CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzaTAKczcKdmVyc2lvbmIxczE2CnByaW1hcnlfcHJvdmlkZXJiMXM1CnByZWZzczEwClBsZXggTW92aWVzNApuYW1lMQpzNQpNb3ZpZTEKczI5CmNvbS5wbGV4YXBwLmFnZW50cy5sb2NhbG1lZGlhMQpzMjkKY29tLnBsZXhhcHAuYWdlbnRzLnRoZW1vdmllZGIzMwpzMgplbnMyCnN2czIKZnJzMgplc3MyCm5sczIKZGVzMgppdHMyCmRhczIKYXJzMgpjYXMyCnpoczIKY3NzMgpldHMyCmZpczIKZWxzMgpoZXMyCmhpczIKaHVzMgppZHMyCmphczIKa29zMgpsdnMyCm5vczIKZmFzMgpwbHMyCnB0czIKcm9zMgpydXMyCnNrczIKdGhzMgp0cnMyCnVrczIKdmlyMAo_'
2019-08-06 18:28:55,146 (7f93cd0ca700) :  CRITICAL (core:615) - Exception starting plug-in (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 608, in start
    self.sandbox.execute(self.init_code)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 256, in execute
    exec(code) in self.environment
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/PlexMovie.bundle/Contents/Code/__init__.py", line 85, in <module>
    class PlexMovieAgent(Agent.Movies):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1116, in __new__
    AgentKit._register_agent_class(cls)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1099, in _register_agent_class
    cls._shared_instance._push_agent_info()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 940, in _push_agent_info
    agent_info = agents
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/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 "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.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 "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 141, in __init__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 181, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 444, in open
    response = meth(req, response)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 557, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 482, in error
    return self._call_chain(*args)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 416, in _call_chain
    result = func(*args)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-359b06978/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 565, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error

tail -f 'Plex Media Server.log'

Aug 06, 2019 18:28:40.142 [0x7fbbe1ffb700] DEBUG - Request: [127.0.0.1:52224 (Loopback)] GET /:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo3CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0Cmxpc3QKMgpzMjMKY29tLnBsZXhhcHAuYWdlbnRzLmltZGJzMTAKaWRlbnRpZmllcnIxCnMxMAphZ2VudF9pbmZvMQpyMgoxMApyMwpzMTEKbWVkaWFfdHlwZXNyNApzMTIKYWNjZXB0c19mcm9tbnMxNApmYWxsYmFja19hZ2VudHI1CnMxNApjb250cmlidXRlc190b3I2CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzaTAKczcKdmVyc2lvbmIxczE2CnByaW1hcnlfcHJvdmlkZXJiMXM1CnByZWZzczEwClBsZXggTW92aWVzNApuYW1lMQpzNQpNb3ZpZTEKczI5CmNvbS5wbGV4YXBwLmFnZW50cy5sb2NhbG1lZGlhMQpzMjkKY29tLnBsZXhhcHAuYWdlbnRzLnRoZW1vdmllZGIzMwpzMgplbnMyCnN2czIKZnJzMgplc3MyCm5sczIKZGVzMgppdHMyCmRhczIKYXJzMgpjYXMyCnpoczIKY3NzMgpldHMyCmZpczIKZWxzMgpoZXMyCmhpczIKaHVzMgppZHMyCmphczIKa29zMgpsdnMyCm5vczIKZmFzMgpwbHMyCnB0czIKcm9zMgpydXMyCnNrczIKdGhzMgp0cnMyCnVrczIKdmlyMAo_ (35 live) GZIP Signed-in Token (KaMoS)
Aug 06, 2019 18:28:40.142 [0x7fbbe1ffb700] DEBUG - [com.plexapp.system] Sending command over HTTP (GET): /:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo3CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0Cmxpc3QKMgpzMjMKY29tLnBsZXhhcHAuYWdlbnRzLmltZGJzMTAKaWRlbnRpZmllcnIxCnMxMAphZ2VudF9pbmZvMQpyMgoxMApyMwpzMTEKbWVkaWFfdHlwZXNyNApzMTIKYWNjZXB0c19mcm9tbnMxNApmYWxsYmFja19hZ2VudHI1CnMxNApjb250cmlidXRlc190b3I2CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzaTAKczcKdmVyc2lvbmIxczE2CnByaW1hcnlfcHJvdmlkZXJiMXM1CnByZWZzczEwClBsZXggTW92aWVzNApuYW1lMQpzNQpNb3ZpZTEKczI5CmNvbS5wbGV4YXBwLmFnZW50cy5sb2NhbG1lZGlhMQpzMjkKY29tLnBsZXhhcHAuYWdlbnRzLnRoZW1vdmllZGIzMwpzMgplbnMyCnN2czIKZnJzMgplc3MyCm5sczIKZGVzMgppdHMyCmRhczIKYXJzMgpjYXMyCnpoczIKY3NzMgpldHMyCmZpczIKZWxzMgpoZXMyCmhpczIKaHVzMgppZHMyCmphczIKa29zMgpsdnMyCm5vczIKZmFzMgpwbHMyCnB0czIKcm9zMgpydXMyCnNrczIKdGhzMgp0cnMyCnVrczIKdmlyMAo_
Aug 06, 2019 18:28:40.142 [0x7fbbe1ffb700] DEBUG - HTTP requesting GET http://127.0.0.1:40055/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo3CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0Cmxpc3QKMgpzMjMKY29tLnBsZXhhcHAuYWdlbnRzLmltZGJzMTAKaWRlbnRpZmllcnIxCnMxMAphZ2VudF9pbmZvMQpyMgoxMApyMwpzMTEKbWVkaWFfdHlwZXNyNApzMTIKYWNjZXB0c19mcm9tbnMxNApmYWxsYmFja19hZ2VudHI1CnMxNApjb250cmlidXRlc190b3I2CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzaTAKczcKdmVyc2lvbmIxczE2CnByaW1hcnlfcHJvdmlkZXJiMXM1CnByZWZzczEwClBsZXggTW92aWVzNApuYW1lMQpzNQpNb3ZpZTEKczI5CmNvbS5wbGV4YXBwLmFnZW50cy5sb2NhbG1lZGlhMQpzMjkKY29tLnBsZXhhcHAuYWdlbnRzLnRoZW1vdmllZGIzMwpzMgplbnMyCnN2czIKZnJzMgplc3MyCm5sczIKZGVzMgppdHMyCmRhczIKYXJzMgpjYXMyCnpoczIKY3NzMgpldHMyCmZpczIKZWxzMgpoZXMyCmhpczIKaHVzMgppZHMyCmphczIKa29zMgpsdnMyCm5vczIKZmFzMgpwbHMyCnB0czIKcm9zMgpydXMyCnNrczIKdGhzMgp0cnMyCnVrczIKdmlyMAo_
Aug 06, 2019 18:28:42.044 [0x7fbc7dffb700] ERROR - Error issuing curl_easy_perform(handle): 28
Aug 06, 2019 18:28:42.044 [0x7fbc7dffb700] DEBUG - HTTP simulating 408 after curl timeout
Aug 06, 2019 18:28:42.044 [0x7fbc7dffb700] DEBUG - [com.plexapp.system] HTTP reply status 408, with 0 bytes of content.
Aug 06, 2019 18:28:42.044 [0x7fbc7dffb700] ERROR - Error parsing content.
Aug 06, 2019 18:28:42.048 [0x7fbc7dffb700] ERROR - Error parsing XML: Error parsing file.
Aug 06, 2019 18:28:42.048 [0x7fbccf7fe700] DEBUG - Completed: [172.18.0.14:40356] 408 GET /system/agents?mediaType=1 (35 live) GZIP 15006ms 249 bytes (pipelined: 3)
Aug 06, 2019 18:28:42.663 [0x7fbc7ffff700] ERROR - Error issuing curl_easy_perform(handle): 28
Aug 06, 2019 18:28:42.663 [0x7fbc7ffff700] DEBUG - HTTP simulating 408 after curl timeout
Aug 06, 2019 18:28:42.663 [0x7fbc7ffff700] DEBUG - [com.plexapp.system] HTTP reply status 408, with 0 bytes of content.
Aug 06, 2019 18:28:42.663 [0x7fbc7ffff700] ERROR - Error parsing content.
Aug 06, 2019 18:28:42.663 [0x7fbc7ffff700] ERROR - Error parsing XML: Error parsing file.
Aug 06, 2019 18:28:42.663 [0x7fbccf7fe700] DEBUG - Completed: [172.18.0.14:40360] 408 GET /system/scanners/1 (35 live) GZIP 15002ms 249 bytes (pipelined: 1)
Aug 06, 2019 18:28:44.421 [0x7fbc18ff9700] ERROR - Error issuing curl_easy_perform(handle): 28
Aug 06, 2019 18:28:44.421 [0x7fbc18ff9700] DEBUG - HTTP simulating 408 after curl timeout
Aug 06, 2019 18:28:44.421 [0x7fbc18ff9700] DEBUG - [com.plexapp.system] HTTP reply status 408, with 0 bytes of content.
Aug 06, 2019 18:28:44.422 [0x7fbccffff700] DEBUG - Completed: [127.0.0.1:52172] 408 GET /system/messaging/clear_events/com.plexapp.agents.imdb (35 live) GZIP 15001ms 141 bytes
Aug 06, 2019 18:28:44.523 [0x7fbcbaffd700] ERROR - Error issuing curl_easy_perform(handle): 28
Aug 06, 2019 18:28:44.523 [0x7fbcbaffd700] DEBUG - HTTP simulating 408 after curl timeout
Aug 06, 2019 18:28:44.523 [0x7fbcbaffd700] DEBUG - [com.plexapp.system] HTTP reply status 408, with 0 bytes of content.
Aug 06, 2019 18:28:44.523 [0x7fbccf7fe700] DEBUG - Completed: [127.0.0.1:52178] 408 GET /:/plugins/com.plexapp.system/resourceHashes (35 live) GZIP 15000ms 141 bytes
Aug 06, 2019 18:28:54.542 [0x7fbc0bfff700] ERROR - Error issuing curl_easy_perform(handle): 28
Aug 06, 2019 18:28:54.542 [0x7fbc0bfff700] DEBUG - HTTP simulating 408 after curl timeout
Aug 06, 2019 18:28:54.543 [0x7fbc0bfff700] DEBUG - [com.plexapp.system] HTTP reply status 408, with 0 bytes of content.
Aug 06, 2019 18:28:54.543 [0x7fbccf7fe700] DEBUG - Completed: [127.0.0.1:52218] 408 GET /:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_ (30 live) GZIP 15000ms 141 bytes
Aug 06, 2019 18:28:55.144 [0x7fbbe1ffb700] ERROR - Error issuing curl_easy_perform(handle): 28
Aug 06, 2019 18:28:55.144 [0x7fbbe1ffb700] DEBUG - HTTP simulating 408 after curl timeout
Aug 06, 2019 18:28:55.144 [0x7fbbe1ffb700] DEBUG - [com.plexapp.system] HTTP reply status 408, with 0 bytes of content.
Aug 06, 2019 18:28:55.144 [0x7fbccffff700] DEBUG - Completed: [127.0.0.1:52224] 408 GET /:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQo3CmRpY3QKbGlzdApkaWN0Cmxpc3QKbGlzdApsaXN0Cmxpc3QKMgpzMjMKY29tLnBsZXhhcHAuYWdlbnRzLmltZGJzMTAKaWRlbnRpZmllcnIxCnMxMAphZ2VudF9pbmZvMQpyMgoxMApyMwpzMTEKbWVkaWFfdHlwZXNyNApzMTIKYWNjZXB0c19mcm9tbnMxNApmYWxsYmFja19hZ2VudHI1CnMxNApjb250cmlidXRlc190b3I2CnM5Cmxhbmd1YWdlc2IxczIwCnBlcnNpc3Rfc3RvcmVkX2ZpbGVzaTAKczcKdmVyc2lvbmIxczE2CnByaW1hcnlfcHJvdmlkZXJiMXM1CnByZWZzczEwClBsZXggTW92aWVzNApuYW1lMQpzNQpNb3ZpZTEKczI5CmNvbS5wbGV4YXBwLmFnZW50cy5sb2NhbG1lZGlhMQpzMjkKY29tLnBsZXhhcHAuYWdlbnRzLnRoZW1vdmllZGIzMwpzMgplbnMyCnN2czIKZnJzMgplc3MyCm5sczIKZGVzMgppdHMyCmRhczIKYXJzMgpjYXMyCnpoczIKY3NzMgpldHMyCmZpczIKZWxzMgpoZXMyCmhpczIKaHVzMgppZHMyCmphczIKa29zMgpsdnMyCm5vczIKZmFzMgpwbHMyCnB0czIKcm9zMgpydXMyCnNrczIKdGhzMgp0cnMyCnVrczIKdmlyMAo_ (30 live) GZIP 15002ms 141 bytes

Attempted Solutions: The only thing that resolves the issue is by restarting the server or clearing the plugin cache and restarting the container. In both of these scenario’s, the metadata agent seems to fail after a couple of days.

Any assistance will be appreciated.

I have this same issue, came to report it so glad I found this recent post.

I have to restart the server every day to prevent this, which is annoying. I believe the constant restarting also led to a recent bout of database corruption that I had to deal with.

My logs look exactly like your logs. I already restarted the server and they rolled but I can try and get new ones. I’m not running Plex inside a container.

Oh and by the way, my server settings also become unavailable until I restart the server. Other things I’ve noticed:

  1. The server in general becomes less responsive.
  2. Loading metadata for old items sometimes fails so instead of getting the poster all there is is a blank box where the art should be.

Yeah, this issue is still ongoing for me and there’s not solution in sight.

I’m having to reboot my server regularly to resolve it. I’m at the point of possibly deleting my libraries and recreating them :confused:

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