# 'refresh servers' exception in thread

**URL:** <https://forums.plex.tv/t/refresh-servers-exception-in-thread/880933>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [June 25, 2024, 4:57am UTC](https://forums.plex.tv/t/refresh-servers-exception-in-thread/880933 "2024-06-25T04:57:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![triks\_melb](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/triks_melb/32/107894_2.png) [@triks\_melb](https://forums.plex.tv/u/triks_melb)\
**Post date:** [June 25, 2024, 4:57am UTC](https://forums.plex.tv/t/refresh-servers-exception-in-thread/880933/1 "2024-06-25T04:57:45Z")

</div>

Seeing this in the logs recently, is this a bug or an issue with my server configuration?

Server Version#: 1.40.4.8598  
Server Host: Debian GNU/Linux 12 (bookworm)  
[com.plexapp.system.log](https://forums.plex.tv/uploads/short-url/7SBCJZU9ndaibsKq1t7FvL5FNdE.log) (33.3 KB)

```auto
CRITICAL (runtime:1128) - Exception in thread named 'refresh_servers' (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-71044f963/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1126, in _start_thread
    f(*args, **kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-71044f963/System.bundle/Contents/Code/peerservice.py", line 169, in refresh_servers
    servers_el = self.get_servers_el()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-71044f963/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 "/usr/lib/plexmediaserver/Resources/Plug-ins-71044f963/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 344, in ElementFromURL
    method=method,
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-71044f963/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 "/usr/lib/plexmediaserver/Resources/Plug-ins-71044f963/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 "/usr/lib/plexmediaserver/Resources/Plug-ins-71044f963/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 119, in __init__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-71044f963/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 159, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/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:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [September 23, 2024, 4:58am UTC](https://forums.plex.tv/t/refresh-servers-exception-in-thread/880933/2 "2024-09-23T04:58:13Z")

</div>

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