Server is out of date .09.11.5 - Anyone have a working solution

Environment: QNAP TVS-EC1080 w/ .09.11.14 manually installed as the QNAP app store was out of date - pretty sure that is the latest.  Connected locally on our wired network.

 

I cannot get the XBOX app to work.  Every time I try to connect it complains that I need a later version.  I am pretty sure .09.11.14 > .09.11.5 so I have no clue what is preventing this from working. I searched the forums and it appears others have this issue but could not find any suggestions other than have the latest version and reboot which I have done countless times.

 

I tried removing and re-downloading the xbox app multiple times (but it appears to remember my previous credentials when it attempts to connect so I am unsure if this is a completely "new" install and then always fail). 

 

I just purchased Plex a week ago, I bought the premium pass for my IPhones and Windows 8.1 and Windows 8.1 RT and so I can use this on my xbox.  I did not realize I needed to spend the $4.99 multiple times for each of my devices and there was no way to try this before purchase.  All we want to do is watch a movie on our TV.  My family is very unhappy that I have spent days trying to get this to work and we still can't use our TV. 

 

Help Please.

 

I tried a second xbox and it failed also.  I am logging in using my account (not using the pin) when I install.  

It may not be that it thinks your server is out of date, it may be more that your server just isn't detected at all.

This support article is linked from the 360 FAQs sticky and deals with why your server wouldn't be detected:

https://support.plex.tv/hc/en-us/articles/204604227

But basically in the server settings under connect do you have 2 green check marks?

