# Server registers twice and Plex.tv access doesn't work

**URL:** <https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456>\
**Category:** Remote Access\
**Tags:** server-linux\
**Created:** [August 26, 2019, 12:28pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456 "2019-08-26T12:28:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![elfenars](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elfenars/32/125675_2.png) [@elfenars](https://forums.plex.tv/u/elfenars)\
**Post date:** [August 26, 2019, 12:28pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/1 "2019-08-26T12:28:24Z")

</div>

Server Version#: 1.16.3.1402  
Player Version#: Whatever the version is that comes with PMS  
The logs don’t really show any errors either with connections or PMS internals otherwise, so I won’t upload them right now, but I can in case you want.

What happens when I use the server direct URL (server IP and port):

1. New fresh PMS install
2. Sign into the server
3. Server works fine, but for some reason a second server with the same name shows up in list as “unable to connect”.
4. In devices list, only one server shows.
5. In servers list (under “Web Client” section), the second server shows so I click on the (non-working) duplicate server and remove it.
6. Come back to server URL, second server shows up again.

What happens when I connect via [plex.tv](http://plex.tv):

1. I sign in and click launch
2. Both servers show up as “unable to connect”
3. Cry

I have a transparent port forward from a public port to 32400 to enable remote access. Which technically works because when I open the public URL and forwarded port the server shows up (but with a duplicate server in the list). When I say “transparent” means that I’m not doing anything fancy and as far as I know there’s no headers being dropped or websockets limitations to any connections.

When I open it via [plex.tv](http://plex.tv) both servers look like they are down.

My Plex setup never had problems (not with server remote access or registration) before. And this is the first time in around 3 years this happens. My machine setup hasn’t changed (distro, networking, etc)

I thought there might be some conflict with the local database or the Preferences.xml file. This is why I did a clean install of PMS. Problem still happens.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 26, 2019, 12:48pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/2 "2019-08-26T12:48:22Z")

</div>

Would you please go into the **Logs** directory on the host and make a **tar.gz** of everything there?

Then post that tarball here and I’ll look at it.

---

<div class="post-metadata">

**Author:** ![elfenars](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elfenars/32/125675_2.png) [@elfenars](https://forums.plex.tv/u/elfenars)\
**Post date:** [August 26, 2019, 1:06pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/3 "2019-08-26T13:06:13Z")

</div>

[logs.tar.gz](https://forums.plex.tv/uploads/short-url/wb3oIIImMLsQmkCxiElmc7Qv9OZ.gz) (3.6 MB)

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 26, 2019, 1:12pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/4 "2019-08-26T13:12:10Z")

</div>

would you please be so kind as to turn all the VERBOSE logging off?

It logs so much data that we lose what is needed at this level. The buffer is only 26MB in size.

DEBUG on  
VERBOSE off

Restart PMS

Wait 2 minutes

Collect logs again.

---

<div class="post-metadata">

**Author:** ![elfenars](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elfenars/32/125675_2.png) [@elfenars](https://forums.plex.tv/u/elfenars)\
**Post date:** [August 26, 2019, 1:12pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/5 "2019-08-26T13:12:33Z")

</div>

Sure thing.

---

<div class="post-metadata">

**Author:** ![elfenars](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elfenars/32/125675_2.png) [@elfenars](https://forums.plex.tv/u/elfenars)\
**Post date:** [August 26, 2019, 1:24pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/6 "2019-08-26T13:24:55Z")

</div>

[logs.tar.gz](https://forums.plex.tv/uploads/short-url/ylkSXcxSdLkii2x8hNrXHk6EA8e.gz) (3.6 MB)

There’s still some verbose entries, but most at the bottom is just debug

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 26, 2019, 1:35pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/7 "2019-08-26T13:35:13Z")

</div>

You forgot to restart PMS after setting DEBUG mode.

Each restart creates a new log file .

What I’m looking for occurs within the first 2 minutes after startup.

---

<div class="post-metadata">

**Author:** ![elfenars](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elfenars/32/125675_2.png) [@elfenars](https://forums.plex.tv/u/elfenars)\
**Post date:** [August 26, 2019, 1:36pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/8 "2019-08-26T13:36:13Z")

</div>

Will do.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 26, 2019, 1:37pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/9 "2019-08-26T13:37:22Z")

</div>

Followup: Did you enable transcoder VERBOSE logging?

---

<div class="post-metadata">

**Author:** ![elfenars](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elfenars/32/125675_2.png) [@elfenars](https://forums.plex.tv/u/elfenars)\
**Post date:** [August 26, 2019, 1:37pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/10 "2019-08-26T13:37:51Z")

</div>

I think so, PMS is restarting, you want it on or off?

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 26, 2019, 1:38pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/11 "2019-08-26T13:38:41Z")

</div>

That also can be debug. we rarely need / want it verbose. Only time to use it is when testing new codecs

---

<div class="post-metadata">

**Author:** ![elfenars](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elfenars/32/125675_2.png) [@elfenars](https://forums.plex.tv/u/elfenars)\
**Post date:** [August 26, 2019, 1:39pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/12 "2019-08-26T13:39:30Z")

</div>

Yeah I just enabled everything I could get to debug. I’ll turn it off and restart again.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 26, 2019, 1:40pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/13 "2019-08-26T13:40:33Z")

</div>

Thanks.

DEBUG is the default. VERBOSE is just too verbose to do anything but lose tons of data unless you’ve configured larger buffers.

In VERBOSE mode, you’ll never exceed 2 minutes of elapsed time due to that default buffer size

---

<div class="post-metadata">

**Author:** ![elfenars](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elfenars/32/125675_2.png) [@elfenars](https://forums.plex.tv/u/elfenars)\
**Post date:** [August 26, 2019, 1:45pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/14 "2019-08-26T13:45:25Z")

</div>

[logs.tar.gz](https://forums.plex.tv/uploads/short-url/ukuTWULrIZdLSKX4Pmr5gOz7xxD.gz) (3.4 MB)

I only saw another logging level in the “Web Client” segment and it was already disabled.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 26, 2019, 1:48pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/15 "2019-08-26T13:48:03Z")

</div>

Thanks for those logs. I see what I need to see.

It’s trying to authenticate and is being denied. Is the account correct for this server ?

```auto
Aug 26, 2019 13:40:14.576 [0x7f1ea988b700] DEBUG - EventSource: Failure in ParseHeader: HTTP/1.1 403 Forbidden
Server: nginx
Date: Mon, 26 Aug 2019 13:40:14 GMT
Content-Type: text/html
Content-Length: 162
Connection: close

<html>
<head><title>403 Forbidden</title></head>
<body bgcolor="white">
<center><h1>403 Forbidden</h1></center>
<hr><center>nginx</center>
</body>
</html>
 (0 - Success).
Aug 26, 2019 13:40:14.576 [0x7f1ea988b700] ERROR - EventSource: Retrying in 15 seconds.

```

---

<div class="post-metadata">

**Author:** ![elfenars](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elfenars/32/125675_2.png) [@elfenars](https://forums.plex.tv/u/elfenars)\
**Post date:** [August 26, 2019, 1:50pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/16 "2019-08-26T13:50:18Z")

</div>

I logged in the server the first time with my username:password without problems.  
Same when I log in into the web player, so I don’t know where this may be coming from, is there a place I can change something?

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 26, 2019, 1:51pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/17 "2019-08-26T13:51:10Z")

</div>

Settings - Server - General - (Show Advanced tab)

You can sign the server out and re-claim it.

---

<div class="post-metadata">

**Author:** ![elfenars](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elfenars/32/125675_2.png) [@elfenars](https://forums.plex.tv/u/elfenars)\
**Post date:** [August 26, 2019, 1:51pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/18 "2019-08-26T13:51:41Z")

</div>

Will do, should I restart after?

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 26, 2019, 1:52pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/19 "2019-08-26T13:52:23Z")

</div>

I would just be be safe.

Should this fail, I will next suspect the actual file ownership / permissions in **/var/lib/plexmediaserver**

**EDIT: Need to step away a bit… will return asap**

---

<div class="post-metadata">

**Author:** ![elfenars](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elfenars/32/125675_2.png) [@elfenars](https://forums.plex.tv/u/elfenars)\
**Post date:** [August 26, 2019, 2:05pm UTC](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456/20 "2019-08-26T14:05:26Z")

</div>

Me too, I’ll try again in about 1hr.

[Next page](https://forums.plex.tv/t/server-registers-twice-and-plex-tv-access-doesnt-work/452456.md?page=2)
