Cannot claim server from Ubuntu server

Server Version#: 1.15.4.993
Player Version#: (n/a-I can’t get that far.)
Host: Ubuntu Server 64-bit 18.04.2 LTS

I’d previously opened forum (HTTP)//forums.plex.tv/t/version-1-15-4-993-cant-claim-my-server/409093. I abandoned that post when I decided to install on a different server that I stood up specifically for the purpose of hosting a Plex Media Server. However, I am experiencing the same problem in that the claim function is failing and the only things in common are that both hosts are Ubuntu (although one was a 32-bit desktop and the new one is a 64-bit server) and both are on my home network. In that prior post, one of the techs pointed out multiple instances of this error:
[0xa7aeeb40] DEBUG - HTTP requesting POST (HTTP)//plex.tv/api/claim/exchange?token=xxxxxxxxxxxxxxxxxxxxcUxdf6
[0xa7aeeb40] ERROR - Error issuing curl_easy_perform(handle): 28

Here is what I’ve tried on my new server to make the claim work:

Following other posts, I’ve tried the claimpms.sh and the results are:


  • Script to claim a Plex Media Server
  • Will prompt for
  • * plex.tv username
    
  • * plex.tv password
    
  • * IP Address of your unclaimed Plex Media Server
    
  • Made by dane22, a Plex community member
  • And Mark Walker/ZiGGiMoN, a Plex hobbyist
  • Version 1.1.0.0
  • To see the manual, please visit (HTTP)//github.com/ukdtom/ClaimIt/wiki

plex.tv Username: tanveerspence@gmail.com

plex.tv Password:
plex.tv Password Repeated:
IP Address of PMS server: 127.0.0.1
Comparing entered passwords
Comparing entered passwords ok
Validating IP address
Getting PMS Server Identifier
Getting PMS Server Identifier ok
Getting User Token from plex.tv
Getting User Token from plex.tv ok
Getting PMS Claim Token
Getting PMS Claim Token ok
Claiming server
Fatal error happened
HTTP returned Status 500

I’ve also tried via the web client where the web client is opened on a Windows 10 desktop computer on my home network. I first setup a secure tunnel:
ssh -l admin 192.168.1.3 -L 8888:localhost:32400

Then open a Google Chrome browser on the Windows 10 desktop and go to URL (HTTP)//localhost:8888/web. I then enabled verbose logging and attempted to claim my server from the browser. I’m attaching the logs from this attempt.

Lastly, I’ve also attempted the following resolution from my prior post, but still have this failure:
Sign the browser out of Plex in your Plex/web app if signed in.
Stop Plex
Delete file “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml”
Start Plex
Open an incognito window
Now open (HTTP)//192.168.1.3:32400/web in that new window.

See Wiki Entry below

With your response, you lead me to the solution and the problem was with Ubuntu 18.04. So this issue can be closed. Thanks again for your help.

Care to share, so others might benefit?

Absolutely, I’ll share.

I isolated the problem by using these 2 pings on my Ubuntu Server 18.04:
ping -c 1 ping-test.net
ping -c 1 8.8.8.8
The first experienced a 10 second delay before giving a response; the second experienced virtually no delay before giving me a response. That led me to an article I found via Google where the steps were:

  1. sudo apt install resolvconf
  2. sudo nano /etc/resolvconf/resolv.conf.d/head and update the file to:
    nameserver 8.8.4.4
    nameserver 8.8.8.8
  3. sudo service resolvconf restart

I was able to repeat this ping without any delay now:
ping -c 1 ping-test.net

So I went back to my Plex Media Server where I was able to claim my server without any problems.

3 Likes

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