![post-182619-0-37997800-1426242111.jpg|601x143](upload://uL8zM66f67nHuRlfvXllja83kVC.jpg)

An example of setting up port forwarding on my router looks like this:

A server on 192.168.1.5, port 32401 selected in the connect page being forward from the external side to the local server.

![post-182619-0-37813700-1425048510.jpg|690x216](upload://8XeFrbsOyIv6sDVImF5w7Sb0R4z.jpg)

I don't have green on the server is mapped to port.  Every one of our other devices works correctly (for access from the public internet we use a VPN) - we don't use the plex.tv discovery approach.  I assumed by logging in with my account rather than using the PIN I didn't need Plex.tv to communicate with our server and all traffic would be routed within our own network..  

For security reasons, I don't want inbound ports open and just have Plex entirely internal.  

Scott

The Xbox needs to use the Plex servers to get your local server ip addresses and such from the way I understand it and also to verify plex pass. It won't work if your not connected to the plex servers. So if you don't want open ports, then the new Xbox apps aren't going to work for you. Sorry.

I opened the port 32400 and verified it with www.yougetsignal.com that the port is open.  Plex is still not connecting.  (I port forwarded external 32400 to internal 32400).  

I opened the port 32400 and verified it with www.yougetsignal.com that the port is open.  Plex is still not connecting.  (I port forwarded external 32400 to internal 32400).  

Did you click to box to manually specify a port and type in 32400 on the connect page?

When you don't click the box plex uses UPNP which uses a random port which may work sometimes and may not work other times.  But once you check the box you simply put whatever external port you specified in the box.

Yes.  It is checked and 32400 is supplied.  

Just curious, if I try to navigate to http://plexserverip:32400 I get a 401, unauthorized error. Should there be a loadable resource at that address?  I tried this from my internal network.

Also, I just tried "launch" from plex.tv and it opened my server at the address, http://plex.tv/web/app(even though I am showing no green "connect" within my plex dashboard).  Is it possible the plex dashboard is not properly updated.  (I will try my xbox again later)

Actually it doesn't load.  They had the two user profiles to choose from but after choosing a profile, it says it can't contact the server.

As an experiment I enabled uPnP instead of manually configuring the ports.  Trying to connect opens up the port on my router but plex still fails to connect with the error "There was a problem connecting to your server".  

Related (I believe) logs:
 
Mar 13, 2015 14:40:37 [0xee7ffb90] DEBUG - NAT: Initializing NAT-PMP, success=1
Mar 13, 2015 14:40:37 [0xee7ffb90] DEBUG - NAT: Finding public address failed the first way, switching.
Mar 13, 2015 14:40:37 [0xee7ffb90] DEBUG - NAT: Switching to UPnP strategy.
Mar 13, 2015 14:40:37 [0xee7ffb90] DEBUG - NAT: Creating NATUPnPPuncher.
Mar 13, 2015 14:40:37 [0xee7ffb90] DEBUG - NAT: Initialized UPnP, result: Not an IGD device
Mar 13, 2015 14:40:37 [0xee7ffb90] DEBUG - HTTP requesting to: http://plex.tv/pms/:/ip
Mar 13, 2015 14:40:37 [0xee7ffb90] DEBUG - MyPlex: Got public IP from http://plex.tv:75.XXX.XXX.XXX
Mar 13, 2015 14:40:37 [0xee7ffb90] DEBUG - NAT: Obtained public address of 75.XXX.XXX.XXX (failed: 0 myPlex: 1).
Mar 13, 2015 14:40:37 [0xee7ffb90] DEBUG - NAT: Checking for change in address: old was  and new is 75.XXX.XXX.XXX.
Mar 13, 2015 14:40:37 [0xee7ffb90] INFO - NAT: Mapping changed 75.XXX.XXX.XXX:32400 -> 10.0.XXX.XXX:32400
Mar 13, 2015 14:40:37 [0xee7ffb90] DEBUG - It took 0.000000 sec to serialize a list with 3 elements.
Mar 13, 2015 14:40:37 [0xee7ffb90] DEBUG - MyPlex: Sending Server Info to myPlex (user=xxx@xxxx.com, ip=, port=32400)
Mar 13, 2015 14:40:37 [0xee7ffb90] DEBUG - HTTP requesting to: https://plex.tv/servers.xml?auth_token=xxxxxxxxxxxxxxxxxxxx
Mar 13, 2015 14:41:37 [0xee7ffb90] ERROR - Error issuing curl_easy_perform(handle): 52
Mar 13, 2015 14:41:37 [0xee7ffb90] DEBUG - MyPlex: Published Mapping State response was -52
Mar 13, 2015 14:41:37 [0xee7ffb90] WARN - MyPlex: Invalid response when mapping state (code=-52): 
Mar 13, 2015 14:41:37 [0xee7ffb90] DEBUG - MyPlex: Last published value didn't change, we're done.
Mar 13, 2015 14:41:37 [0xee7ffb90] DEBUG - NAT: Updating mapping complete in thread 0xefc380c0.

Just curious, if I try to navigate to http://plexserverip:32400 I get a 401, unauthorized error. Should there be a loadable resource at that address?  I tried this from my internal network.

Also, I just tried "launch" from plex.tv and it opened my server at the address, http://plex.tv/web/app(even though I am showing no green "connect" within my plex dashboard).  Is it possible the plex dashboard is not properly updated.  (I will try my xbox again later)

It should be plexserverip:32400/web (I still use plexserverip:32400/manage but it redirects to web anyway)

To get just a basic see if it works, you can goto canyouseeme.org and type in your port to see if it can get through your router.  As long as it is open it shouldn't really matter what the connect page says.  But like you tried, if you can't connect to your server from plex.tv when clicking launch the xbox is going to have trouble pulling the server information.  It won't stream remotely, but it just needs the server information to locate the server.

I understand where the site is located.

In our previous version of plex, going to the root of the site loaded an XML file. Now it generates an authorization failure.  I want to make sure that is not the issue.

My ports are open. I tested them at the site. I also tried uPnP and watched Plex open the ports in my router and it still did not work.  I doubt it is a port issue.  Something is wrong with plex itself.  I have 4 x-boxes in my house and none work.  Connecting with my android and iphones (via the local network address or over VPN) work great.  We are planning a party tomorrow night so I really would like to get this working.

Thanks,
Scott

In our previous version of plex, going to the root of the site loaded an XML file. Now it generates an authorization failure.  I want to make sure that is not the issue.

Yes the base url should still load the XML.

---

Normally, when I have seen the 401 popup it has been during 2 occasions. 

1)The server was just installed and you need to access it locally to finish the initial setup

2)A setting was enabled during install that causes authentication checks.  I have mostly seen this with the FreeNAS build

