Critical error causing server to be unreachable

Server Version: 1.32.6.7557-7000
Synology 1821+
With a collection of almost 6000 files, the server after 1/2 days has some critical error and causes the server to be unreachable.
Please note that I need to restart Plex server and after I can reach it, through web console and also clients.

Here some critical error:
2023-10-11 23:14:55,975 (7f940a9b2b38) : DEBUG (networking:144) - Requesting ‘http://127.0.0.1:32400/servers
2023-10-11 23:15:16,212 (7f940a9b2b38) : CRITICAL (runtime:889) - Exception (most recent call last):
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py”, line 843, in handle_request
result = f(**d)
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/System.bundle/Contents/Code/peerservice.py”, line 390, in handle_notify
self.update_servers(required_attribs=attrs)
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/System.bundle/Contents/Code/peerservice.py”, line 195, in update_servers
servers_el = self.get_servers_el()
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/System.bundle/Contents/Code/peerservice.py”, line 165, in get_servers_el
return XML.ElementFromURL(‘http://127.0.0.1:32400/servers’, cacheTime = 0)
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py”, line 344, in ElementFromURL
method=method,
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/networkkit.py”, line 67, in _http_request
req = self._core.networking.http_request(url, *args, **kwargs)
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py”, line 352, in http_request
return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py”, line 119, in init
self.load()
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py”, line 159, in load
f = self._opener.open(req, timeout=self._timeout)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 429, in open
response = self._open(req, data)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 447, in _open
‘_open’, req)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 407, in _call_chain
result = func(*args)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 1228, in http_open
return self.do_open(httplib.HTTPConnection, req)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 1201, in do_open
r = h.getresponse(buffering=True)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/httplib.py”, line 1148, in getresponse
response.begin()
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/httplib.py”, line 448, in begin
version, status, reason = self._read_status()
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/httplib.py”, line 404, in _read_status
line = self.fp.readline(_MAXLINE + 1)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/socket.py”, line 480, in readline
data = self._sock.recv(self._rbufsize)
timeout: timed out

2023-10-11 23:15:16,278 (7f940a9b2b38) : DEBUG (runtime:924) - Response: [500] 3505 bytes

2023-10-08 18:06:46,370 (7f940a96cb38) : ERROR (networking:197) - Error opening URL ‘http://resources-cdn.plexapp.com/hashes.json
2023-10-08 18:06:46,370 (7f940a96cb38) : CRITICAL (runtime:1299) - Exception getting hosted resource hashes (most recent call last):
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py”, line 1291, in get_resource_hashes
json = self._core.networking.http_request(“http://resources-cdn.plexapp.com/hashes.json”, timeout=5).content
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py”, line 243, in content
return self.str()
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py”, line 221, in str
self.load()
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py”, line 159, in load
f = self._opener.open(req, timeout=self._timeout)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 435, in open
response = meth(req, response)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 548, in http_response
‘http’, request, response, code, msg, hdrs)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 473, in error
return self._call_chain(*args)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 407, in _call_chain
result = func(*args)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

2023-10-08 18:06:43,841 (7f940a96cb38) : CRITICAL (runtime:1128) - Exception in thread named ‘refresh_servers’ (most recent call last):
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py”, line 1126, in _start_thread
f(*args, **kwargs)
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/System.bundle/Contents/Code/peerservice.py”, line 169, in refresh_servers
servers_el = self.get_servers_el()
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/System.bundle/Contents/Code/peerservice.py”, line 165, in get_servers_el
return XML.ElementFromURL(‘http://127.0.0.1:32400/servers’, cacheTime = 0)
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py”, line 344, in ElementFromURL
method=method,
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/networkkit.py”, line 67, in _http_request
req = self._core.networking.http_request(url, *args, **kwargs)
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py”, line 352, in http_request
return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py”, line 119, in init
self.load()
File “/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-1cf77d501/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py”, line 159, in load
f = self._opener.open(req, timeout=self._timeout)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 435, in open
response = meth(req, response)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 548, in http_response
‘http’, request, response, code, msg, hdrs)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 473, in error
return self._call_chain(*args)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 407, in _call_chain
result = func(*args)
File “/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip/urllib2.py”, line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable

I’m sorry but this fragment isn’t useful.

Would you please do the following?

  1. Ensure DEBUG server logging is enabled (it’s on by default)
  2. Restart PMS
  3. wait 3 minutes for it to stabilize
  4. Recreate the error (I don’t think you’ll need do anything)
  5. Download the logs ZIP file (or create a ZIP of the “Logs” directory in the PlexMediaServer shared folder)
  6. Attach the ZIP file here

Hi Chuck, I also get these errors. When you say there useless, can you give some information about wheres a good place to look for useful information in these logs? Cheers.

The fragment is useless because it is without context.

If it’s failing this way, the root errors will be manifesting in the main logs

This log fragment is not from “Plex Media Server.log”.

We always start with “Plex Media Server.log” and then dig deeper into the lower layers (not the reverse)

Best logs to provide are

  1. DEBUG server logs (not VERBOSE logs)
  2. Captured right after recreating the problem
  3. (Settings - Server - Troubleshooting - Download logs)
    – That ZIP file will contain all the necessary main and secondary logs.

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