Plex randomly crashing on Synology

hello all,

I have Plex running on Synology NAS(package and not docker) randomly crashing and I’m not able to understand why.
Looks like it happens because I have multiple clients accessing the server from multiple devices(android phone\tablet, ios, tv,…)

I activated the logs, but not expert enough to understand what could be wrong.
Anyone has same problem or is able to understand what’s wrong

here are the logs I have:

2023-09-09 09:12:09,422 (7f9f2c7f5b38) :  DEBUG (networking:144) - Requesting 'http://127.0.0.1:32400/servers'
2023-09-09 09:12:09,423 (7f9f2c83bb38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-09-09 09:12:09,425 (7f9f2ff7a808) :  DEBUG (runtime:1150) - Scheduled a timed thread named 'refresh_servers'
2023-09-09 09:12:09,426 (7f9f2c7f5b38) :  ERROR (networking:197) - Error opening URL 'http://127.0.0.1:32400/servers'
2023-09-09 09:12:09,426 (7f9f2ff7a808) :  DEBUG (streamservice:18) - Starting the stream service
2023-09-09 09:12:09,428 (7f9f2ff7a808) :  CRITICAL (runtime:709) - Private handlers are no longer supported; couldn't register <bound method StreamService.token_handler of <streamservice.StreamService object at 0x7f9f2c3b7a90>>
2023-09-09 09:12:09,427 (7f9f2c83bb38) :  DEBUG (runtime:1117) - Created a thread named 'ensure_agent_info_exists_inner'
2023-09-09 09:12:09,430 (7f9f2ff7a808) :  DEBUG (runtime:1150) - Scheduled a timed thread named 'invalidation_timer'
2023-09-09 09:12:09,431 (7f9f2c7f5b38) :  CRITICAL (runtime:1128) - Exception in thread named 'refresh_servers' (most recent call last):
  File "/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-8f4248874/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-8f4248874/System.bundle/Contents/Code/peerservice.py", line 169, in refresh_servers
    servers_el = self.get_servers_el()
  File "/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-8f4248874/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-8f4248874/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 344, in ElementFromURL
    method=method,
  File "/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-8f4248874/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-8f4248874/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-8f4248874/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 119, in __init__
    self.load()
  File "/volume1/@appstore/PlexMediaServer/Resources/Plug-ins-8f4248874/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

Is your NAS OS and all packages fully up to date?

1 Like

Absolutely yes:

  • DSM 7.2-64570
  • Plex server Version 1.32.5.7349

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