I tried using Plex today for the first time in a while, but couldn’t see my media server in the web app. To try and fix the issue, I updated Plex using the offical plex apt repo, but still nothing changed. So I figured, let me restart the whole media server setup process again, and uninstalled then reinstalled Plex. I did this three times – first with the same username, then with a newly created account, then with the new account but after uninstalling with dpkg --purge and verifying the plexmediaserver folder in /var/lib was completely removed. Every time in the setup wizard, right after submitting the name for the media server, I’m given the notorious “unauthorized access” error. So now I can see the server in my settings (actually 3, but 2 are not connected since they correspond to prior uninstall-install cycles), but I can’t claim it… A bit better than not seeing the server at all!
I’m using a Debian bullseye remote server, and binding it to localhost through ssh to access the web app. Here’s the relevant part of the logs:
Mar 29, 2024 22:15:38.558 [140278875966264] DEBUG - [Req#162/ViewStateSync/HCl#9e] HTTP requesting GET https://plex.tv/api/v2/server/users/services?auth_token=xxxxxxxxxxxxxxxxxxxx
Mar 29, 2024 22:15:38.676 [140278913956664] DEBUG - [HttpClient/HCl#9e] HTTP/2.0 (0.1s) 403 response from GET https://plex.tv/api/v2/server/users/services?auth_token=xxxxxxxxxxxxxxxxxxxx
Mar 29, 2024 22:15:38.676 [140278903257912] ERROR - [Req#162/ViewStateSync] MyPlex: Error 403 requesting XML from: https://plex.tv/api/v2/server/users/services?auth_token=xxxxxxxxxxxxxxxxxxxx
Mar 29, 2024 22:15:38.676 [140278903257912] DEBUG - [Req#162/ViewStateSync] Failed to get user tokens; aborting
I took a look online and found this support post where ChuckPa, a Team Member, mentions a PKCS 12 certificate at /path/to/Plex Media Server/Cache/cert-v2.p12 that he reset. Could the issue lie there? Is this cert grabbed from some Plex database to verify the server owner, and is this for some god-forsaken reason fixed for an IP address as opposed to a Plex account / user?
Let me know if more info would be helpful, and thanks in advance for the help :).
Edit: I forgot to mention, but I followed this support article before trying the reinstallations. Didn’t work, even after clearing all browser storage. As an aside, after seeing other users getting different results on different browsers, I’ve also removed all browser storage for Plex and localhost before each time I tried the web app wizard after a fresh install.