Not authorized You do not have access to this server Error

Server Version#:N/A
Player Version#:N/A
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

I purchased a new server and it is was running on the same IP address as my previous one that had a Plex Server running on it.

The previous server was a Synology box this one is a QNAP.

Ever since I have tried to install and launch the Plex server in this new server I get the following error:

“Not authorized You do not have access to this server.”

The issue is I am not given an opportunity to claim the server or otherwise override this.

Steps completed so far:

Removed any other servers in plex authorized devices (except the currently running successfully plex server that is separate from this)
Reset the entire server
Uninstalled and reinstalled the Plex server on the QNAP server multiple times
I have attempted to insert the plex claim code into the “preferences.xml” file via a SSH session with PuTTY
Remove all Plex files via an SSH session to clear any leftover files

So far nothing has worked and my only guess at this point is the machine identifier is flagged by Plex and needs to be cleared by an admin on the Plex side of the house.

Any assistance would be greatly appreciated as nothing is working

Basic checks:

  1. Are you and the server on the same subnet (192.168.x.x, 10.x.x.x )?
  2. Are you accessing the QNAP directly by it’s LAN IP address only on the primary ip address?
    –Using http://IP.Addr.of.QNAP:32400/web

Looking at what Plex.tv knows about your QNAP,

  1. It was registered about 19 hours ago
  2. It’s showing multiple LAN IPs, two of which are Container Station (that’s ok)
192.168.1.41, 10.0.5.1, 10.0.3.1, 10.0.7.1, 192.168.90.8, 192.168.90.5

Hi Chuck,

Thanks for replying I have been attempting to connect to this new server via the primary IP address on the LAN itself (not remotely)

The 192.168.1.41, 192.168.90.5, and the 192.168.90.8 IP addresses are all the ones that are on a 3rd Plex server that is running completely fine in itself (it has a friendly name of RED-QUEEN)

The new server is running on 192.168.90.7, 192.168.90.62, and 192.168.90.71 and if it helps has a friendly name of SAN-JUNIPERO

The previous server that SAN-JUNIPERO is taking over was friendly named SETEC-ASTRONOMY and was operating on 192.168.90.7 which makes me think that not disabling and removing SETEC-ASTRONOMY and then trying to launch the new SAN-JUNIPERO on 192.168.90.7 caused an issue.

Would it be helpful to provide the information like machineidentifier from within the Preferences.xml file of the new SAN-JUNIPERO server?

  1. I went into Plex.tv. Even though you deleted the server, I removed “Too Many Secrets” completely from Plex.tv :wink:

  2. I’m going to assume your computer is running on a 192.168.90.x address

  3. If the QNAP is also there then the things which can generate this error are:
    – DNS lookup failure / gateway IP error (it can’t talk to plex.tv for authentication)
    – Rare, but does happen, the PlexOnlineToken field in Preferences.xml gets corrupted and holds a NULL value. This would lock out all authentication.

If you’re good with SSH,

  1. Recommend you consider using my UserCredentialReset.sh tool (below)
  2. Put it in the Public shared folder
  3. SSH into the box
  4. sudo bash (to gain root privs)
  5. Run the script
  6. It’ll interact with you to get new credentials in Preferences.xml as well as claim it for you.

I have documentation in the README but ask if you have questions.

Thank you, I will try the usercreditialreset tool.

Also thank you for getting the SETEC-ASTRONOMY reference :slight_smile:

1 Like

Chuck, you are my hero and thank you!!!

The tool worked perfect and I am back

i have the same issue on windows desktop computer being used as a primary server please help

@Chicostyles

I do not have or know windows systems.

Fundamentals are - the machine must be able to communicate with Plex.tv

Can you dig into the filesystem and grab the Plex logs manually (make a ZIP of them) ?

https://support.plex.tv/articles/200250417-plex-media-server-log-files/

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