# Critical error causing server to be unreachable

**URL:** <https://forums.plex.tv/t/critical-error-causing-server-to-be-unreachable/856990>\
**Category:** Plex Media Server\
**Tags:** server-synology\
**Created:** [October 18, 2023, 11:31am UTC](https://forums.plex.tv/t/critical-error-causing-server-to-be-unreachable/856990 "2023-10-18T11:31:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcello\_f](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@marcello\_f](https://forums.plex.tv/u/marcello_f)\
**Post date:** [October 18, 2023, 11:31am UTC](https://forums.plex.tv/t/critical-error-causing-server-to-be-unreachable/856990/1 "2023-10-18T11:31:11Z")

</div>

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](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](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](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](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](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

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [October 18, 2023, 6:21pm UTC](https://forums.plex.tv/t/critical-error-causing-server-to-be-unreachable/856990/2 "2023-10-18T18:21:40Z")

</div>

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

Would you please do the following?

1. Ensure DEBUG [server logging](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) 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

---

<div class="post-metadata">

**Author:** ![dreamcalledocean](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@dreamcalledocean](https://forums.plex.tv/u/dreamcalledocean)\
**Post date:** [October 22, 2023, 11:53pm UTC](https://forums.plex.tv/t/critical-error-causing-server-to-be-unreachable/856990/3 "2023-10-22T23:53:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [October 24, 2023, 1:44am UTC](https://forums.plex.tv/t/critical-error-causing-server-to-be-unreachable/856990/4 "2023-10-24T01:44:58Z")

</div>

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](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) (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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 22, 2024, 1:45am UTC](https://forums.plex.tv/t/critical-error-causing-server-to-be-unreachable/856990/5 "2024-01-22T01:45:32Z")

</div>

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