403 on http://resources-cdn.plexapp.com/hashes.json Causing Error

Server Version#: 1.25.8.5663
Player Version#:

The above URL is returning a 403 resulting in the following error:

2022-03-26 22:24:02,651 (2df0) :  DEBUG (networking:143) - Requesting 'http://resources-cdn.plexapp.com/hashes.json'
2022-03-26 22:24:02,885 (2df0) :  ERROR (networking:196) - Error opening URL 'http://resources-cdn.plexapp.com/hashes.json'
2022-03-26 22:24:02,887 (2df0) :  CRITICAL (core:574) - Exception getting hosted resource hashes (most recent call last):
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-e071c3d62\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 1291, in get_resource_hashes
    json = self._core.networking.http_request("http://resources-cdn.plexapp.com/hashes.json", timeout=5).content
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-e071c3d62\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 242, in content
    return self.__str__()
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-e071c3d62\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 220, in __str__
    self.load()
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-e071c3d62\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 158, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 435, in open
    response = meth(req, response)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

Having a v similar issue and its causing my PMS to crash…seems to be happening when I refresh my TV guide around the 43% mark consistently…

2022-04-27 20:41:34,229 (70000568c000) :  DEBUG (services:362) - Loaded services
2022-04-27 20:41:34,231 (700005a8f000) :  DEBUG (services:438) - No shared code to load
2022-04-27 20:41:34,231 (7000082ad000) :  INFO (datakit:131) - Saved the dictionary file
2022-04-27 20:41:34,240 (70000568c000) :  DEBUG (peerservice:176) - Background-refreshing remote servers
2022-04-27 20:41:34,240 (7000072a1000) :  DEBUG (runtime:1117) - Created a thread named 'background_refresh'
2022-04-27 20:41:34,240 (70000568c000) :  DEBUG (peerservice:189) - Updating servers (True/False True/True/True)
2022-04-27 20:41:34,240 (70000568c000) :  DEBUG (peerservice:198) - Found 1 servers
2022-04-27 20:41:34,240 (70000568c000) :  DEBUG (peerservice:233) - Updating existing server PlexMini (12fa2ed5eb689672b1d39b84df06410869ff8dc1)
2022-04-27 20:41:34,241 (70000568c000) :  DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/library/sections'
2022-04-27 20:41:34,243 (70000568c000) :  DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/channels/all'
2022-04-27 20:41:34,269 (70000568c000) :  DEBUG (runtime:717) - Handling request GET /system/:/prefs
2022-04-27 20:41:34,270 (70000568c000) :  DEBUG (runtime:814) - Found route matching /system/:/prefs
2022-04-27 20:41:34,270 (70000568c000) :  DEBUG (preferences:258) - Loaded preferences from DefaultPrefs.json
2022-04-27 20:41:34,271 (70000568c000) :  DEBUG (preferences:178) - Loaded the user preferences for com.plexapp.system
2022-04-27 20:41:34,271 (70000568c000) :  DEBUG (runtime:88) - Sending packed state data (99 bytes)
2022-04-27 20:41:34,271 (70000568c000) :  DEBUG (runtime:924) - Response: [200] MediaContainer, 418 bytes
2022-04-27 20:41:34,692 (70000568c000) :  DEBUG (runtime:717) - Handling request GET /system/messaging/clear_events/com.plexapp.agents.imdb
2022-04-27 20:41:34,704 (70000568c000) :  DEBUG (runtime:814) - Found route matching /system/messaging/clear_events/com.plexapp.agents.imdb
2022-04-27 20:41:34,704 (70000568c000) :  DEBUG (runtime:88) - Sending packed state data (99 bytes)
2022-04-27 20:41:34,704 (70000568c000) :  DEBUG (runtime:924) - Response: [200] str, 0 bytes
2022-04-27 20:41:34,761 (70000568c000) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.system/resourceHashes
2022-04-27 20:41:34,762 (70000568c000) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.system/resourceHashes
2022-04-27 20:41:34,762 (70000568c000) :  DEBUG (networking:143) - Requesting 'http://resources-cdn.plexapp.com/hashes.json'
2022-04-27 20:41:35,046 (70000568c000) :  ERROR (networking:196) - Error opening URL 'http://resources-cdn.plexapp.com/hashes.json'
2022-04-27 20:41:35,047 (70000568c000) :  CRITICAL (runtime:1299) - Exception getting hosted resource hashes (most recent call last):
  File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-965587f64/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1291, in get_resource_hashes
    json = self._core.networking.http_request("http://resources-cdn.plexapp.com/hashes.json", timeout=5).content
  File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-965587f64/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 242, in content
    return self.__str__()
  File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-965587f64/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 220, in __str__
    self.load()
  File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-965587f64/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 435, in open
    response = meth(req, response)
  File "/Applications/Plex Media Server.app/Contents/Resources/Python/python27.zip/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/Applications/Plex Media Server.app/Contents/Resources/Python/python27.zip/urllib2.py", line 473, in error
    return self._call_chain(*args)
  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 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

