Plex Latest Version Unstable Crash tied to Python and CRITICAL (runtime:1128) 'refresh_servers'

Crashing a few moments after starting every time since upgrading to latest version of Plex. Unable to maintain server open. Logs attached. Seems to involve “Refresh Servers Call” Or perhaps whatever call happens immediately after. Any help appreciated.

Server Version#: Version 1.27.0.5849-99e933842

System Info:
macOS Monterey
Version 12.3.1 (21E258)
Mac mini (2018)
Processor 3.6 GHz Quad-Core Intel Core i3
Memory 8 GB 2667 MHz DDR4

Error:

2022-06-04 10:42:15,469 (7000125b0000) :  CRITICAL (runtime:1128) - Exception in thread named 'refresh_servers' (most recent call last):'

File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-99e933842/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1126, in _start_thread
    f(*args, **kwargs)
  File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-99e933842/System.bundle/Contents/Code/peerservice.py", line 169, in refresh_servers
    servers_el = self.get_servers_el()
  File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-99e933842/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 "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-99e933842/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 344, in ElementFromURL
    method=method,
  File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-99e933842/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 "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-99e933842/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 346, in http_request
    return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method)
  File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-99e933842/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 118, in __init__
    self.load()
  File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-99e933842/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 158, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/Applications/Plex Media Server.app/Contents/Resources/Python/python27.zip/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/Applications/Plex Media Server.app/Contents/Resources/Python/python27.zip/urllib2.py", line 447, in _open
    '_open', req)
  File "/Applications/Plex Media Server.app/Contents/Resources/Python/python27.zip/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/Applications/Plex Media Server.app/Contents/Resources/Python/python27.zip/urllib2.py", line 1228, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/Applications/Plex Media Server.app/Contents/Resources/Python/python27.zip/urllib2.py", line 1198, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 61] Connection refused>

com.plexapp.system.log (44.4 KB)

Pretty sure I solved it. An old iPad got turned on, that had the older “Sync” with two unsynced items in it. Looks like the legacy sync might now cause a crash when it picks up the old sync/transcodes.

Steps to solve:

  1. Manually removed all syncs from the ipad
  2. Attempted to delete/stop the conversions on the server side GUI, but it didn’t seem to matter.
  3. Fully deleted the Plex app from ipad removing what looked like 3-5gigs of stuck synced data that I could no longer reference or need.
  4. Restarted server.