Unable to run Plex Media Server on QNAP TS-664 - Not authorized Error

Server Version#: 1.32.5

Hi All,

I wanted to see if anybody had encountered this problem before. I am moving my Plex Server from a Mac Desktop to a QNAP-664 NAS device.

I have installed the Plex Server on my QNAP, that all went fine, but when I open the Plex Media Server (via the QNAP App Center) I am taken to a new browser tab (http://QNAP_IP_ADDRESS:32400/web/index.html#!/setup/0bdf8357407e0e17fb0fcc84a9315557eb2e49da) but I get an error ‘Not authorized - You do not have access to this server.’

It definatly looks like a permissions issue but I cant see where in plex if needed I need to add the credencials so it has access to the NAS?

Has anybody had this issue with a NAS, or a QNAP or have any ideas on how to get Authroization for the Plex Media Server?

Thanks

Please make sure both the QANP and your desktop is on the same IP Net, and that you are using Private Address Space

To add to @dane22

Sometimes, it’s better to sign out of Plex/web (web app) and restart the browser THEN open the QNAP.

What sometimes happens is credentials are used to try and sign in – which won’t work yet)

1 Like

Thanks @dane22 and @ChuckPa for the suggestions.

The QNAP and my desktop machine are on the same network, and the machine can see the device and the drives (i.e. I am able to mount the drives from the QNAP onto my machine).

I have tried the process using a new browser, using incognito and also tried on another machine which I have never used Plex on, unfortunatly I get the same issue as when I go through to http://180.186.1.30:32400/web/index.html#!/setup/0bdf8357407e0e17fb0fcc84a9315557eb2e49da, I get the ‘Not Authorized’ message.

I have checked out the Network traffic, the page is giving a ‘401 Unauthorized exception’. What is strange, is then the page keeps trying to then hit the desktops local IP on

http://127.0.0.1:32400/media/providers?X-Plex-Product=Plex%20Web&X-Plex-Version=4.108.0&X-Plex-Client-Identifier=sdeugq7kd153o4q2orew3zm9&X-Plex-Platform=Chrome&X-Plex-Platform-Version=114.0&X-Plex-Features=external-media%2Cindirect-media%2Chub-style-list&X-Plex-Model=bundled&X-Plex-Device=OSX&X-Plex-Device-Name=Chrome&X-Plex-Device-Screen-Resolution=802x945%2C2560x1440&X-Plex-Language=en&X-Plex-Session-Id=ab1096ce-edc2-47f2-85e9-407df716bd98

which also gives errors as Plex is not running on the local machine.

If I browse to http://180.186.1.30:32400/web/index.htm, I am able to login to the Plex and the page is working (so I dont think there is any restrictions or blocks with the IP or Port as that works fine), ofcourse, the Plex Media Server at this point has not been setup so I do get any options for that.

I will see if I can investigate further, but, question, when going through the setup process the URL has ‘/setup/0bdf8357407e0e17fb0fcc84a9315557eb2e49da’, do you know what ‘0bdf8357407e0e17fb0fcc84a9315557eb2e49da’ is e.g. is this an access token, is it an ID for the Plex Media Server, etc? If I can work out what the page does not have authorization to, I can see how I can grant that?

Also, I know this is a NAS, but, when I was looking through the install notes for the different OS’s it mentioned on Linux that a ‘Plex’ user might be need to be created as it needs certain access to some folders / files. The QNAP uses Linux and was wondering whether you know if any additional users or permissions are needed for Plex Media Server?

Thanks

This looks like the missing piece of the puzzle.

  1. 180.186.1.30 is not an RFC-1918 (IETF) compliant address … This is a Public WAN address in China
inetnum:        180.185.0.0 - 180.186.255.255
netname:        CNISP-UNION
descr:          CNISP-Union Technology (Beijing) Co., Ltd
country:        CN
  1. PMS thinks it’s on the Public Internet. Its default security is to require Username/Password for access BUT you’ve got gotten that far with it yet. Catch-22 situation.

If you arbitrarily chose 180.185 for your home LAN subnet, you need to change it.
What’s happening is that your LAN traffic and the company in China are using the same addresses – STUFF BREAKS.

Do you need assistance changing everything over to a proper Private Network address range ?

REF: Allowed network ranges

1 Like

Thanks ChuckPa, appreciate the comments.

My LAN IP range is something I randomly chose, really for security reasons. I will give a go at changing it back to the standard (which I am struggling to do as my router for some reason is not saving this when I make the changes).

Thanks Again

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