2022-04-27 20:41:35,048 (70000568c000) :  DEBUG (runtime:88) - Sending packed state data (99 bytes)
2022-04-27 20:41:35,048 (70000568c000) :  DEBUG (runtime:924) - Response: [404] NoneType, 0 bytes
2022-04-27 20:41:35,056 (70000568c000) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_
2022-04-27 20:41:35,057 (70000568c000) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2022-04-27 20:41:35,057 (70000568c000) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_
2022-04-27 20:41:35,058 (70000568c000) :  DEBUG (runtime:88) - Sending packed state data (99 bytes)

I tried latest PMS versions and still have issue…

on version 1.26.2.5797 and recieving the same error while scaning movie library.

2022-06-13 16:41:31,378 (5fe8) : DEBUG (networking:143) - Requesting ‘http://resources-cdn.plexapp.com/hashes.json
2022-06-13 16:41:31,773 (5fe8) : ERROR (networking:196) - Error opening URL ‘http://resources-cdn.plexapp.com/hashes.json
2022-06-13 16:41:31,775 (5fe8) : CRITICAL (core:574) - Exception getting hosted resource hashes (most recent call last):
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-5bd057d2b\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py”, line 1291, in get_resource_hashes
json = self._core.networking.http_request(“http://resources-cdn.plexapp.com/hashes.json”, timeout=5).content
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-5bd057d2b\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py”, line 242, in content
return self.str()
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-5bd057d2b\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py”, line 220, in str
self.load()
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-5bd057d2b\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py”, line 158, in load
f = self._opener.open(req, timeout=self._timeout)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 435, in open
response = meth(req, response)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 548, in http_response
‘http’, request, response, code, msg, hdrs)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 473, in error
return self._call_chain(*args)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 407, in _call_chain
result = func(*args)
File “C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py”, line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

I can reproduce this by visiting that url.
I also see it in my com.plexapp.system.log
Clearing server plugin caches made no change to the Request going out.

I can’t make out from these posts what the actual problem this log message is supposed to be causing.

Please can you provide some information on what problem you’re seeing, steps on how to reproduce the problem and include the full server logs after you have reproduced the issue.

Thanks

I’ve given you everything I can on this issue. The URL doesn’t work with a 403 and Plex is making requests to it resulting in an error. The error has a lot of information and hints as to where in the code the issue is happening. Have you tried to do some investigating and grep for the URL in the code? Other posts indicate similar errors and messages as well.

I can see a message in the log file but I’m trying to find out if you’re seeing an actual issue as a result of this.

That message is harmless otherwise.

This can be closed then. I found this as a result of doing investigation for an issue that was causing PMS to crash. This, in my opinion, was not the cause of that crash. With that in mind I logged the error as a separate issue for further investigation if needed.

On my end I haven’t seen any issues as a result of this, thanks for the reply. I thought I’d mention it in case the 403 error wasn’t spotted or in case it had a larger scope.

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