Some users see server as undefined

Server Version#: 1.14.1.5488
Player Version#: 3.77.4

I have five managed users defined on my server. Suddenly 3 have them are not working correctly. When I switch to them, I get the following message:

The server “undefined” is unreachable.

There are no servers listed to choose from. I tried creating a new user and it works fine, so in the worst case I could just delete and recreate the 3 that aren’t working. It just means they will lose all their viewing history.

I’m using the web player, but we’re experiencing the same problem in the iPhone app as well.

1 Like

Did you ‘Leave Home’?
Because if you as the admin do that, your Home is destroyed and all managed users with it.

No, I did not. As mentioned, the problem is only affecting 3 of 5 users.

Is there a log file that might shed some light on what’s happening when switch to one of the problem users?

I have already filed your issue. Let’s wait at least until monday so the guys can take a look.

Update: I’m no longer seeing the message about “undefined” server; now it just acts like it can’t find a server. Still just with the same 3 users. See the screenshot below. The screenshot is from the web app on a Chrome browser in Windows 10.

Also I don’t know if this is related or if I should be opening a separate thread, but I downloaded the latest version of the Plex Media Player on Friday night, and now it isn’t working for any of the managed users (even the ones I’ve created new). Similar behavior where I just see “Looking for servers…”

Hey,

I’m having this issue too… Any resolutions as of yet?

3 Likes

No resolution. It’s only gotten worse (and weirder) for me.

I think the problem is the latest version of Plex Media Player for Windows. But I can find no pattern to the issues I’m experiencing. For instance:

  • On the computer with PMS, logged into my (admin) Windows user account, it works fine for all Plex users.
  • On the same computer logged in under a different Windows account (standard user), it works for no Plex users. (Some users can log in but can’t navigate past the home screen. Clicking on a library name in the left pane just navigates back to the home screen.)
  • On the same computer logged in under yet another Windows account (standard user), it works fine for some Plex users and not others.

Running on a different computer (my laptop), it again works for all users.

It’s worth pointing out that some of these are new Plex user accounts I created since the problem started happening. The ones that I reported the original problem on don’t work at all… regardless of which player or device I use. (I still think these account were somehow screwed up by the PMP player.)

This could be the issue. I assume you are “switching” often between Windows user accounts, without signing out of the previous user account first.

Plex is running on Windows under a “user” context. What this means is that all its data are stored under the data folder of this particular Windows user. If you are switching to a second Windows user account, you can end up starting Plex server a second time, but now using a different data folder. (and still conflicting with the already running Plex instance of the other windows user account).

If you have several Windows user accounts, you must make sure that:

  • After bootup, always the same Windows user account is logged in first
  • Make sure that Plex server is never started under other Windows user accounts. Inspect the tray icon. It must only be present under one Windows user account.
    If it is there under other users as well, disable the autostart of Plex server (right-click on the Plex tray icon).
  • when performing updates of Plex server, make sure to only perform them when logged into the “right” Windows user account

Under these circumstances, you should consider running Plex as a system service.

It is perhapo

I already run Plex as a service. I’ve run it this way for four or five years without issue.

I took a look at the logs for Plex Media Player to see if it would tell me anything. The only thing I noticed is that when you switch users, it attempts to make a call to plex.tv to get server names. This call includes the account ID of the person logging in.

Successful call:
Note at the bottom the message that it found “SilverStone Media PC” (the name of my Plex server).

2019-02-17 16:00:22 [ INFO  ] JS: %c[CloudServerEventManager] Opening server event connection to plex.tv at wss://pubsub.plex.tv/sub/websockets/22257293/i9px2jwkqvm90n9kqepg2pgb?X-Plex-Token=REDACTED 
2019-02-17 16:00:22 [ DEBUG ] SettingsComponent.cpp @ 140 - Updated possible values for: "updateChannel" to (QVariant(QVariantMap, QMap(("title", QVariant(QString, "Public"))("value", QVariant(int, 0))))) 
2019-02-17 16:00:22 [ INFO  ] JS: %c[Connections] Testing connection for [Loopback] at http://127.0.0.1:32400/media/providers 
2019-02-17 16:00:22 [ INFO  ] JS: %c[Connections] Testing legacy connection for [Loopback] at http://127.0.0.1:32400 
2019-02-17 16:00:22 [ INFO  ] JS: %c[Servers] Populate any server chose plex.tv where servers = [Loopback], plex.tv 
2019-02-17 16:00:22 [ INFO  ] JS: %cNo type was found for undefined 
2019-02-17 16:00:22 [ INFO  ] JS: %c[Servers] SilverStone Media PC was found through plex.tv 
2019-02-17 16:00:22 [ INFO  ] JS: %c[Servers] Populate any server chose SilverStone Media PC where servers = SilverStone Media PC

Unsuccessful call:

