Cannot initialize server, user not authorized

Server Version#: 1.41.0.8992-8463ad060

I am trying to install Plex Media Server on a new machine.

When running the server for the first time I get this:

https://app.plex.tv/desktop/#!/server/946cf18e910ae1bbf56b056fba0fc3c1c6fba5ca/await
Something went wrong. Make sure the server is available and try again.

If I try to connect to local server:

http://127.0.0.1:32400/web/index.html#!/setup/946cf18e910ae1bbf56b056fba0fc3c1c6fba5ca
Not authorized
You do not have access to this server.

You may be able to claim it by choosing “Open Plex…” from the Plex menu in the macOS menu bar or Windows system tray. For more troubleshooting tips, see our support article.

I followed the steps in the article. It did not fix the issue.

I removed the claim for the old server from the account. It did not fix the issue.

Added 2FA to the account. It did not fix the issue.

Tuned Firewall OFF. Turned Antivirus OFF. It did not fix the issue

Uninstalled, cleaned installation folder, cleaned registries. It did not fix the issue

I have already spent 6 hours on this. I do not know what to do anymore.

Is this a Windows Server Edition?
Is it located in your home network or at a Datacenter? If so, where?
Try disabling any internet filters, VPN software, 3rd-party firewalls etc.
Change the DNS server address for your local network to the known-good 1.1.1.1 or 8.8.8.8 (if you don’t have access to the configuration of your local DNS resolver [usually in your router] you can try to set the DNS server in the properties of the network connection in Windows.)

It is a Windows machine, running Windows 11 Pro 64bit. Latest drivers and windows updates…

It is a home network.

I had the same version of plex server installed on another machine running windows 10 pro 64bit. No problem.

I have disabled firewall and antivirus on the machine. No success.

No, I will not change the network IP.

Would logs help you?

Then the only way for you to solve this issue is to battle with your ISP, and ask them to remove some filter from their DNS.

To be clear, I am not telling you to “change the network IP”.
I am only recommending you to use a different DNS server, which is a way to circumvent any restrictions placed by your ISP.

There is no traffic filtering from my Internet provider if this is what you are suggesting.

I did the equipment (server) change on Sunday. The Plex server was running fine on the old machine until the moment I did the change.

This is all your suggestion to fix it? You do not need any logs?

In com.plex.app.system.log I get the following CRITICAL errors:

2024-09-24 12:46:54,266 (29ac) :  CRITICAL (core:574) - Exception in thread named 'refresh_servers' (most recent call last):
  File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-8463ad060\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 1126, in _start_thread
    f(*args, **kwargs)
  File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-8463ad060\System.bundle\Contents\Code\peerservice.py", line 169, in refresh_servers
    servers_el = self.get_servers_el()
  File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-8463ad060\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 "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-8463ad060\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\parsekit.py", line 344, in ElementFromURL
    method=method,
  File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-8463ad060\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 "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-8463ad060\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 "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-8463ad060\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 119, in __init__
    self.load()
  File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-8463ad060\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 159, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 435, in open
    response = meth(req, response)
  File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "C:\Program Files\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 503: Service Unavailable
2024-09-24 12:46:56,059 (1998) :  DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.system/resourceHashes
2024-09-24 12:46:56,071 (1998) :  DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.system/resourceHashes
2024-09-24 12:46:56,072 (1998) :  DEBUG (networking:144) - Requesting 'http://resources-cdn.plexapp.com/hashes.json'
2024-09-24 12:46:56,163 (1998) :  ERROR (networking:197) - Error opening URL 'http://resources-cdn.plexapp.com/hashes.json'
2024-09-24 12:46:56,164 (1998) :  CRITICAL (core:574) - Exception getting hosted resource hashes (most recent call last):
  File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-8463ad060\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\Plex\Plex Media Server\Resources\Plug-ins-8463ad060\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 243, in content
    return self.__str__()
  File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-8463ad060\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 221, in __str__
    self.load()
  File "C:\Program Files\Plex\Plex Media Server\Resources\Plug-ins-8463ad060\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 159, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 435, in open
    response = meth(req, response)
  File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "C:\Program Files\Plex\Plex Media Server\python27.zip\urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "C:\Program Files\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 404: Not Found

I solved the issue by connecting the machine direct to the ISP router and re-installing Plex Media Server.

After that, I reconnected the machine back to my local network.

It looks to me that my machine needs to be visible from outside during the setup.

I do not see why that is, as the server works fine after installation if not accessible from outside my local network.

The true fix is in another thread on this forum… it’s a damn replacement of the Registry file that takes you back to an unclaimed Server. I don’t know why manually removing the reg folders don’t do this but following this procedure fixed it so quickly, after I spent hours following a bunch of manual methods that never worked.

Here it is, the damn reg file replacement that allows you to clear the claim and then reclaim to make your new Library (or possibly salvage previous library)…

You need to reclaim your server, but don’t dare to touch the Windows Registry - General Discussions / Tips, Tricks & How-Tos - Plex Forum

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