The main solution I have seen for either case is to ssh tunnel into the server and access it via the localhost or 127.0.0.1 instead of the server IP.  But since you're already able to access the server via the normal web manager, I have no idea why you would be getting 401'd.

Ok.  I reinstalled Plex from scratch.

The moment I log into Plex using my plex account -  the root page http://myplexdomain:32400 goes from an xml file to 401 unauthorized.

Is that not supposed to happen?  How do I fix it since I have to log in to get my plex media account associated.

If I log out, the root page returns to XML.

Immediately after logging in my server can connect.  But the moment I add my movies folder (it is a subfolder in the qnap built in multimedia directory), I lose the connection to the plex server.  

I repro;ed this a few times.  I add my movie directories the connection is lost; I remove the move directories, the connection is re-enabled.   

Also, not sure if it is related, but my QNAP is a member of a domain controller (is there a permission issue somewhere)?

Is there some permissioning issue that needs to be fixed?

I am not sure if logging in is triggering a wierd authentication side effect.  But on the server settings under connect and advanced options there is a check box for require authentication on local networks.  If this is getting triggered it might be what is causing you to lose access to some functions when signed in. This article talks about it more:

https://support.plex.tv/hc/en-us/articles/200890058-Server-Security-Local-network-authentication

But beyond that, I think you'll need help from someone with more knowledge of the authentication system of Plex.

I don't know if your domain controller is a problem, I know on the FreeNAS/BSD issues the problem was when Plex was put into a jail and losing the loopback address.  So I don't know if it's related at all.

Ok. Experimented some more. I lose my connection the moment I add a movie directory.

Also, in my reinstall I am no longer getting any meta-data (my TV shows and movies are not downloading meta-data although it is all being reported as scanned).  I am very computer savy but know little about using Linux based systems.  I am now past 15 hours experimenting with this and it is now working worse than before.  

I purchased the QNAP box entirely for enabling our multimedia library and am extremely frustrated (my family is really upset as I already ruined one get together and am probably cancelling my son's movie night as we couldn't get any movies to play and every night for the past week I have been experimenting and cursing at the system).  . Outside of Qnap's built-in software I am running nothing else on the box but plex.

How do I get more help with this?  

UPDATE - Movie meta-data just started to download after a reboot - still can't get connection to work again.

To Summarize:

Device: QNAP TVS-EC1080

The port 32400 is opened (and checked in the UI). This has been confirmed using an external port analyzer.

My QNAP is a member of a domain controller.  

Connection to XBox fails probably because my Plex Server can't connect to plex.tv.

1) Fresh install - XML file is displayed at root.

2) After log-in I get a 401 error at root but can connect to the server

3) If I add my movie directory, I get disconnected from server (removing the directory reconnects me).  The TV Shows directories do not exhibit this behavior.

I have 2 movie subdirectories within the Multimedia share on a QNap Box.  These directories do play fine on the web interface and all other devices (iphone, android) when connected via the local network as well as via a VPN (essentilaly local network).

How can a directory cause the server connection to fail?  Is there any script I can run to guarantee any permissions necessary by Plex on the directory are set (just speculating that it might be a permissions issue even though the movies play just fine locally; open to other idea).

Thanks.

How can a directory cause the server connection to fail?  Is there any script I can run to guarantee any permissions necessary by Plex on the directory are set (just speculating that it might be a permissions issue even though the movies play just fine locally; open to other idea).

You can try using from the base media/movie directory after SSH'ing in:

"chmod -R 777 * " (Extra space after asterisk for readability) 

This will put read write execute for all 3 groups (owner, group, other).  On a shared environment you don't want to do this, but if this is only for media storage it's not going to hurt anything.  Otherwise, it is a matter of seeing what permissions are set "ls -l", who the current owner/group are, and either change plex to the owner or adding plex to the group, which may still require setting permissions.