Scanning for new "TV Show" files fails with HTTP error

Server Version#: 4.146.0
Player Version#: not relevant

I’m using a docker image based on this: pms-docker/docker-compose-macvlan.yml.template at master · plexinc/pms-docker · GitHub

I’ve added new files to my server’s “TV Shows” directory. I used the web UI to “Rescan” this section, and nothing happened. I then downloaded the logs and saw this failure being logged:

2025-04-09 19:17:48,731 (7799e8ba8b38) :  DEBUG (networking:144) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.localmedia'
2025-04-09 19:17:49,323 (7799ebffc808) :  DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.localmedia in namespace 'metadata'
2025-04-09 19:17:49,349 (7799ebffc808) :  DEBUG (networking:144) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2025-04-09 19:17:49,481 (7799ebffc808) :  ERROR (networking:197) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2025-04-09 19:17:49,488 (7799ebffc808) :  CRITICAL (runtime:1299) - Exception getting hosted resource hashes (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a96edc606/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1293, in get_resource_hashes
    json = self._core.networking.http_request("http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes", timeout=10).content
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a96edc606/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 243, in content
    return self.__str__()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a96edc606/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 221, in __str__
    self.load()
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-a96edc606/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 404: Not Found

2025-04-09 19:17:49,527 (7799e8a08b38) :  DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2025-04-09 19:17:49,528 (7799e8a08b38) :  DEBUG (networking:144) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2025-04-09 19:17:49,537 (7799ebffc808) :  DEBUG (runtime:1117) - Created a thread named 'load_all_services'
2025-04-09 19:17:49,540 (7799e89bab38) :  DEBUG (networking:144) - Requesting 'http://127.0.0.1:32400'
2025-04-09 19:17:49,541 (7799ebffc808) :  DEBUG (runtime:1117) - Created a thread named 'get_server_info'
2025-04-09 19:17:49,541 (7799ebffc808) :  DEBUG (core:150) - Finished starting framework core
2025-04-09 19:17:49,542 (7799ebffc808) :  DEBUG (core:560) - Loading plug-in code

If I connect to the server’s shell and run curl -i with that URL, I get a 403 “Forbidden” error:

HTTP/1.1 403 Forbidden
X-Plex-Protocol: 1.0
Content-Length: 85
Content-Type: text/html
Connection: Keep-Alive
Keep-Alive: timeout=20
Cache-Control: no-cache
Date: Tue, 27 May 2025 18:53:01 GMT

<html><head><title>Forbidden</title></head><body><h1>403 Forbidden</h1></body></html>

Any suggestions? I have this in Network settings so would have expected this to work:

[empty textfield]
List of IP addresses and networks that are allowed without auth 
Comma separated list of IP addresses or IP/netmask entries for networks that are allowed to access Plex Media Server without logging in. When the server is signed out and this value is set, only localhost and addresses on this list will be allowed.

Thanks for any suggestions!

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