# Plex Latest Version Unstable Crash tied to Python and CRITICAL (runtime:1128) 'refresh\_servers'

**URL:** https://forums.plex.tv/t/plex-latest-version-unstable-crash-tied-to-python-and-critical-runtime-1128-refresh-servers/795708
**Category:** Plex Media Server
**Tags:** server-mac
**Created:** [June 4, 2022, 8:00pm UTC](https://forums.plex.tv/t/plex-latest-version-unstable-crash-tied-to-python-and-critical-runtime-1128-refresh-servers/795708 "2022-06-04T20:00:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tmcleod](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tmcleod/32/226368_2.png) [@tmcleod](https://forums.plex.tv/u/tmcleod)
#### Post date: [June 4, 2022, 8:00pm UTC](https://forums.plex.tv/t/plex-latest-version-unstable-crash-tied-to-python-and-critical-runtime-1128-refresh-servers/795708/1 "2022-06-04T20:00:36Z")

</div>

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:**

```auto
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](https://forums.plex.tv/uploads/short-url/1jH85XSQCWdmN52UMnb37n7yJwu.log) (44.4 KB)

---

<div class="post-metadata">

### Author: ![tmcleod](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tmcleod/32/226368_2.png) [@tmcleod](https://forums.plex.tv/u/tmcleod)
#### Post date: [June 4, 2022, 8:24pm UTC](https://forums.plex.tv/t/plex-latest-version-unstable-crash-tied-to-python-and-critical-runtime-1128-refresh-servers/795708/2 "2022-06-04T20:24:37Z")

</div>

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.

---

<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: [September 2, 2022, 8:25pm UTC](https://forums.plex.tv/t/plex-latest-version-unstable-crash-tied-to-python-and-critical-runtime-1128-refresh-servers/795708/3 "2022-09-02T20:25:11Z")

</div>

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