2019-02-17 16:05:06 [ INFO  ] JS: %c[CloudServerEventManager] Opening server event connection to plex.tv at wss://pubsub.plex.tv/sub/websockets/12170686/i9px2jwkqvm90n9kqepg2pgb?X-Plex-Token=REDACTED 
2019-02-17 16:05:06 [ DEBUG ] SettingsComponent.cpp @ 140 - Updated possible values for: "updateChannel" to (QVariant(QVariantMap, QMap(("title", QVariant(QString, "Public"))("value", QVariant(int, 0))))) 
2019-02-17 16:05:06 [ INFO  ] JS: %c[Connections] Testing connection for [Loopback] at http://127.0.0.1:32400/media/providers 
2019-02-17 16:05:06 [ INFO  ] JS: %c[Connections] Testing legacy connection for [Loopback] at http://127.0.0.1:32400 
2019-02-17 16:05:06 [ INFO  ] JS: %c[Servers] Populate any server chose plex.tv where servers = [Loopback], plex.tv 
2019-02-17 16:05:06 [ INFO  ] JS: %cNo type was found for undefined 
2019-02-17 16:05:06 [ INFO  ] JS: %c[Servers] Waiting for initial servers = [Loopback] 
2019-02-17 16:05:06 [ INFO  ] JS: %c[Servers] Found 1 resources through plex.tv 
2019-02-17 16:05:06 [ INFO  ] JS: %c[Servers] Waiting for initial servers = [Loopback] 
2019-02-17 16:05:07 [ INFO  ] JS: %cNo type was found for undefined 
2019-02-17 16:05:07 [ INFO  ] JS: %c[Metrics] Updating session last interaction time 
2019-02-17 16:05:07 [ INFO  ] JS: %c[CloudServerEventManager] Opened server event connection to plex.tv at wss://pubsub.plex.tv/sub/websockets/12170686/i9px2jwkqvm90n9kqepg2pgb?X-Plex-Token=REDACTED 
2019-02-17 16:05:07 [ INFO  ] JS: %c[Connections] [Loopback] is unavailable at http://127.0.0.1:32400/media/providers (Status 0) 
2019-02-17 16:05:07 [ INFO  ] JS: %c[Connections] [Loopback] is unavailable at http://127.0.0.1:32400/media/providers (Status 0) 
2019-02-17 16:05:07 [ INFO  ] JS: %c[Connections] All connections to [Loopback] failed 
2019-02-17 16:05:07 [ INFO  ] JS: %c[Servers] Found all servers = plex.tv 
2019-02-17 16:05:07 [ INFO  ] JS: %c[Primary Server] Waiting for any eligible server to connect 
2019-02-17 16:05:07 [ INFO  ] JS: %c[Primary Server] Waiting for any eligible server 
2019-02-17 16:05:07 [ INFO  ] JS: %c[Companion] No companion found

I don’t know enough about these logs to do anything but guess. I have no idea why the first account works fine, and the second one fails to find the server. The one thing that looks suspect to me is both entries contain a line that says “No type was found for undefined”, which is similar to a message I sometimes see in the app that it “can’t find the server named undefined”.

2 Likes

I managed to get a screenshot of the “undefined” error message:

3 Likes

I am getting the same thing, but when I attempt to play anything from the server itself. The other strange thing is that it’s also showing double of every play. Meaning user 1 watching X the server shows 2 things playing. Only have one user logging in.

2 Likes

image

1 Like

I didn’t think till after I posted this to try a different browser. This might be hard to believe but I have the issue in Chrome but not Edge.

1 Like

I get the same issue.

WebVersion: 3.83.1
Server: 1.15.1.710

First I got this “undefined” Message and then after some site reloads (F5) I got this weird situation with the double entries like brentbarnett got.

I’m at work now and dont have acess to anylog files.

I made a screenrecording of whats going on. unfortunately I did not record the cursor which it makes harder to follow what happen.

Video: https://www.youtube.com/watch?v=vl70Z5duK2Y

And now I have it on Edge.

Just jumping in to mention I’m having this issue too for about the last week or two. I’m running my Plex Media Server via a QNAP QPKG, so this appears to be pretty wide-spread.

Sometimes, it causes the whole server to crash.

1 Like

I am getting this exact issue as well for about the same time frame. Plex Media Player is running on the same PC as Plex Media Server. The first user to open PMP usually has no problems, but switching Plex accounts (usually from my account to the kids’ managed account) inside PMP often generates this error. It has not occurred in the web interface, or on other Windows PCs in the home running PMP.

Logging out and logging back in sometimes helps, restarting the server sometimes helps. It’s getting very frustrating!

Also, sometimes users get stuck on the “Discover” page, unable to browse libraries, but search still works to find something to watch.

1 Like

Throwing my hat into this one too. It’s a great relief to know this issue isn’t just affecting me as I’ve spent countless hours on this over the past few days!

I’m having the exact symptoms as you’ve mentioned on a brand new install of PMS and PMP…

Hoping an update from the Plex team soon.

I guess this could be some bug from Plex Web.
Which maybe is already fixed in the next version.

So Plex Web is always uptodate if you use the version from app.plex.tv.
But if you use your locale version from the Plex Media Server or from the Plex Media Player you are some versions behind.

Example of the current Plex Web version:
app.plex.tv: 3.89.2
Plex Media Player: 3.83.1
Plex Media Server: 3.83.1

So maybe this issue is only happening on < 3.83.1

1 Like

I think it’s tied to cookies. If I run Edge or Chrome in private I do not get the issues.