Can't Claim Server

Hello, hopefully someone here can help me out. I’ve recently gotten a new VPS and have installed Plex on it. However every time I try to SSH tunnel in and claim the server it fails to claim it. At the initial servers startup if I wait for it to load the “Next” button just loads for quite a while then fails to sign in. I discovered if I click finish before it’s loaded up I can continue into the main Plex menu.
From there I can go into the settings and try to claim it there however the same problem continues. If i sign out at that point and attempt to claim the server by typing in my username and pass sometimes I can get it to claim after a few attempts. Then when I try to enable remote access Plex fails a few times and can’t establish an internal or external IP. Eventually it just loads indefinitely attempting to establish remote access.
I’ve read that signing out of everything and claiming it in a private browser tab fixes the problem, but that doesn’t work either.
Some backstory information that may help in fixing this is when I got the VPS it had a base debian installation. The service owner told me to install Plex first then quickbox to ensure Plex would work. So I installed Plex claimed it and it was working with no problems. Then I installed quickbox and after the reboot Plex wouldn’t start back up. So I eventually uninstalled it and tried manually installing it many times since then to face these problems I’ve described above.
Any help and advice is greatly appreciated.
Thanks

Just do a bit of a rewind.

  1. stop PMS
  2. SSH tunnel to it and delete Preferences.xml. Leave the tunnel open
  3. Sign out of Plex in your browser window
  4. Start PMS
  5. Now use the browser side of the tunnel and set it up. It will sign in and auto-claim together
1 Like

Thanks for the advice, I was unaware of the Preferences file and that saves me from uninstalling and reinstalling all the time. So I tried this in both my main browser and a private tab. Signing in at the setup as well. I also tried having “allow me to access the files outside my home” selected and unselected. Then upon pressing Next it spins for a while before displaying “There was a problem saving these settings.”

If log files or something might help let me know. I’ll try to see how to download them.

Browser tabs keep different session cookies / credentials. What is working in one, might not work in another because all that info on the address line has changed.

If you can’t save your settings, there’s another issue.

I definitely need to see the log files for that.

Ok I’ve attached the log and the DLNA as well since I’m not sure what all you need. If you need more let me know.
Just so you know as well I’ve deleted my cookies many times as I that seemed a consistent fix in my googling yet it hasn’t helped me.

Please try that again. Grab the entire contents of the Logs directory, as a ZIP file, and attach it using Document Attach above.

Ok, sorry it took a bit. The whole log file is attached as a zip.

Ok… I see how sideways it’s going.

You are having serious networking issues. First off: DNS lookup failures. This is a VPS provider issue…

Mar 27, 2017 21:51:45.298 [0x7f7dabfff700] ERROR - Error issuing curl_easy_perform(handle): 6

After they have your networking resolved, do the following (start fresh)

  1. Stop plex
  2. sudo rm -rf /var/lib/plexmediaserver/Library
  3. Start plex
  4. in the browser tab of your computer reopen the SSH tunnel
  5. In your browser, while the ssh tunnel is open. http://127.0.0.1:8888/web (where 8888 is tunneled to 32400 on the remote).

Ahh, kinda figured. Thanks a lot. I’ll message my provider and work things out.

My add blocker (Adguard) was preventing me to claim server after updating it. I configured my Adguard to accept all incoming on plex and it fixed my problem. Mind you i did everything imaginable for 2 weeks to correct it before realising to check adguard. Was doing my head in big time. I was surprised that no one here or on all the plex group pages im involved in never suggested it

1 Like